On Mon, 14 Mar 2005 12:49:34 -0600, Gang Wu
Hi,
I am trying to use boost in VS .NET 2003. Could someone give me a simple example showing how to make it compiled.
I have run the install:
bjam "-sTOOLS=gcc" install
I saw it created a folder "c:\boost". But when I , for example,
#include
in VC++ .NET project. It always complained that "no such file or directory" no matter how I adjusted include path in settings (Tools->Options->Projects->VC++ Directories).
Thank you for any help.
The command you've got will try to build libraries for gcc, not VC++, and so will fail (as you've got VC++, not gcc!). Use this command instead bjam "-sTOOLS=vc-7_1" install This will build the libraries and copy them to sub-directories under c:\boost. Use 'Search' in explorer to find the correct directories to use in Visual Studio. Stuart Dootson