Dear Users,
I have downloaded and successfully installed (with bjam) Boost for Visual
Studio.NET vc7. I have a rogram using boost with the line:
#include
alabi@thaerocomp.com wrote:
#include
The compiler does not find the header.
Note: the Boost directory should be lowercase. Windows may not care, but other systems do. And you should always use forward slashes for includes. They work pretty much everywhere, unlike backslashes. That said, this sounds like you haven't set up the include paths correctly. You need to add the Boost base directory to your Visual Studio include path. (Tools->Options->Directories, I believe.) You should also add the install/stage directory to the library path, or else compiled libraries won't be found during linking.# Sebastian Redl
Thanks a lot. This worked. Ken Alabi, Ph.D. Phone: (631) 285-7128 Fax: (631) 285-7129 Cell: (631) 484-0778 -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Sebastian Redl Sent: Tuesday, November 14, 2006 5:29 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Windows Implementation alabi@thaerocomp.com wrote:
#include
The compiler does not find the header.
Note: the Boost directory should be lowercase. Windows may not care, but other systems do. And you should always use forward slashes for includes. They work pretty much everywhere, unlike backslashes. That said, this sounds like you haven't set up the include paths correctly. You need to add the Boost base directory to your Visual Studio include path. (Tools->Options->Directories, I believe.) You should also add the install/stage directory to the library path, or else compiled libraries won't be found during linking.# Sebastian Redl _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
alabi@thaerocomp.com wrote:
Dear Users, I have downloaded and successfully installed (with bjam) Boost for Visual Studio.NET vc7. I have a rogram using boost with the line:
#include
The compiler does not find the header. Does nayone know how to make the compiler recognize the boost location so I can place it in angluar bracket as above. If I copied all the BOOST into my subfolder, things work but I dont want to make a copy of BOOST in every project. Ken.
Hi Ken, Tools --> Options --> Projects --> VC++ Directories Then add the paths to the include and library sections. David
Dear Users, I have downloaded and successfully installed (with bjam) Boost for Visual Studio.NET vc7. I have a rogram using boost with the line:
#include
The compiler does not find the header. Does nayone know how to make
Thanks a lot. This worked. Ken Alabi, Ph.D. Phone: (631) 285-7128 Fax: (631) 285-7129 Cell: (631) 484-0778 -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of David Walthall Sent: Tuesday, November 14, 2006 5:44 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Windows Implementation alabi@thaerocomp.com wrote: the compiler
recognize the boost location so I can place it in angluar bracket as above. If I copied all the BOOST into my subfolder, things work but I dont want to make a copy of BOOST in every project. Ken.
Hi Ken, Tools --> Options --> Projects --> VC++ Directories Then add the paths to the include and library sections. David _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
alabi@thaerocomp.com
-
David Walthall
-
Ken Alabi (Ph.D)
-
Sebastian Redl