Hi,
I have cloned the repository, build the configuration with VS-Code und then build the solutions.
Everything is fine, but the cesium-native-tests, I got 4 unresolved Symbols
Do I have to install any additional Libraries for Testing, Catch, absl, …?
I see that there a additional dependencies to a directory ezvcpkg but thies directory is empty.
Need help !
Regards
Rüdiger
Hi @Ruediger_Brand,
Assuming you’re using the latest version of cesium-native from our repo, all the required dependencies should be installed via vcpkg during the cmake configure step. Please share your complete configure and build log and we can likely offer some ideas.
Hi Kevin,
thank you for your response - I’m using a Windows 10 system and VS-Code for the cmake-building. I saw your tip with vcpkg. Setting the basedir EZVCPKG_BASEDIR the third-party libraries are downloaded.
Now I only got the warning
CMake Deprecation Warning at /.ezvcpkg/2024.07.12/scripts/buildsystems/vcpkg.cmake:40 (cmake_policy):
[cmake] Compatibility with CMake < 3.10 will be removed from a future version of
[cmake] CMake.
[cmake]
[cmake] Update the VERSION argument value or use a … suffix to tell
[cmake] CMake that the project does not need compatibility with older versions.
[cmake] Call Stack (most recent call first):
[cmake] build/CMakeFiles/3.31.0/CMakeSystem.cmake:6 (include)
[cmake] CMakeLists.txt:87 (project)
[cmake]
[cmake]
[cmake] CMake Deprecation Warning at /.ezvcpkg/2024.07.12/scripts/buildsystems/vcpkg.cmake:876 (cmake_policy):
[cmake] Compatibility with CMake < 3.10 will be removed from a future version of
[cmake] CMake.
[cmake]
[cmake] Update the VERSION argument value or use a … suffix to tell
[cmake] CMake that the project does not need compatibility with older versions.
[cmake] Call Stack (most recent call first):
[cmake] build/CMakeFiles/3.31.0/CMakeSystem.cmake:6 (include)
[cmake] CMakeLists.txt:87 (project)
And in Visual-Studio (2019) for the test-library:
build-Output:
25>Catch2.lib(catch_matchers_string.cpp.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__std_find_trivial_1" in Funktion ""char const * __cdecl std::_Find_unchecked<char const *,unsigned char>(char const *,char const * const,unsigned char const &)" (??$_Find_unchecked@PEBDE@std@@YAPEBDPEBDQEBDAEBE@Z)".
25>Catch2.lib(catch_reporter_spec_parser.cpp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__std_find_trivial_1".
25>absl_str_format_internal.lib(arg.cc.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__std_find_trivial_1".
25>absl_strings.lib(charconv_bigint.cc.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__std_find_trivial_1".
25>absl_log_internal_log_sink_set.lib(log_sink_set.cc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__std_find_trivial_8" in Funktion ""class absl::lts_20240116::LogSink * * __cdecl std::_Find_unchecked<class absl::lts_20240116::LogSink * *,class absl::lts_20240116::LogSink *>(class absl::lts_20240116::LogSink * *,class absl::lts_20240116::LogSink * * const,class absl::lts_20240116::LogSink * const &)" (??$_Find_unchecked@PEAPEAVLogSink@lts_20240116@absl@@PEAV123@@std@@YAPEAPEAVLogSink@lts_20240116@absl@@PEAPEAV123@QEAPEAV123@AEBQEAV123@@Z)".
25>absl_str_format_internal.lib(arg.cc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__std_find_trivial_2" in Funktion ""private: static bool __cdecl absl::lts_20240116::str_format_internal::FormatArgImpl::Dispatch<wchar_t const *>(union absl::lts_20240116::str_format_internal::FormatArgImpl::Data,class absl::lts_20240116::str_format_internal::FormatConversionSpecImpl,void *)" (??$Dispatch@PEB_W@FormatArgImpl@str_format_internal@lts_20240116@absl@@CA_NTData@0123@VFormatConversionSpecImpl@123@PEAX@Z)".
25>draco.lib(point_cloud.cc.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__std_find_trivial_4" in Funktion ""int * __cdecl std::_Find_unchecked<int *,int>(int *,int * const,int const &)" (??$_Find_unchecked@PEAHH@std@@YAPEAHPEAHQEAHAEBH@Z)".
25>D:\cesium-native\cesium-native\build\CesiumNativeTests\Release\cesium-native-tests.exe : fatal error LNK1120: 4 nicht aufgelöste Externe
25>Die Erstellung des Projekts "cesium-native-tests.vcxproj" ist abgeschlossen -- FEHLER.
Any further tips ?
Do you have examples using cesium-native ?
Regards
Rüdiger