Skip to content
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

unordered_set.hpp #7

Open
wRajter opened this issue Jan 12, 2021 · 4 comments
Open

unordered_set.hpp #7

wRajter opened this issue Jan 12, 2021 · 4 comments

Comments

@wRajter
Copy link

wRajter commented Jan 12, 2021

Greetings,

I have a problem to compile PaPaRa on my Ubuntu. I follow the instructions from the website (https://cme.h-its.org/exelixis/web/software/papara/index.html). Yet, several error messages pop up during the compiling, such as:

In file included from pvec.h:41,
from papara.h:47,
from papara.cpp:30:
ivy_mike/src/ivymike/tree_traversal_utils.h:30:10: fatal error: boost/tr1/unordered_set.hpp: No such file or directory
30 | #include <boost/tr1/unordered_set.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I looked on my boosts, and there is no .unordered_set.hpp file only .h or without extension.

As I have not much informatics background, could you advise how to fix it and explain a bit the problem if possible?

Thank you.

@Robaina
Copy link

Robaina commented Sep 29, 2021

Getting the same error when trying to compile Papara on Ubuntu. It seems like there is some incompatibility with the latest version (1.77.0) of boost.

Would be helpful if developers point to a working version of boost. Thanks

@vojtech-zarsky
Copy link

I had to do small edits on "./papara_*/ivy_mike/src/ivymike/tree_traversal_utils.h" to compile on Ubuntu 20:

Replace "#include <boost/tr1/unordered_set.hpp>" with "#include <boost/unordered_set.hpp>".

Replace "std::tr1::unordered_set" with "boost::unordered_set" on all occasions.

I am attaching the edited file, just remove "_fix.txt" from the file name.

tree_traversal_utils.h_fix.txt

@otaviolovison
Copy link

Worked!

@alastairroberts
Copy link

Fix worked for me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants