Boost logo

Boost Users :

Subject: Re: [Boost-users] issue when building boost with msvc2010
From: Christian Henning (chhenning_at_[hidden])
Date: 2010-06-03 00:17:36


Hi there, I've been building boost with MSVC10 Express just fine. I
usually use the Visual Studio Command Prompt window to get things
done. Here you can double check if your environment variable "Include"
is correct. Inside the command prompt just type "set include".

My windows.h is in C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.0A\Include which is set inside include path.

Regards,
Christian

On Wed, Jun 2, 2010 at 5:12 PM, Sean Farrow
<sean.farrow_at_[hidden]> wrote:
> Hi:
>
> When building boost with msvc 2010, I get a c1083 unable to open file with
> windows.h.
>
> My command line is:
>
> Bjam –toolset=msvc –stage –build-type=complete
>
> Even though as the output asks I have called vcvarsall.bat.
>
> A portion of the log follows:
>
> compile-c-c++
> bin.v2\libs\test\build\msvc-10.0\debug\asynch-exceptions-on\link-static\runtime-link-static\debug.obj
>
> debug.cpp
>
> C:\Program Files\boost\boost/test/impl/debug.ipp(32) : fatal error C1083:
> Cannot open include file: 'windows.h': No such file or directory
>
>
>
>     call "C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
> x86 >nul
>
> cl /Zm800 -nologo
> @"bin.v2\libs\test\build\msvc-10.0\debug\asynch-exceptions-on\link-static\runtime-link-static\debug.obj.rsp"
>
>
>
> ...failed compile-c-c++
> bin.v2\libs\test\build\msvc-10.0\debug\asynch-exceptions-on\link-static\runtime-link-static\debug.obj...
>
> Anyone got any ideas, do I need to set up some environment variables?
>
> Vs2008 builds fine with the latest windows sdk, the latest windows sdk
> configuration tool doesn’t allow integration with vc2010.
>
> Help appreciated as always.
>
> Regards
>
> Sean.
>
> Regards
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net