473,421 Members | 1,522 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

Problem build Boost.Python


Hi,

Pardon my stupid, but I'm having a problem building Boost.Python as
per the instructions at
http://www.boost.org/libs/python/doc/building.html

I got boost-build-2.0-m6.zip from sourceforge and build bjam.exe.

I've tried several ways:

bjam -a
bjam -sTOOLS="msvc"
bjam -sTOOLS=msvc

I tried with and without the using msvc ; in user-config.jam.

In every case I get:

C:/Project/boost/tools\boostbook.jam:86: in boostbook.init
*** argument error
* rule path.make ( native )
* called with: ( )
* missing argument native
C:/Project/boost/new\path.jam:42:see definition of rule 'path.make'
being called

C:/Project/boost/new\toolset.jam:22: in using
C:\Project\boost\new\../new\user-config.jam:58: in modules.load
C:/Project/boost\build-system.jam:55: in load
C:\Project\boost\new\..\kernel\modules.jam:296: in import
C:\Project\boost\new\..\kernel\bootstrap.jam:122: in boost-build
C:\Project\boost\new\boost-build.jam:2: in module scope
Can anyone help?


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
Jul 18 '05 #1
1 2903
Bren <ia***********@sympatico.ca> writes:
Hi,

Pardon my stupid, but I'm having a problem building Boost.Python as
per the instructions at
http://www.boost.org/libs/python/doc/building.html

I got boost-build-2.0-m6.zip from sourceforge and build bjam.exe.
It is possible to build Boost.Python under Boost.Build-2.0, but not
using those instructions. Boost.Build v1 is still the official build
system of Boost for the time being.

[Boost.Build guys, do we need to rename the BBv2 prerelease so this
confusion doesn't recur?]

It looks like you're on windows, so you should either get the
precompiled executable in bjam-3.1.4-2-ntx86.zip, or visit the
tools/build/jam_src subdirectory of your Boost installation and invoke
build.bat as per
http://www.boost.org/tools/build/jam...tml#installing

I've tried several ways:

bjam -a
bjam -sTOOLS="msvc"
bjam -sTOOLS=msvc

I tried with and without the using msvc ; in user-config.jam.

In every case I get:

C:/Project/boost/tools\boostbook.jam:86: in boostbook.init
*** argument error
* rule path.make ( native )
* called with: ( )
* missing argument native
C:/Project/boost/new\path.jam:42:see definition of rule 'path.make'
being called

C:/Project/boost/new\toolset.jam:22: in using
C:\Project\boost\new\../new\user-config.jam:58: in modules.load
C:/Project/boost\build-system.jam:55: in load
C:\Project\boost\new\..\kernel\modules.jam:296: in import
C:\Project\boost\new\..\kernel\bootstrap.jam:122: in boost-build
C:\Project\boost\new\boost-build.jam:2: in module scope
Can anyone help?


HTH,
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: J | last post by:
Hi everyone, I started embedding python into a 3D graphics App and I came across this linking problem. SO.lib(ScnGlobal.obj) : error LNK2001: unresolved external symbol...
0
by: Andrew Ayre | last post by:
Hi, I can't seem to get the library built, and any help is greatly appreciated. Here is the info: Windows XP Borland C++ Builder 5 Latest Boost source code (downloaded at the weekend) Windows...
0
by: swell | last post by:
Hello, I use the Boost.Python lib for a couple of weeks now and i am facing a pb. To sum up i have a small hierarchy of objects and have a factory to build concrete object. The pb is i think...
0
by: timsson | last post by:
I need some help here. When i build using the following jamfile it moves my build files into the directories specified below except for the boost_python.dll. What would I add in to make the...
1
by: Bo Peng | last post by:
Dear list, My python modules depend on a few boost libraries. For convenience, I include the source code of these libraries with my distribution and treat them as standard source files. This...
4
by: Shawn McGrath | last post by:
Hi, I'm trying to expose a C++ class' internals to python via boost::python. I can do integer/boolean functions fine, but as soon as I do a string get/set it craps out. ...
6
by: Soren | last post by:
Hi! I'm trying to extend my python program with some C++ code. Right now I've spent hours just trying to get boost to work! I'm trying to get the example hello.cpp to work. Using Windows XP...
0
by: devito | last post by:
hi there, for some days i try to build the boost.python tutorial "hello world" without bjam on winxp by using mingw. so i wrote a *.bat-file like the following: // --- snip...
2
by: Lonnie Princehouse | last post by:
I'm the author of Yapgvb, a Python binding for Graphviz. Yapgvb enjoys modest success, but for some time it has been in dire need of a Python 2.5 build for Windows. I'm posting this message in the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.