|
Boost Users : |
From: Lawrence Spector (Lawrence.Spector_at_[hidden])
Date: 2007-05-24 16:37:52
I successfully was building Boost.Python extensions using bjam version 1
in Boost 1.33.1. Since the upgrade, I converted my Jamfile to
Jamfile.v2 and am getting the following errors when I try to build:
bjam -sTOOLS=vc-8_0 -sBOOST_ROOT=C:\3rdparty\boost_1_34_0 -sBUILD=debug
error: Could not find parent for project at '.'
error: Did not find Jamfile or project-root.jam in any parent directory.
Here's my Jamfile:
# This is the top of our own project tree
project-root ;
import python ;
extension MyLib # Declare a Python extension
: MyLib.cpp # source
# requirements and dependencies for Boost.Python extensions
<template>@boost/libs/python/build/extension
## Requirements ##
: <include>$(MyDir)/Include
<define>_ATL_DLL <define>_AFXDLL
<define>_UNICODE <define>UNICODE
<runtime-link>dynamic
;
--------------------------------
Here's my Jamrules:
path-global BOOST_ROOT : C:/3rdparty/boost_1_34_0 ;
project boost : $(BOOST_ROOT) ;
--------------------------------
Any idea how to correct this?
Thanks in advance,
Lawrence
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