[wxPython] Final Windows binaries for wxPython 2.3.3.1

Robin Dunn wrote:

Try putting FINAL=1 on the setup.py command-line.

I am, but it doesn't seem to make a difference.

running: python setup.py install FINAL=1
results in:
LINK : fatal error LNK1181: cannot open input file "wxmsw233h.lib"
at the link step.

Now I tried setting the flags manually in setup.py and that gets it to
link against wxmsw233.lib, but now I am getting unresolved
externals.
A bunch of unresolved externals involving wxAssert like this:

windows.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) v
oid __cdecl wxAssert(int,char const *,int,char const *,char const *)" (__imp_?wx
Assert@@YAXHPBDH00@Z)

as well as a bunch about wxObject new:

wx.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public
: static void * __cdecl wxObject::operator new(unsigned int,char const *,int)" (
__imp_??2wxObject@@SAPAXIPBDH@Z)

I'm using wxWindows 2.3.3 from the wxwindows.org site. Is this the
correct version, or do I need to get into CVS?

lipid@68k.org wrote:

Robin Dunn wrote:

Try putting FINAL=1 on the setup.py command-line.

I am, but it doesn't seem to make a difference.

running: python setup.py install FINAL=1
results in:
LINK : fatal error LNK1181: cannot open input file "wxmsw233h.lib"
at the link step.

Okay, I've fixed that.

Now I tried setting the flags manually in setup.py and that gets it to
link against wxmsw233.lib, but now I am getting unresolved
externals.
A bunch of unresolved externals involving wxAssert like this:

windows.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) v
oid __cdecl wxAssert(int,char const *,int,char const *,char const *)" (__imp_?wx
Assert@@YAXHPBDH00@Z)

as well as a bunch about wxObject new:

wx.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public
: static void * __cdecl wxObject::operator new(unsigned int,char const *,int)" (
__imp_??2wxObject@@SAPAXIPBDH@Z)

You need to rebuild everything. It looks like at lease some of your wxPython .obj files were built with hybrid settings.

I'm using wxWindows 2.3.3 from the wxwindows.org site. Is this the
correct version, or do I need to get into CVS?

It should be okay, but if you use wxPythonSrc then you'll have exactly what I used to make the released binaries, including the wxWindows sources.

http://prdownloads.sf.net/wxpython/wxPythonSrc-2.3.3.1.tar.gz

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!