hitesh dhiman
Thu, 11 Mar 2010 21:19:07 -0800
Hi Jim, The solution was to include the Test1.cpp in the python extension line as you suggested. After i had to include include <iostream>, and the code compiled. I guess the boost documentation is not too clear on these concepts... Anyways thanks for the help!
On Fri, Mar 12, 2010 at 12:48 PM, Jim Bosch <tallji...@gmail.com> wrote:
> On Fri, 2010-03-12 at 12:01 +0800, hitesh dhiman wrote:
> > hi Jim
> > Will it help if i post my jam-root file? Its included below:
> > import python ;
> >
> >
> > if ! [ python.configured ]
> > {
> > ECHO "notice: no Python configured in user-config.jam" ;
> > ECHO "notice: will use default configuration" ;
> > using python ;
> > }
> >
> >
> > # Specify the path to the Boost project. If you move this project,
> > # adjust this path to refer to the Boost root directory.
> > use-project boost
> > : "C:/Program Files/boost/boost_1_42" ;
> >
> >
> > # Set up the project-wide requirements that everything uses the
> > # boost_python library from the project whose global ID is
> > # /boost/python.
> > project
> > : requirements <library>/boost/python//boost_python ;
> >
> >
> > # Declare the three extension modules. You can specify multiple
> > # source files after the colon separated by spaces.
> > python-extension hello : TestWrap.cpp ;
> >
>
> It's this line right here, I think. Should be:
>
> python-extension hello : TestWrap.cpp Test1.cpp;
>
>
> Good luck!
>
> Jim
>
>
>
>
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig@python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig
>
--
Regards,
Hitesh Dhiman
Electrical Engineering
National University of Singapore
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig