CesiumGS / cdb-to-3dtiles

Convert CDB to 3D Tiles
Apache License 2.0
76 stars 28 forks source link

[root@localhost cdb-to-3dtiles]# cmake --build Build --config Release -j 4 #49

Closed gisspace closed 2 years ago

gisspace commented 3 years ago

../CDBTo3DTiles/libCDBTo3DTiles.a(CDBTo3DTiles.cpp.o):CDBTo3DTiles.cpp:(.text._ZNSt6vectorINSt10filesystem7cxx114pathESaIS2_EE17_M_realloc_insertIJRS2_EEEvN9__gnu_cxx17normal_iteratorIPS2_S4EEDpOT[_ZNSt6vectorINSt10filesystem7cxx114pathESaIS2_EE17_M_realloc_insertIJRS2_EEEvN9__gnu_cxx17normal_iteratorIPS2_S4EEDpOT]+0x254): more undefined references to std::filesystem::__cxx11::path::_M_split_cmpts()' follow //usr/local/lib/libproj.so.19: undefined reference tostd::__cxx11::basic_ostringstream<char, std::char_traits, std::allocator >::basic_ostringstream()@GLIBCXX_3.4.26' collect2: error: ld returned 1 exit status gmake[2]: [Tests/CMakeFiles/Tests.dir/build.make:262: Tests/Tests] Error 1 gmake[1]: [CMakeFiles/Makefile2:2600: Tests/CMakeFiles/Tests.dir/all] Error 2 gmake: *** [Makefile:160: all] Error 2

sanjeetsuhag commented 3 years ago

@gisspace Based on #50, it seems like you are using GCC 10, whereas we have only tested it with GCC 9. Could you please try building with GCC 9 and confirm if the issues you are experiencing still persist?

gisspace commented 3 years ago

thanks,I will try to compile on GCC 9

gisspace commented 2 years ago

I have changed the compilation environment