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
./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
...
--------------------------------
What am I doing wrong :S
I am using debian linux and I tried to apt-get install boost but the
newest version there was 1.35 and when I tried running 'make' on
Ghost++ after installing those packages I received a new set of
errors:
--------------------------------
bnet.cpp:1739: error: âclass
boost::filesystem::basic_directory_entry