-
Notifications
You must be signed in to change notification settings - Fork 28
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
Unable to compile without errors #14
Comments
Are you sure the correct version of g++ is being used? From the include paths in the errors it looks like the compiler being used is g++ 4.8. The right compiler version can be set using update-alternatives in Ubuntu: https://stackoverflow.com/questions/7832892/how-to-change-the-default-gcc-compiler-in-ubuntu (or using the CXX environment variable before running cmake, also it is important to reset the CMake cache / empty the build folder after changing this). |
You were right, I was using the old g++ version; I thought it was enough to have the new one in the PATH environment variable before the other version, and that when performing
Any other suggestions? |
If you compiled Boost with the old compiler version then you will need to rebuild it with gcc 7 and use that one. Gcc 4 and 7 are not compatible when it comes to linking (see https://github.com/Illumina/paragraph#library-dependencies for some help on building Boost). |
Thank you again, there was a problem in my Boost library. When using the embedded one with |
Maybe not a consequence of compilation errors (I didn't get any), but while when I run ./bin/paragraph -h the help message is printed out, when I try the example instruction I get some errors.
I also tried with absolute path but nothing changed. |
I tried with another python version (the previous one was 3.4.3). I had to pip install intervaltree module on the newer python version, but now everything works. |
Dear paragraph developers,
I am trying to compile paragraph on Ubuntu 14.04 using g++ 7.3.0 and cmake 3.14.0.
When I run:
I get error message:
I saw a post on Github (vgteam/vg#99) where a similar error was solved setting CXXFLAGS environment variable, so I tried it out.
That error seems to be partially solved, but then it stops again:
I know Ubuntu 14.04 is not amongst the distributions you have tested paragraph on.
Do you have any ideas about how I could solve it? Thanks.
Simone
The text was updated successfully, but these errors were encountered: