Original Post
I am having some issues with embedding Python.
The issues seem to be with building the right configuration for boost.
What I am trying to do is to run the embedded.cpp sample that comes with boost.python.
The sample compiles fine, but it is giving me the following error at run time:
Traceback (most recent call last):
File "", line 1, in ?
SystemError: _PyImport_FixupExtension: module embedded_hello not loaded
I am compiling boost as a dynamic lib, and embedded.cpp is compiled into a console application.
I am using VS.NET 2003, Python 2.3, and boost 1.30.2.
Do I have to build the python sources? (I am just using the binaries that come with the Windows distribution).
My goal is to have a single .exe that embeds the interpreter and defines modules that can be used form the scripts. I do not want extensions (pyd) files, I want all the extension code to be on the exe. I am not very interested on building stuff with Jam, so it would be very useful to get configuration information from somebody that has done this before in the PC with VS.NET.
Thank you,
ldeej