[C++-sig] Re: Re: "unknown dependent target" error
Mike Rovner
mike at bindkey.com
Sun Jan 26 07:23:39 CET 2003
"David Abrahams" <dave at boost-consulting.com> wrote in message
news:uptqma8oa.fsf at boost-consulting.com...
> > Thank you. That fix it.
>
> Let's see your Jamfile.
Here:
project-root ;
# Include definitions needed for Python modules
SEARCH on python.jam = $(BOOST_BUILD_PATH) ;
include python.jam ;
# Declare a Python extension
extension ext
: # sources
ext.cpp
: # requirements
# link to the appropriate library for the build variant.
<release><find-library>boost_python
<debug><find-library>boost_python_d
<debug-python><find-library>boost_python_pyd
# library path required for linking to boost_python shared lib. You
# may need to edit this for your installation
<library-path>$(BOOST_ROOT)/libs/python/build/VisualStudio/bin
;
# Declare a test for the extension module
boost-python-runtest test_ext
: # Python test driver
t_ext.py
# extension modules to use
<pyd>ext ;
An error is
LINK : fatal error LNK1181: cannot open input file 'C:\Python22\libs.obj'
More information about the Cplusplus-sig
mailing list