build] LINK: command "C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\Llvm\x64\bin\lld-link.exe /nologo examples\CMakeFiles\fps.dir\fps.cpp.obj /out:examples\fps.exe /implib:examples\fps.lib /pdb:examples\fps.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:console opengl32.lib D:\github\miyanyan\vcpkg\installed\x64-windows\lib\glfw3dll.lib D:\github\miyanyan\vcpkg\installed\x64-windows\lib\freetype.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST:EMBED,ID=1" failed (exit code 1) with the following output:
[build] lld-link: error: undefined symbol: __kmpc_fork_call
[build] >>> referenced by examples\CMakeFiles\fps.dir\fps.cpp.obj:(main)
[build]
[build] lld-link: error: undefined symbol: __kmpc_for_static_init_4u
[build] >>> referenced by examples\CMakeFiles\fps.dir\fps.cpp.obj:(main.omp_outlined)
[build]
[build] lld-link: error: undefined symbol: __kmpc_for_static_fini
[build] >>> referenced by examples\CMakeFiles\fps.dir\fps.cpp.obj:(main.omp_outlined)
[build] LINK: command "C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\Llvm\x64\bin\lld-link.exe /nologo examples\CMakeFiles\hexgrid_image_rect.dir\hexgrid_image_rect.cpp.obj /out:examples\hexgrid_image_rect.exe /implib:examples\hexgrid_image_rect.lib /pdb:examples\hexgrid_image_rect.pdb /version:0.0 /machine:x64 /INCREMENTAL:NO /subsystem:console opengl32.lib D:\github\miyanyan\vcpkg\installed\x64-windows\lib\glfw3dll.lib D:\github\miyanyan\vcpkg\installed\x64-windows\lib\freetype.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST:EMBED,ID=1" failed (exit code 1) with the following output:
[build] lld-link: error: undefined symbol: __kmpc_fork_call
[build] >>> referenced by examples\CMakeFiles\hexgrid_image_rect.dir\hexgrid_image_rect.cpp.obj:(public: struct sm::vvec<float, class std::allocator<float>> __cdecl sm::hexgrid::resampleImage(struct sm::vvec<float, class std::allocator<float>> const &, unsigned int, struct sm::vec<float, 2> const &, struct sm::vec<float, 2> const &))
[build]
[build] lld-link: error: undefined symbol: __kmpc_for_static_init_8u
[build] >>> referenced by examples\CMakeFiles\hexgrid_image_rect.dir\hexgrid_image_rect.cpp.obj:(public: struct sm::vvec<float, class std::allocator<float>> __cdecl sm::hexgrid::resampleImage(struct sm::vvec<float, class std::allocator<float>> const &, unsigned int, struct sm::vec<float, 2> const &, struct sm::vec<float, 2> const &))
[build]
[build] lld-link: error: undefined symbol: __kmpc_for_static_fini
[build] >>> referenced by examples\CMakeFiles\hexgrid_image_rect.dir\hexgrid_image_rect.cpp.obj:(public: struct sm::vvec<float, class std::allocator<float>> __cdecl sm::hexgrid::resampleImage(struct sm::vvec<float, class std::allocator<float>> const &, unsigned int, struct sm::vec<float, 2> const &, struct sm::vec<float, 2> const &))
[build] [18/124 4% :: 0.294] Linking CXX executable examples\hexgrid_image_onsphere.exe
[build] FAILED: examples/hexgrid_image_onsphere.exe
platform:
win11, clang-cl
openmp version: 5.1
error:
another error: