I used this guide to rebuild the boost library in VC++6 under windows XP. But is having problems trying to include the header files. By default, the boost library makes use of point 1 as follows to declare the header files. But if I used point 1, I get “fatal error C1083: Cannot open include file…”. I tried using point 2 to declare and it seem to work but all the header files referenced internally by point 2 will have to be changed. This lead to a cascade of header declaration to be changed which is not realistic.
Did I miss something? What is the correct way of including the header file without errors?
1) #include <boost/interprocess/managed_shared_memory.hpp>
2) #include "..\boost\interprocess\managed_shared_memory.hpp"
Did you add the boost include path to your project?
If you try to compile your program from Visual Studio you can add extra include paths in the global options (menus: Tools -> Options -> Directories -> Show directories for: Include files). If you will also make use of the compiled boost libraries (e.g. for boost::filesystem), you should add the library path to your setup too.