
Hi, my program makes use of Boost(Code Blocks). The arrangement of my files is the following: 1 in the directory of the source files of my program there is the directory "boost" containing the following directories: "filesystem", "config", "iterator","range","detail", "mpl", "preprocessor", "tools" and the file boost-build.jam. 2 The file that makes use of boost in my project contains the following lines: #include <string> using namespace std; #include "boost\filesystem\path.hpp" #include "boost\filesystem\operations.hpp" using namespace boost::filesystem; At compilation I get the message :"boost/preprocessor/config/config.hpp" no such file or directory and several other similar messages about other files of the same directory and about other files of the "mpl" directory. What goes wrong? Thank You David _________________________________________________________________ Découvrez le blog Messenger Le Meilleur du Web : toutes les vidéos qui buzzent le plus sur Internet ! http://meilleurduweb.spaces.live.com/

This isn't really a boost question. Make sure that your compiler gets some flag that adds the boost directory to its include path. This would looks something like -I/path/to/boost mike
#include "boost\filesystem\path.hpp"
#include "boost\filesystem\operations.hpp"
using namespace boost::filesystem;
At compilation I get the message :"boost/preprocessor/config/config.hpp" no such file or directory and several other similar messages about other files of the same directory and about other files of the "mpl" directory.
participants (2)
-
Michael Linck
-
question boost