-
Notifications
You must be signed in to change notification settings - Fork 45
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
Timers problem when Boost is also used #19
Comments
Hi! Thanks for reporting this. |
I suppose that the problem in the flag If you don't use Boost then sample project is compiled with the following flags:
But if Boost is added then an additional flag is added:
And I think that the presence of Unfortunately, I'm not an expert in Conan nor CMake and don't know how to fix it quickly. It needs some time for further investigation. |
I don't know is it a correct way to go but if I change a line in - compiler.libcxx=libstdc++
+ compiler.libcxx=libstdc++11 and then perform commands: conan install ../ --build=missing
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release then the sample program compiled and linked without an errors. |
Thank you so much! Your advice is working! If you do not want to patch
|
Hi!
Thank you for very cool library!
I have tried to use your library with Boost, and I am confused due to the build is failed even I only add Boost library without its real using.
I started from building my application without Boost, and the build was successful, then I added
boost/1.73.0
in requirements to my conanfile.txt, and builds started failing. The problem was raised on the linking stage:I have also tried to use
boost/1.69.0
andboost/1.71.0
, but it did not have any effects: the error messages are, and they are similar.I created simple repository with my code where the error is: https://github.com/FulgurIgor/SObjectizer-error. It has Travis-CI build, where the error is demonstrated:
Source code: https://github.com/FulgurIgor/SObjectizer-error/blob/master/src/main.cpp
Tested systems:
All builds use Conan and CMake.
The text was updated successfully, but these errors were encountered: