Jónatan Nilsson wrote:
Hi all.
I am trying to compile Ghost++, a Warcraft 3 dedicated server program and one of it's dependency is Boost. The following is the instruction on how to compile Boost from the Ghost++ documentation (a.k.a. the readme file):
-------------------------------- You'll need Boost version 1.38.0 (or potentially any newer versions). If your package manager has this version available please use it instead of installing it manually. To install Boost manually:
7. Download and extract Boost 1.38.0 from http://www.boost.org/ 8. su to root. 9. ./configure --prefix=/usr --with-libraries=date_time,thread,system,filesystem,regex 10. Edit the newly created Makefile with your favourite text editor. The second line should be "BJAM_CONFIG=". Replace it with "BJAM_CONFIG= --layout=system". 11. make install --------------------------------
Unfortunately you have removed the ./confiigure and make and replaced them with new commands: bootstrap & bjam. I tried running the following commands:
-------------------------------- ./bootstrap.sh --with-libraries=date_time,thread,system,filesystem,regex
You might be missing either --prefix=/usr above...
./bjam install --------------------------------
But when I try to 'make' Ghost++ I get the following error:
-------------------------------- # make ... bnet.cpp:38:32: error: boost/filesystem.hpp: No such file or directory bnet.cpp:39:27: error: boost/regex.hpp: No such file or directory
... or --with-boost=/usr/local option to the configure of your project, if that supports it. - Volodya