[vtkusers] Errors of building vtkpython.exe
Leila Baghdadi
baghdadi at sickkids.ca
Mon May 3 17:53:09 EDT 2004
Hi Jay
I had a similar problem with windows xp and python 2.3 specifically with
programs on VTK/Wrapping/Python so I decided to go back to python 2.2
and things went back to normal, i am not sure what causes the problem.
HTH
Leila
On Mon, 2004-05-03 at 16:00, Jay Li wrote:
> Dear All,
>
> I'm doing Python + VTK stuff. I've installed Python 2.3.3 on Windows
> XP by using the Python-2.3.3.exe downloaded from the Python website. I
> also selected "ON" of VTK_WRAP_PYTHON in CMake. However when I
> builded the solution in VC++ .Net, an error "LINK : fatal error
> LNK1104: cannot open file 'python23_d.lib' " always showed out. Seems
> it's a debug-related error.
>
> I searched online document. There's an
> articlehttp://public.kitware.com/pipermail/insight-users/2003-December/005866.html talking about this problem. I followed the instruction changing the code on line 221 in pyconfig.h from"python23_d.lib" to ""python23.lib" . This time the building went further, but other errors occured,
>
> "vtkPythonAppInit.obj : error LNK2019: unresolved external symbol
> __imp___Py_Dealloc referenced in function _main
> vtkPythonAppInit.obj : error LNK2019: unresolved external symbol
> __imp___Py_NegativeRefcount referenced in function _main
> vtkPythonAppInit.obj : error LNK2001: unresolved external symbol
> __imp___Py_RefTotal
> D:\ljh\vtkbin\bin\Debug\vtkpython.exe : fatal error LNK1120: 3
> unresolved externals"
>
> Could anyone give me any hints? How to solve this kind of problems?
> Thanks a lot!
>
> Jay
>
>
> ______________________________________________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
More information about the vtkusers
mailing list