☑ Error 2 while compiling CC 2.7 on Ubuntu
Posted: Tue Jul 12, 2016 12:53 am
Hi,
after a bunch of warnings while generating the compilation files with cmake-gui 3.5.1 :
http://pastebin.com/raw/1v15FWXp
It seems to end :
But after that, when I run make the compilation stops at around 44% :
Here are the last lines from the make command stdout :
Any help is greatly appreciated !
Thanks a lot.
I'm on Ubuntu 16.04.
after a bunch of warnings while generating the compilation files with cmake-gui 3.5.1 :
http://pastebin.com/raw/1v15FWXp
It seems to end :
Code: Select all
Generating done
Here are the last lines from the make command stdout :
Code: Select all
[ 43%] Building CXX object libs/qCC_glWindow/CMakeFiles/QCC_GL_LIB.dir/ccGLUtils.cpp.o
/home/username/Downloads/CloudCompare/libs/qCC_io/ShpFilter.cpp: In member function ‘virtual CC_FILE_ERROR ShpFilter::loadFile(QString, ccHObject&, FileIOFilter::LoadParameters&)’:
/home/username/Downloads/CloudCompare/libs/qCC_io/ShpFilter.cpp:1516:17: error: ‘isnan’ was not declared in this scope
if (isnan(zMin))
^
/home/username/Downloads/CloudCompare/libs/qCC_io/ShpFilter.cpp:1516:17: note: suggested alternative:
In file included from /usr/include/c++/5/random:38:0,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:85,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:37,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:41,
from /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1,
from /home/username/Downloads/CloudCompare/libs/qCC_db/ccLog.h:29,
from /home/username/Downloads/CloudCompare/libs/qCC_db/ccSerializableObject.h:22,
from /home/username/Downloads/CloudCompare/libs/qCC_db/ccObject.h:22,
from /home/username/Downloads/CloudCompare/libs/qCC_db/ccHObject.h:22,
from /home/username/Downloads/CloudCompare/libs/qCC_io/FileIOFilter.h:22,
from /home/username/Downloads/CloudCompare/libs/qCC_io/ShpFilter.h:24,
from /home/username/Downloads/CloudCompare/libs/qCC_io/ShpFilter.cpp:20:
/usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
isnan(_Tp __x)
^
libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/build.make:418: recipe for target 'libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/ShpFilter.cpp.o' failed
make[2]: *** [libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/ShpFilter.cpp.o] Error 1
CMakeFiles/Makefile2:467: recipe for target 'libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/all' failed
make[1]: *** [libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 43%] Building CXX object libs/qCC_glWindow/CMakeFiles/QCC_GL_LIB.dir/QCC_GL_LIB_automoc.cpp.o
[ 43%] Linking CXX static library libQCC_GL_LIB.a
[ 43%] Built target QCC_GL_LIB
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Thanks a lot.
I'm on Ubuntu 16.04.