fph / bastet

Evil falling block game. http://fph.altervista.org/prog/bastet.html
GNU General Public License v3.0
272 stars 35 forks source link

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

Open chrisfxwolf opened 1 year ago

chrisfxwolf commented 1 year ago

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 commented 1 year ago

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!