-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Mart marvin Sent: Friday, June 24, 2005 3:13 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] How do I get boost to work with vs.net 2005 ?
It didn't work!
I followed the directions to the letter. Is it a bug with VS.NET 2005 beta? Here's the message I got:
Cannot open include file: 'boost\smart_ptr.h': No such file or
I believe I can help.
Lets say you have downloaded boost to the dir:
C:\boost
now if you CD into that dir- you will get something like the following
files:
06/10/2005 10:50 AM <DIR> .
06/10/2005 10:50 AM <DIR> ..
05/26/2005 01:48 AM <DIR> bin
06/16/2005 02:27 PM <DIR> boost
02/04/2005 04:09 PM 499 boost-build.jam
02/04/2005 04:09 PM 675 boost.css
02/04/2005 04:09 PM 6,897 boost.png
02/21/2005 11:10 AM <DIR> CVS
02/18/2005 03:46 PM <DIR> doc
02/04/2005 04:09 PM 3,558 google_logo_40wht.png
02/04/2005 04:09 PM 49,603 index.htm
02/04/2005 04:09 PM 9,406 Jamfile
02/04/2005 04:09 PM 882 Jamfile.v2
02/04/2005 04:09 PM 450 Jamrules
05/26/2005 01:04 AM <DIR> libs
02/04/2005 04:09 PM 1,361 LICENSE_1_0.txt
02/18/2005 03:47 PM <DIR> more
02/18/2005 03:47 PM <DIR> people
(abbreviated)
Now using my example dirs- some important dirs to be aware of:
C:\boost\boost - the libraries themselves are here
C:\boost\libs - look here for the documentation (html) files for a
given library
since the libs are in c:\boost you need to do the following:
visual studio-
(menu) view-solution explorer
then in the solution explorer, right click on the project name
select "Properties" from the menu
click on the "C\C++" select on the left
click on the "General" item below this
on the right you will see "Additional Include Directories"
type in (in our case above) C:\boost
the cute thing about this is (recall there is a boost dir below
C:\boost) you can now do a #include with the sub dir of boost in the
string
i.e.
#include
Here is my code:
#include "stdafx.h" #include "x.h" #include
int main() { x& p = *new x; delete &p; return 0; }
Please help... I'm desperate to try Boost. Looked at the
and I'm drooling to play with it.
From: "Pablo Aguilar"
Reply-To: boost-users@lists.boost.org To: boost-users@lists.boost.org Subject: Re: [Boost-users] How do I get boost to work with vs.net 2005 ? Date: Fri, 24 Jun 2005 14:10:36 -0700 Open VS.NET
From the "Tools" menu, select "Options" In the tree to the left, open "Projects & Solutions" and select VC++ Directories From the drop down list labelled "Show directories for:" select "Include files" Add the boost root directory (wherever you decompressed the boost installation) to that list.
HTH
Pablo
I downloaded the executable from sourceforge, but I'm at a loss how to get the libraries to be recognized by VS.NET. I googled but nothing
works turned up. I'm desperate to try and play with the boost
documentation that libraries
and
am
eager to get started with them. Can someone describe it step by step command by command?
I'm on Win2k Pro.
Thanks in advance.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee(r) Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963