Okay, it seems that there are still some emails that don't display
properly... I've attached one that shows only the header (body appears
blank, but viewing the source shows the message).  I forwarded it as an
attachment since that seems to be the only way to retain the message's
original format.

If no one else has problems viewing this attachment then I am led to
suspect that installing the MS web fonts may be at the root of the
problem...

Regards,

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308
--- Begin Message ---
Title: OGL sample: link errors

wxWindows 2.3.3.1 from wxPythonSrc-2.3.3.1 sources.
OS: Win2K

Could someone please help me compile the Debug version of contrib/samples/ogl/studio application. The Visual Studio project file has it linking with wxmsw233d.lib and ogld.lib.

I'm getting a lot of "multiple definition" link errors such as this:

ogld.lib(ogldiag.obj) : error LNK2005: "public: __thiscall wxString::~wxString(void)" (??1wxString@@QAE@XZ) already defined in wxmsw233d.lib(wxmsw233d.dll)

... and also many undefined symbol errors like this:

ogld.lib(constrnt.obj) : error LNK2001: unresolved external symbol "public: static class wxClassInfo *  wxClassInfo::sm_first" (?sm_first@wxClassInfo@@2PAV1@A)

I suspect that ogld.lib was built incorrectly because I used the Visual Studio project file rather than makefile.vc. I'm confused because there are 3 ways to build a .lib file for OGL: 1) makefile.vc, 2) Visual Studio, 3) wxPython/setup.py

I've successfully built a lib using methods 2 and 3, but neither of them link in correctly. Method 1 failed because of the following error:

C:\wxPythonSrc-2.3.3.1\src\makevc.env(8) : fatal error U1052: file 'ntwin32.mak' not found

I've successfully built wxmsw233d.lib by following the instructions in BUILD.win32.txt.
If it is relevant, below is the result if `diff setup0.h setup.h` in the include/wx/msw directory:

53c53
< #define WXWIN_COMPATIBILITY_2_2 1
---
> #define WXWIN_COMPATIBILITY_2_2 0
82c82
< #define wxDIALOG_UNIT_COMPATIBILITY   1
---
> #define wxDIALOG_UNIT_COMPATIBILITY   0
116c116
< #define wxUSE_MEMORY_TRACING 0
---
> #define wxUSE_MEMORY_TRACING 1
217c217
< #define wxUSE_CMDLINE_PARSER 1
---
> #define wxUSE_CMDLINE_PARSER 0
279c279
< #define wxUSE_FSVOLUME      1
---
> #define wxUSE_FSVOLUME      0
361c361
< #define wxUSE_DIALUP_MANAGER   1
---
> #define wxUSE_DIALUP_MANAGER   0
374c374
< #define wxUSE_DYNAMIC_LOADER  1
---
> #define wxUSE_DYNAMIC_LOADER  0
775c775
< #define wxUSE_TREELAYOUT     1
---
> #define wxUSE_TREELAYOUT     0
824c824
< #define wxUSE_MS_HTML_HELP 1
---
> #define wxUSE_MS_HTML_HELP 0
860c860
< #define wxUSE_POSTSCRIPT  0
---
> #define wxUSE_POSTSCRIPT  1

--- End Message ---

Reply via email to