Hi,
I have been able to solve the problem finally:
Initially I was trying (wrongly) to link distutils-made module with my
application and that has failed. Solution was to (instead of linking the
module) compile the source files making up the module and link corresponding
objects as any other s
Hi,
>The missing symbol looks like a C++-symbol - but Python is C. Do you maybe
>miss the
> extern "C"
>
> declaration.
I have not specified extern "C" as I assume it is a part of
PyMODINIT_FUNC define. At least documentation says so:
"Note that PyMODINIT_FUNC declares the function as PyObjec
Krzysztof Kobus schrieb:
Hi,
I have a problem with linking python module with my application on mac in order to make
the module available in "embedded python".
My python module is contained in j3kmodule.cxx file and module initialization
function is exported in j3kmodule.h
j3kmodule.h:
Hi,
> > Well, it seems that one of your files is a different architecture than
> > the others. Based on the location, I'd say it's i386 while the rest of
> > it would be PowerPC. You can cross-compile but you can't link an i386
> > library to a PowerPC library.
Thank you for the hint. I have ch
On Tue, Jan 5, 2010 at 7:33 AM, Krzysztof Kobus wrote:
> Hi,
>
> I have a problem with linking python module with my application on mac in
> order to make the module available in "embedded python".
>
> My python module is contained in j3kmodule.cxx file and module
> initialization function is e
Hi,
I have a problem with linking python module with my application on mac in order
to make the module available in "embedded python".
My python module is contained in j3kmodule.cxx file and module initialization
function is exported in j3kmodule.h
j3kmodule.h:
PyMODINIT_FUNC PyI
Hi all,
I am new to Python and trying to embed it into a c/c++ application. I
started with examples from the documentation pages and go to the Pure
Embedding example (http://docs.python.org/ext/pure-embedding.html). I
can compile and run this example on wxDevC++ with a mingwin compiler.
However wh
Hi everyone,
I thought that I would compile the python debug library and
step through it to figure out where things fail. So, I downloaded
python 2.4.1 and compile the python24_d.lib using the dsp files
in PCBuild. It compiles fine whitout a problem, but when I link agains
it i get a unresolved ex
Hello J,
> I will put a hold on compiling the latest version until I really have to.
> I will probably switch to VC 7 before that.
You can use the (free) MinGW compiler (www.mingw.org). It can build
extension that link to Python 2.4.
Just use distutils setup.py and run 'python setup.py build_ext
cs App and I came
> > across this linking problem.
> >
> >
> > SO.lib(ScnGlobal.obj) : error LNK2001: unresolved external symbol
> > __imp__Py_InitModule4TraceRefs
> > SO.lib(ScnNode.obj) : error LNK2001: unresolved external symbol
> > __imp___Py_RefTota
Hello Jochen,
> I started embedding python into a 3D graphics App and I came
> across this linking problem.
>
>
> SO.lib(ScnGlobal.obj) : error LNK2001: unresolved external symbol
> __imp__Py_InitModule4TraceRefs
> SO.lib(ScnNode.obj) : error LNK2001: unres
Hello Jochen,
> I started embedding python into a 3D graphics App and I came
> across this linking problem.
>
>
> SO.lib(ScnGlobal.obj) : error LNK2001: unresolved external symbol
> __imp__Py_InitModule4TraceRefs
> SO.lib(ScnNode.obj) : error LNK2001: unres
On Thu, Jul 07, 2005 at 04:52:11AM -0700, J wrote:
> Hi everyone,
>
> I started embedding python into a 3D graphics App and I came
> across this linking problem.
>
>
> SO.lib(ScnGlobal.obj) : error LNK2001: unresolved external symbol
> __imp__Py_InitModule4TraceR
Hi everyone,
I started embedding python into a 3D graphics App and I came
across this linking problem.
SO.lib(ScnGlobal.obj) : error LNK2001: unresolved external symbol
__imp__Py_InitModule4TraceRefs
SO.lib(ScnNode.obj) : error LNK2001: unresolved external symbol
__imp___Py_RefTotal
SO.lib
I compiled Python on one Linux box and copied it to another Linux box.
This causes an import problem:
>>> import urllib
Traceback (most recent call last):
File "", line 1, in ?
File "/edl3/wb104/analysis/python2.2/lib/python2.2/urllib.py", line
26, in ?
import socket
File "/edl3/wb104/a
15 matches
Mail list logo