
-----------------------------------
Valheru
Tue Sep 26, 2006 5:16 am

Boost Libraries
-----------------------------------
Hi

  I am wondering whether or not anyone here has had any experience using the boost libraries. I'm using VS 2003 as a complier and complied the boost libraries for it. At this point i am wondering how i like the actual library files to VS, do i just use include statements or what.

Thanks in advance.

-----------------------------------
r.3volved
Tue Sep 26, 2006 6:43 am


-----------------------------------
I use the boost library in VS2005
To link the libraries to your compiler, go to:

Tools >> Options

In the projects and solutions menu, go to:

VC++ Directories and select the drop down menu to the right labeled "Executable Files" and change it to "Include Files" (Platform==win32)

Add a new Include directory to "C:\Boost\include\boost-1_33_1" (or wherever you have that folder unpacked)

then in your application you: #include 

-----------------------------------
Valheru
Tue Sep 26, 2006 5:21 pm


-----------------------------------
still a problem, i did what you told me and under the boost folder, i put the libs folder, however when i try to compile the following program:


#include "stdafx.h"
#include "boost/filesystem/operations.hpp" // includes boost/filesystem/path.hpp
#include "boost/filesystem/fstream.hpp"    // ditto



int main()
{
   
	return 0;
}
I get this error
 Rename fatal error LNK1104: cannot open file 'libboost_filesystem-vc71-mt-sgd-1_33_1.lib'


Anyone know where this file is to be located?
i added it to the boost, directory as well as the /boost/filesystem directory  with no success.

Thank you in advance for your help[/quote]

-----------------------------------
Andy
Wed Sep 27, 2006 6:25 pm


-----------------------------------
you need to include the lib directives too. do the samething you did for the includes, but select library this time, and direct it to the lib folder
