run cmake . then make. I got the following error:
Code: Select all
[ 67%] Building CXX object qCC/CMakeFiles/qCC.dir/fileIO/PVFilter.cpp.o
[ 67%] Building CXX object qCC/CMakeFiles/qCC.dir/fileIO/PlyFilter.cpp.o
[ 68%] Building CXX object qCC/CMakeFiles/qCC.dir/fileIO/BinFilter.cpp.o
/home/paco/3D/CloudCompare/trunk/qCC/fileIO/BinFilter.cpp: In member function ‘virtual CC_FILE_ERROR BinFilter::loadFileV2(QFile&, ccHObject&)’:
/home/paco/3D/CloudCompare/trunk/qCC/fileIO/BinFilter.cpp:228:59: error: cast from ‘ccGenericPointCloud*’ to ‘unsigned int’ loses precision
/home/paco/3D/CloudCompare/trunk/qCC/fileIO/BinFilter.cpp:247:55: error: cast from ‘const ccMaterialSet*’ to ‘unsigned int’ loses precision
/home/paco/3D/CloudCompare/trunk/qCC/fileIO/BinFilter.cpp:263:64: error: cast from ‘NormsIndexesTableType*’ to ‘unsigned int’ loses precision
/home/paco/3D/CloudCompare/trunk/qCC/fileIO/BinFilter.cpp:279:70: error: cast from ‘TextureCoordsContainer*’ to ‘unsigned int’ loses precision
/home/paco/3D/CloudCompare/trunk/qCC/fileIO/BinFilter.cpp:297:58: error: cast from ‘CCLib::GenericIndexedCloudPersist*’ to ‘unsigned int’ loses precision
/home/paco/3D/CloudCompare/trunk/qCC/fileIO/BinFilter.cpp:318:37: error: cast from ‘ccGenericPointCloud*’ to ‘unsigned int’ loses precision
make[2]: *** [qCC/CMakeFiles/qCC.dir/fileIO/BinFilter.cpp.o] Error 1
make[1]: *** [qCC/CMakeFiles/qCC.dir/all] Error 2
make: *** [all] Error 2
Code: Select all
unsigned cloudID = (unsigned)mesh->getAssociatedCloud();
¿Any suggestion?.
Thanks in advance,
Francisco Escarpa.