Re: Boost Python Issue

2006-08-31 Thread Neal Becker
JDJMSon wrote: > > Neal Becker wrote: > >> Shouldn't that be: >> .def("TestFunction",&TestClass::TestFunction) >> > ; > > > Yes, you're right, but I'm still getting the error. I'm using a > prebuilt python library, so later I'm going to rebuild python myself > and see if that helps, as has bee

Re: Boost Python Issue

2006-08-31 Thread JDJMSon
Neal Becker wrote: > Shouldn't that be: > .def("TestFunction",&TestClass::TestFunction) > > ; Yes, you're right, but I'm still getting the error. I'm using a prebuilt python library, so later I'm going to rebuild python myself and see if that helps, as has been suggested. Thanks. -- http://ma

Re: Boost Python Issue

2006-08-31 Thread Neal Becker
JDJMSon wrote: > I was wondering if someone here could help me with a problem I'm having > building Python extensions with the Boost.Python library. > Basically, if I have a wrapper class with something like this: > > string TestFunc() > { > return "Hello World"; > } > > BOOST_PYTHON_MODULE(Test

Re: Boost Python Issue

2006-08-31 Thread [EMAIL PROTECTED]
I believe this is more of a tools/compiler issue than a coding issue. If you are using the pre-built BOOST.Python library you get compile mismatches. I am not a Windows Visual Studio programmer (barely a programmer), I am probably not using the correct terminology. There are some settings for th

Boost Python Issue

2006-08-31 Thread JDJMSon
I was wondering if someone here could help me with a problem I'm having building Python extensions with the Boost.Python library. Basically, if I have a wrapper class with something like this: string TestFunc() { return "Hello World"; } BOOST_PYTHON_MODULE(TestClass) { def("TestFu