Page 1 of 1

Compile Error

Posted: Sat Sep 26, 2020 11:00 am
by simon.michnowicz
Dear Group,
I am assisting some students who are looking at CloudCompare to learn more about parallel programming.
We pulled the latest version from github tonight but got a compile error. We tried several gcc compilers (4.9.3->8.1.0) but this did not help.

/home/sraj0008/cloudcompare/cloud/CloudCompare/libs/qCC_glWindow/src/ccGLWindow.cpp: In member function ‘GLfloat ccGLWindow::getGLDepth(int, int, bool, bool)’:
/home/sraj0008/cloudcompare/cloud/CloudCompare/libs/qCC_glWindow/src/ccGLWindow.cpp:7123:103: error: ‘memcpy_s’ was not declared in this scope

We could convert the memcpy_s to a memcpy call but would like some guidance on the best way to resolve this.
Thanks
Simon Michnowicz

Re: Compile Error

Posted: Sat Sep 26, 2020 9:01 pm
by daniel
Maybe by including <string.h> at the beginning of the file?