From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-23 16:45:16
> -----Original Message-----
> From: Karl Bellve [mailto:Karl.Bellve_at_[hidden]]
> I am still having some issues with using Boost, Python and C++.
> I want to be able to export a specific instance of a class to Python. I
> don't want to load a new instance of the class inside Python. Is this
What does "load a new instance of the class inside Python" mean? I don't
think I can answer your question unless you use terms I can understand.
> Secondly, getting one compile time error, I assume it is do to naming
> ImageManager.lib(module_builder.obj) : error LNK2001: unresolved
> external symbol __imp__Py_InitModule4
> This is with _DEBUG under Visual Studio. Now, if I could just compile
> Boost into my app, then I could answer the question myself :-)
I believe that part of your application is looking for the debug version of
the python library, as described at
http://www.boost.org/libs/python/doc/building.html. Please read the section
about the Microsoft Project workspace.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk