Opened 7 years ago
Last modified 7 years ago
#11486 new Bugs
Unable to Locate bjam.exe on web and unable to build Boost Jam using bootstrap.bat
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.58.0 | Severity: | Problem |
Keywords: | Cc: | enjoysmath@… |
Description
Hi, I'm wanting to use Boost.Python to connect C++ with Python. I've installed boost.
- during the process I was not sure what MSVC version I have
The VS 2013 express that I use is located in: Microsoft Visual Studio 12.0
But running the cl.exe (the compiler) within that directory gives Visual C++ version 18!!
So I assume I go by the first number. So I downloaded boost windows installer version MSVC-12.0-32bit (32-bit because something nearly always goes wrong in the future like one library is 64-bit while another is 32-bit, so I simply chose 32-bit even though I'm on a Windows 8 64-bit machine).
Anyway, boost log attached, I tried running boostrap.bat in the boost install directory to try and build boost jam and it failed but maybe you can help there.
Or just help me find pre-built binaries because they're not located on SourceForge where all the links say they are located. -- Please Download and See!
Thanks. Regards, -EM
Hi I have the same problem with my download. I have Windows 8.1. Visual Studio is installed under D:\Program Files (x86)\Microsoft Visual Studio 12.0 instead of c:\... The batch files is interpreted wrong. According to Microsoft, under 64 bit, scripting files (*.bat) cannot contain nested brackets. Build.bat contains brackets several places. When you place "D:\Program Files (x86).." inside a bracket, Microsoft cannot understand the command. this causes Build.bat to send wrong path for Visual Studio header files to the compiler. So the compiler do not know where to look for the different #include <xxxx.h> files. The other feature i have found, is that Build.bat contains link to the %programfiles% as a link to Visual studio. My Visual Studio is not under %programfiles% so I do get an error. All in all, this is very complicated to correct, since the batch files are large and contain solutions for every OS the programmers know of.
I do not know how to solve this. I would be happy if someone created a Visual Studio solution for Boost. I think it would be simpler than all the different batch files.