Re: [Boost-users] Compiling Boost (Steven Watanabe, Bhushan Inamdar)

Hi Steven, Thanks for the prompt reply. My problem is solved. It seems that, every time, I have to go to project properties and in the C++ tab and include the absolute path to the Boost directory. After doing this, the program compiles with out any complaints. So further up, my question is...Is it necessary to do this everytime? Or my Boost installation is missing something? Let me know.... Thanks, Bhushan

On Tuesday, February 01, 2011 11:27 AM, Bhushan Inamdar wrote:
Thanks for the prompt reply. My problem is solved. It seems that, every time, I have to go to project properties and in the C++ tab and include the absolute path to the Boost directory. After doing this, the program compiles with out any complaints. So further up, my question is...Is it necessary to do this everytime? Or my Boost installation is missing something? Let me know....
In Visual Studio 2008, open the "Tools" menu and select "Options". Expand "Projects and Solutions" and select "VC++ Directories". You can now add the appropriate boost directories to the library files and include files lists.

On Tuesday, February 01, 2011 11:27 AM, Bhushan Inamdar wrote:
Thanks for the prompt reply. My problem is solved. It seems that, every time, I have to go to project properties and in the C++ tab and include the absolute path to the Boost directory. After doing this, the program compiles with out any complaints. So further up, my question is...Is it necessary to do this everytime? Or my Boost installation is missing something? Let me know....
In Visual Studio 2008, open the "Tools" menu and select "Options". Expand "Projects and Solutions" and select "VC++ Directories". You can now add the appropriate boost directories to the library files and include files
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Andrew Holden lists. That doesn't work in Visual Studio 2010 (instead one gets a message that that is deprecated - though I don't see a good reason for them to do that), and I haven't found the alternative. In Visual Studio 2010, the only method I have found that works is to set it for each project manually, when I first create it. It would be so nice to be able to set it once, so that the proper settings are already in place for any new project and one can then just proceed to use the boost libraries and not have to worry about setting everything for 32 and 64 bit builds. Cheers Ted

On 02/02/2011 15:28, Ted Byers wrote:
That doesn't work in Visual Studio 2010 (instead one gets a message that that is deprecated - though I don't see a good reason for them to do that), and I haven't found the alternative.
Load a solution then open the Property Manager (View menu). Expand one of the projects then one of the sub-entries (for instance debug | Win32), then open the properties (Alt-Enter) for Microsoft.Cpp.Win32.user In there go to VC++ Directories and add your directories. Be sure to do the same for "release | Win32" et possibly x64 too (you can view and modify the properties for multiple entries at the same time). MAT.

On Wed, Feb 2, 2011 at 10:58 AM, Mathieu Champlon < mathieu.champlon@masagroup.net> wrote:
On 02/02/2011 15:28, Ted Byers wrote:
That doesn't work in Visual Studio 2010 (instead one gets a message that that is deprecated - though I don't see a good reason for them to do that), and I haven't found the alternative.
Load a solution then open the Property Manager (View menu). Expand one of the projects then one of the sub-entries (for instance debug | Win32), then open the properties (Alt-Enter) for Microsoft.Cpp.Win32.user In there go to VC++ Directories and add your directories. Be sure to do the same for "release | Win32" et possibly x64 too (you can view and modify the properties for multiple entries at the same time).
I followed these instructions to the letter (in fact, this was the only process I found so far), and then created a new C++ project and found the boost include and library paths were not there. The process, as described here, seems to apply these settings only to the currently only project. So what did I miss? Thanks Ted

On 02/02/2011 16:28, Ted Byers wrote:
I followed these instructions to the letter (in fact, this was the only process I found so far), and then created a new C++ project and found the boost include and library paths were not there.
The process, as described here, seems to apply these settings only to the currently only project. So what did I miss?
Not sure, I just started vc100, created a new project (WIN32 console application) and the include and library directories I had previously added were there in the new project. I believe this is where I had found the information in the first place : http://blogs.msdn.com/b/vsproject/archive/2009/07/07/vc-directories.aspx MAT.

That doesn't work in Visual Studio 2010 (instead one gets a message that that is deprecated - though I don't see a good reason for them to do that),
Adding a path to VC global settings made a project successful compilation dependent on *.vssettings file, which is usually not shared between developers, as it contains a lot of personal settings. May be that's why MS disabled this feature.
participants (5)
-
Andrew Holden
-
Bhushan Inamdar
-
Igor R
-
Mathieu Champlon
-
Ted Byers