-
Notifications
You must be signed in to change notification settings - Fork 136
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
Boost linking issue #89
Comments
Which openmonero branch and Linux? |
this is for |
Yes please, have a look at |
So I am trying to build it and getting bunch of compile-time errors (unlike master). It feels to me that I am using wrong version of something related to compiler, but I am not too good with C++ tools. Any advise on these?
|
I think it could be because openmonero in the development branch is using C++14. I will install ubuntu 16.04 and check myself. Maybe ubuntu 16.04 does not fully support C++14. |
yes, its ubuntu 16.04. Same error for me. It works on 18.04 if this is any help as its support of C++14 is much better. I can check later and maybe can refactor the code so it works with older versions of C++ or how to install new C++ compiler on ubuntu 16.04 (e.g. clang-6.0). |
thanks! i will look into installing clang-6 on my machine. |
You can make it compoile using gcc-8 avaiable in ubuntu-toolchain ppa.
Once this is done then compile openmonero using this compiler
Hope this helps. p.s. no need to upgrade any boost or anything else. |
Thanks! I actually using gcc-7 right now using similar approach. It seems to compile just fine but I am getting same boost linking issues. Researching it now. |
gcc-7 definitely makes errors a bit clearer. still puzzled why it picks up system-wide installed boost's .hpp file when specifying BOOST_ROOT (and cmake seems to identify it correctly). Continue digging...
|
Yay! Added CPATH manually pointing to my boost installation path and it linked! Thanks for helping! |
I am no good at C++ stuff, but to me it looks like it picking up wrong library... Do you have 1.65 installed system-wide? (I installed boost separately, not into system tree, hence all these additional variables I had to define) |
I have no clue... as i said - i am no good at compiling C++ stuff... In case this will help, here is my latest openmonero build script. Keep in mind, i have all dependencies for monero installed in $DEPS folder.
|
I am trying build openmonero with Boost 1.67 (tried 1.58 and 1.62 before with similar results) and getting weird linking errors. It does not quite make sense to me, but was wondering if someone else know what is going on.
Errors:
This is build-script I am using:
Latest dev-version of monero builds just fine by the way.
The text was updated successfully, but these errors were encountered: