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

fatal error: boost/foreach.hpp: No such file or directory #26

Open
chrisfxwolf opened this issue May 9, 2023 · 1 comment
Open

fatal error: boost/foreach.hpp: No such file or directory #26

chrisfxwolf opened this issue May 9, 2023 · 1 comment

Comments

@chrisfxwolf
Copy link

Missing directory and file:

g++ -MM Ui.cpp Block.cpp Well.cpp BlockPosition.cpp Config.cpp BlockChooser.cpp BastetBlockChooser.cpp main.cpp Test.cpp> depend BlockPosition.cpp:23:10: fatal error: boost/foreach.hpp: No such file or directory 23 | #include "boost/foreach.hpp" | ^~~~~~~~~~~~~~~~~~~ compilation terminated. Makefile:20: depend: No such file or directory make: *** [Makefile:18: depend] Error 1

@awest03
Copy link

awest03 commented May 9, 2023

I think this file should be provided by the system, just make sure you have the relevant development headers installed where the compiler can find them. On Debian/Ubuntu it should be in the libboost-dev package, on Void it is in boost-devel and others I'm not sure but will probably be named similarly.

Hope this helps!

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

2 participants