Nfys
Nfys

Reputation: 804

Installing 64 bit version of Boost C++ in Windows 7

I am trying to compile 64 bit version of Boost for Visual C++ 2010.

I am running this command:

b2 --toolset=msvc-10.0 --build-type=complete architecture=x86 address-model=64 stage

However I get a bunch of errors:

'cl' is not recognized as an internal or external command, operable program or batch file.

What am I missing here ?

Upvotes: 1

Views: 1315

Answers (3)

Trevor Hickey
Trevor Hickey

Reputation: 37834

The error:

'cl' is not recognized as an internal or external command, operable program or batch file.

can be solved by running the following batch file:
C:\Program Files (x86)\Microsoft Visual Studio #\VC\vcvarsall.bat

Upvotes: 0

João Augusto
João Augusto

Reputation: 2305

If you only want the libs, you can get them from this site for "all" the VC versions. http://boost.teeks99.com/

Upvotes: 1

Bathsheba
Bathsheba

Reputation: 234705

Make sure you do these steps:

1) Start a 64 bit cmd.exe

2) Move to the Boost root directory; i.e. where you unzipped the files.

3) Run "boostrap.bat" (This creates b2.exe and bjam.exe in the root directory).

4) b2 as you currently do

I suspect you might be not doing (1) and (3).

Upvotes: 1

Related Questions