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 I configure the repo to build with Clang like this:
rm CMakeCaches.txt CXX=clang CC=clang cmake . make clean make -j
I got:
/usr/bin/ld: ../src/libbux.a(StrUtil.cpp.o): undefined reference to symbol '_ZSt20__throw_length_errorPKc@@GLIBCXX_3.4' /usr/bin/ld: /usr/lib/libstdc++.so.6: error adding symbols: DSO missing from command line clang-11: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [_deps/fetchedbux-build/test/CMakeFiles/test_expand_env.dir/build.make:104: _deps/fetchedbux-build/test/test_expand_env] Error 1 make[1]: *** [CMakeFiles/Makefile2:208: _deps/fetchedbux-build/test/CMakeFiles/test_expand_env.dir/all] Error 2 make: *** [Makefile:103: all] Error 2
Please advice
The text was updated successfully, but these errors were encountered:
I found the solution myself by adding
target_link_libraries(... stdc++)
Sorry, something went wrong.
No branches or pull requests
When I configure the repo to build with Clang like this:
I got:
Please advice
The text was updated successfully, but these errors were encountered: