Currently I checked out the SVN source, run `qmake` in the CloudCompare directory which creates a makefile, and then I type "make". I get the following errors:
Code: Select all
CloudCompare $ make
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.7.4/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.4/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.4/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.4/include -I. -IPCV -ICC/include -IqCC/msvc -IqCC/plugins/qPoissonRecon/PoissonRecon/Src -IqCC -IqCC/db_tree -IqCC/db -IqCC/fileIO -IqCC/db/msvc -IqCC/libs/CCFbo -IqCC/plugins -ICC/qhull/src -ICC/triangle -ICC/src -ICC/test -IqCC/ccViewer -IqCC/libs/qxt -IqCC/plugins/qBlur -IqCC/plugins/qDummyPlugin -IqCC/plugins/qEDL -IqCC/plugins/qHPR -IqCC/plugins/qKinect -IqCC/plugins/qKinect/libfreenect/include -IqCC/plugins/qPCV -IqCC/plugins/qPoissonRecon -IqCC/plugins/qRANSAC_SD -IqCC/plugins/qRANSAC_SD/RANSAC_SD_orig -IqCC/plugins/qRANSAC_SD/RANSAC_SD_orig/MiscLib -IqCC/plugins/qRANSAC_SD/RANSAC_SD_orig/GfxTL -IqCC/plugins/qSSAO -IqCC/plugins/qSSAO/Randomkit -I. -I. -F/usr/local/Cellar/qt/4.7.4/lib -o FloatIlluminationTools.o PCV/FloatIlluminationTools.cpp
In file included from CC/include/CCMiscTools.h:33,
from CC/include/DgmOctree.h:44,
from PCV/IlluminationStructures.h:28,
from PCV/FloatIlluminationTools.h:29,
from PCV/FloatIlluminationTools.cpp:25:
qCC/msvc/stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
Code: Select all
#if !defined(_WIN32) && !defined(WIN32) && defined(__GNUC__)
#include <stdint.h>
#define __int64 int64_t
#endif
If I comment out the #error directive in stdint.h it does not help, although the errors are slightly different.
Any help will be much appreciated.
Thanks,
-k.