[C++-sig] Re: Re: "unknown dependent target" error
David Abrahams
dave at boost-consulting.com
Sun Jan 26 18:31:22 CET 2003
What's the value of BOOST_ROOT?
"Mike Rovner" <mike at bindkey.com> writes:
> "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'
>
>
>
>
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
--
David Abrahams
dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
More information about the Cplusplus-sig
mailing list