Compiling with Visual C++ 2005 Express Edition
Folks, I am having trouble compiling and building boost with Visual C++ 2005 Express Edition. It gets a lot of the job done with the command (under cygwin): bjam "-sTOOLS=vc-8_0" "-svc80_ROOT=C:\Program Files\Microsoft Visual Studio 8\VC" That directory is where my VC++ is installed. In addition the bjam script (which I treat as a black box) could not find the vsvers32.bat script which I ran by hand. I had to do that to get anything to work. The last run that I did ignored about 126 "targets" and had errors in 82 "targets". Some (maybe all, since they all scrolled by so quickly) said that windows.h could not be found. Can anyone help me with this? Thanks for your time, KW
Hi Keith, have you downloaded the platform sdk? It is needed by a lot of boost.
On 11/22/05, Keith Weintraub
Folks,
I am having trouble compiling and building boost with Visual C++ 2005 Express Edition. It gets a lot of the job done with the command (under cygwin):
bjam "-sTOOLS=vc-8_0" "-svc80_ROOT=C:\Program Files\Microsoft Visual Studio 8\VC"
That directory is where my VC++ is installed. In addition the bjam script (which I treat as a black box) could not find the vsvers32.bat script which I ran by hand. I had to do that to get anything to work.
The last run that I did ignored about 126 "targets" and had errors in 82 "targets". Some (maybe all, since they all scrolled by so quickly) said that windows.h could not be found.
Can anyone help me with this?
Thanks for your time,
KW
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Cory Nelson http://www.int64.org
On 11/23/05, Pedro Lamarão
Cory Nelson wrote:
Hi Keith, have you downloaded the platform sdk? It is needed by a lot of boost.
How do you *tell* the compiler that the PSDK is installed? I've configured the IDE, no mistery, but found no way to make the Boost build work.
-- Pedro Lamarão
You need to add the PSDK include and lib directories to the INCLUDE and LIB environment variables respectively. Open Properties for My Computer, go to the Advanced tab and you should see an Environment Variables button there. Either add the directories to the relevant environment variables or create them if they don't exist and set them to the appropriate value. HTH. Stuart Dootson
Pedro Lamarão wrote:
How do you *tell* the compiler that the PSDK is installed? I've configured the IDE, no mistery, but found no way to make the Boost build work.
It works for me. I installed the Platform SDK, then copied its bin/lib/include directories to VC8/PlatformSDK as VS express already has paths set up to look for the files there. After that, boost built entirely with VS express. Have a look at: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx (it mentions that beta, but applies to the final as well) Cheers Russell
participants (6)
-
Bronek Kozicki
-
Cory Nelson
-
Keith Weintraub
-
Pedro Lamarão
-
Russell Hind
-
Stuart Dootson