
Hi... Trying to use Dev-C++ with Boost. I created a new project and included all the Boost header files in the settings of the compiler. I added a new module and wrote a main() {} function after included some header files of Boost. Whe I tried to compile the program it produces an error message that the header files don't exist!!!! Can u guide me to use Boost with this compiler? Mohammed

From: "Ihsan Ali Al Darhi" <iad929@joinnet.com.jo>
Trying to use Dev-C++ with Boost. I created a new project and included all the Boost header files in the settings of the compiler. I added a new module and wrote a main() {} function after included some header files of Boost.
Whe I tried to compile the program it produces an error message that the header files don't exist!!!!
Try adding it to the project include path: Project->Project Options->Files/Directories->Include Directories. Note that if you include ".../boost" there, you also have to use "boost/..." in the #include, as the path is ".../boost/boost/...". It works for me. Regards, Terje

You need to give the path to boost root directory (path upto boost_1_27_0, say) to tools->options->directories->include to your project workspace. Are you using MSVC compiler only ? If you want to use any other compiler (say Intel C++ compiler), you need to select the compiler also by setting tools->select compiler . "Ihsan Ali Al Darhi" <iad929@joinnet.com.jo> wrote in message news:001401c34854$dd99c200$06c721d4@a5k0b7...
Hi...
Trying to use Dev-C++ with Boost. I created a new project and included all the Boost header files in the settings of the compiler. I added a new module and wrote a main() {} function after included some header files of Boost.
Whe I tried to compile the program it produces an error message that the header files don't exist!!!!
Can u guide me to use Boost with this compiler?
Mohammed

From: Barnali You need to give the path to boost root directory (path upto boost_1_27_0, say) to tools->options->directories->include to your project workspace. Dev-C++ is a different IDE than MSVC. It resembles it, though, and it may be used to get an IDE for g++. Your given instructions work for MSVC only. Regards, Terje "Ihsan Ali Al Darhi" <iad929@joinnet.com.jo> wrote in message news:001401c34854$dd99c200$06c721d4@a5k0b7...
Hi...
Trying to use Dev-C++ with Boost. I created a new project and included all the Boost header files in the settings of the compiler. I added a new module and wrote a main() {} function after included some header files of Boost.
Whe I tried to compile the program it produces an error message that the header files don't exist!!!!
Can u guide me to use Boost with this compiler?
Mohammed
[Non-text portions of this message have been removed]
participants (4)
-
Barnali
-
Ihsan Ali Al Darhi
-
Terje Sletteb?
-
Terje Slettebø