-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
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
undefined reference to Poco::DigestEngine #40
Comments
Hi @BlankRain First, we would need a bit more of information, typically the OS, conan versions, etc. I would say that you are hitting the issue pointed in point 5 of Getting Started (https://docs.conan.io/en/latest/getting_started.html) as "important":
Basically conan default profile is using libstdc++ (it is the most compatible one), but you have libstdc++11 as default in your system. Please change the default profile as recommended in the docs, and repeat. Also, it is better if you run the commands, not use the Please let me know if this helps. |
Hello, I'm having the same . Instead of creating a new ticket I'll write here. I hope that's OK.
OS: Debian 10 Here's the profile details
I'm fairly new at C++ and I just wanted to check the package manager options so I have an idea for later, but I'm pretty much got stuck at "getting started". Can you please advise? Thanks! |
Hi @rootifera Did you run Is it possible that you are running in an older distro? (that might have the problem that you still have a libstdc++ standard library instead of the |
I had the same issues as the other two, using Elementary OS 5.0 Juno (Based on Ubuntu 18.04.2) As suggested, I fixed it by editing The entire file:
|
HI @bill-luu Glad that you fixed it. We will be fixing this for Conan 2.0 (now it will be breaking).
|
first,
git clone https://github.com/conan-io/examples.git
and then cd into
libraries/poco/md5
run
./build.sh
got error like that:
md5.cpp:(.text.startup+0x9b): undefined reference to `Poco::DigestEngine::digestToHex[abi:cxx11](std::vector<unsigned char, std::allocator > const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/md5.dir/build.make:83: recipe for target 'bin/md5' failed
make[2]: *** [bin/md5] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/md5.dir/all' failed
make[1]: *** [CMakeFiles/md5.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: