Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#5078 closed Bugs (invalid)

Can't build bjam with bootstrap.bat in 1_45_0

Reported by: drndown2007@… Owned by:
Milestone: To Be Determined Component: None
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

Fresh download of 1_45_0. Using Visual Studio 2008 SP1, on Windows 2008 R2 64-bit

From either a normal command prompt, or Visual Studio 2008 command prompt (where environment is initialized), running bootstart.bat (no parameters) fails "to build Boost.jam build engine"

execnt.c(29) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory (on a few different files)

Attached env.txt (environment variables) and bjam.log

Attachments (2)

env.txt (2.9 KB ) - added by anonymous 12 years ago.
bjam.log (1.6 KB ) - added by anonymous 12 years ago.

Download all attachments as: .zip

Change History (5)

by anonymous, 12 years ago

Attachment: env.txt added

by anonymous, 12 years ago

Attachment: bjam.log added

comment:1 by anonymous, 12 years ago

Sorry, environment problem.

For anyone that comes after, if you install different Windows SDKs, PDKs, etc, your WindowsSDKDir environment variable will point to them instead of what came with Visual Studio.

To fix this (for Visual Studio 2008), set

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows CurrentInstallFolder?=C:\Program Files\Microsoft SDKs\Windows\v6.0a\

comment:2 by Steven Watanabe, 12 years ago

Resolution: invalid
Status: newclosed

comment:3 by anonymous, 10 years ago

what abt windows 7 and visual studio 2012?

Note: See TracTickets for help on using tickets.