Compile Error

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
simon.michnowicz
Posts: 1
Joined: Sat Sep 26, 2020 10:48 am

Compile Error

Post 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
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Compile Error

Post by daniel »

Maybe by including <string.h> at the beginning of the file?
Daniel, CloudCompare admin
Post Reply