We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When im trying to link the library im getting this: ====================[ Build | test_LPC | default ]============================== "C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\cmake\win\x64\bin\cmake.exe" --build D:\Thesis\build --target test_LPC -j 6 [1/1] Linking CXX executable test_LPC.exe FAILED: test_LPC.exe C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\JETBRA~1\CLION2~1.1\bin\mingw\bin\G__~1.EXE -Wl,--whole-archive:C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib CMakeFiles/test_LPC.dir/LPC.cpp.obj CMakeFiles/test_LPC.dir/test_LPC_compatibility.cpp.obj -o test_LPC.exe -Wl,--out-implib,libtest_LPC.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lKFR C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_io.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse41.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx2.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx512.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\mingw\bin/ld.exe: unrecognized option '--whole-archive:C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib' C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\mingw\bin/ld.exe: use the --help option for usage information collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Im using vcpkg, latest clion with integrated mingw, cmake, windows 11 23h2. any ideas?
====================[ Build | test_LPC | default ]============================== "C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\cmake\win\x64\bin\cmake.exe" --build D:\Thesis\build --target test_LPC -j 6 [1/1] Linking CXX executable test_LPC.exe FAILED: test_LPC.exe C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\JETBRA~1\CLION2~1.1\bin\mingw\bin\G__~1.EXE -Wl,--whole-archive:C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib CMakeFiles/test_LPC.dir/LPC.cpp.obj CMakeFiles/test_LPC.dir/test_LPC_compatibility.cpp.obj -o test_LPC.exe -Wl,--out-implib,libtest_LPC.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lKFR C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_io.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse41.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx2.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx512.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\mingw\bin/ld.exe: unrecognized option '--whole-archive:C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib' C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\mingw\bin/ld.exe: use the --help option for usage information collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
it was -Wl, -whole-archive instead of -Wl, --whole-archive after all
-Wl, -whole-archive
-Wl, --whole-archive
Sorry, something went wrong.
No branches or pull requests
When im trying to link the library im getting this:
====================[ Build | test_LPC | default ]============================== "C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\cmake\win\x64\bin\cmake.exe" --build D:\Thesis\build --target test_LPC -j 6 [1/1] Linking CXX executable test_LPC.exe FAILED: test_LPC.exe C:\WINDOWS\system32\cmd.exe /C "cd . && C:\PROGRA~1\JETBRA~1\CLION2~1.1\bin\mingw\bin\G__~1.EXE -Wl,--whole-archive:C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib CMakeFiles/test_LPC.dir/LPC.cpp.obj CMakeFiles/test_LPC.dir/test_LPC_compatibility.cpp.obj -o test_LPC.exe -Wl,--out-implib,libtest_LPC.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lKFR C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_io.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse41.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx2.lib C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_avx512.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ." C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\mingw\bin/ld.exe: unrecognized option '--whole-archive:C:/Users/user/vcpkg/installed/x64-windows/debug/lib/debug/kfr_dsp_sse2.lib' C:\Program Files\JetBrains\CLion 2024.3.1.1\bin\mingw\bin/ld.exe: use the --help option for usage information collect2.exe: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Im using vcpkg, latest clion with integrated mingw, cmake, windows 11 23h2. any ideas?
The text was updated successfully, but these errors were encountered: