tags:

views:

210

answers:

1

I think I did all the necessary configuration but I am still getting this:

Error 1 fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory    File:c:\documents and settings\administrator\my documents\visual studio 2008\libs\boost_1_43_0\boost\smart_ptr\shared_ptr.hpp Line:17

Here are screenshots of setting I have done to add directories for include and lib files :

1

2

3

Am I missing something ?

+1  A: 

I finally found the answer :) and I will write it here to help future noobs .

Project>"YOURPROJECT" Properties>C/C++>General>Additional Include Directories then select where you downloaded your library . This worked and all the above didn't, so make sure not to forget it .

Ahmed
HI Ahmed, Even after doing this, I get the same errors. Can u tell me which folder I need to exactly point to?
Krishnan
The folder that contains the library files .
Ahmed