-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The build action for https://github.com/3dJan/gladius_playground/tree/refs/heads/3dJan/prepare_1_2_14 fails to build on windows.
See https://github.com/3dJan/gladius_playground/actions/runs/17896437572 for details.
[361/371] Building CXX object src\api\GladiusLib_component\Implementations\Cpp\CMakeFiles\gladiuslib.dir\Interfaces\gladius_interfaceexception.cpp.obj
[362/371] Building CXX object src\api\GladiusLib_component\Implementations\Cpp\CMakeFiles\gladiuslib.dir\Interfaces\gladius_interfacewrapper.cpp.obj
[363/371] Linking CXX executable tests\unittests\gladius_test.exe
FAILED: [code=4294967295] tests/unittests/gladius_test.exe tests/unittests/gladius_test[1]_tests.cmake D:/a/gladius_playground/gladius_playground/build/tests/unittests/gladius_test[1]_tests.cmake
C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --msvc-ver=1944 --intdir=tests\unittests\CMakeFiles\gladius_test.dir --rc=C:\PROGRA2\WI3CF21\10\bin\1002611.0\x64\rc.exe --mt=C:\PROGRA2\WI3CF21\10\bin\1002611.0\x64\mt.exe --manifests -- C:\PROGRA1\MICROS2\2022\ENTERP1\VC\Tools\MSVC\14441.352\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\gladius_test.rsp /out:tests\unittests\gladius_test.exe /implib:tests\unittests\gladius_test.lib /pdb:tests\unittests\gladius_test.pdb /version:0.0 /machine:x64 /SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup /INCREMENTAL:NO /subsystem:console && C:\Windows\system32\cmd.exe /C "cd /D D:\a\gladius_playground\gladius_playground\build\tests\unittests && "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file D:/a/gladius_playground/gladius_playground/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary D:/a/gladius_playground/gladius_playground/build/tests/unittests/gladius_test.exe -installedDir D
LINK: command "C:\PROGRA1\MICROS2\2022\ENTERP1\VC\Tools\MSVC\14441.352\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\gladius_test.rsp /out:tests\unittests\gladius_test.exe /implib:tests\unittests\gladius_test.lib /pdb:tests\unittests\gladius_test.pdb /version:0.0 /machine:x64 /SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup /INCREMENTAL:NO /subsystem:console /MANIFEST:EMBED,ID=1" failed (exit code 1120) with the following output:
BeamLatticeVoxelAcceleration_tests.cpp.obj : error LNK2019: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits > & __cdecl openvdb::v11_0::operator<<(class std::basic_ostream<char,struct std::char_traits > &,class openvdb::v11_0::MetaMap const &)" (??6v11_0@openvdb@@YAAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@AEAV23@AEBVMetaMap@01@@z) referenced in function "class std::basic_string<char,struct std::char_traits,class std::allocator > __cdecl testing::internal::FormatForComparisonFailureMessage<class std::shared_ptr<class openvdb::v11_0::Grid<class openvdb::v11_0::tree::Tree<class openvdb::v11_0::tree::RootNode<class openvdb::v11_0::tree::InternalNode<class openvdb::v11_0::tree::InternalNode<class openvdb::v11_0::tree::LeafNode<int,3>,4>,5> > > > >,std::nullptr_t>(class std::shared_ptr<class openvdb::v11_0::Grid<class openvdb::v11_0::tree::Tree<class openvdb::v11_0::tree::RootNode<class openvdb::v11_0::tree::InternalNode<class openvdb::v11_0::tree::I
tests\unittests\gladius_test.exe : fatal error LNK1120: 1 unresolved externals
[364/371] Linking CXX executable src\api\GladiusLib_component\Examples\CppDynamic\GladiusLibExample_CPPDynamic.exe
[365/371] Linking CXX executable tests\integrationtests\gladius_integrationtest.exe
[366/371] Building CXX object src\api\GladiusLib_component\Implementations\Cpp\CMakeFiles\gladiuslib.dir\Stub\gladius_gladius.cpp.obj
[367/371] Building CXX object src\CMakeFiles\gladius.dir\io\MeshExporter.cpp.obj
[368/371] Building CXX object src\CMakeFiles\gladius.dir\io\VdbImporter.cpp.obj
ninja: build stopped: subcommand failed.
Error: Process completed with exit code 1.
Btw., if you need to patch openvdb for the fix, please use an overlay port.