[2.6.3, Unicode, MSLU] minimal will not work under Windows 98

Vadim Zeitlin vadim at wxwindows.org
Thu Aug 31 15:44:23 PDT 2006


On Thu, 31 Aug 2006 14:27:34 +0200 si <nomail at nonet.no> wrote:

s> Well this is a strange thing.
s> When I build wxWidgets as DLLs (adding unicows.lib to each DLL project) 
s> and then build the minimal sample it works (launches under Windows 98).
s> But when I try to build it with wxWidgets linked statically the 
s> LoadLibraryW fails.
s> See the linker settings bellow (it looks like I'm making some stupid 
s> some mistake each time):
s> 
s> /OUT:"vc_mswud\minimal.exe" /INCREMENTAL:NO /NOLOGO 
s> /LIBPATH:".\..\..\lib\vc_lib" /NODEFAULTLIB:"msvcrtd" /DEBUG 
s> /PDB:".\vc_mswud/minimal.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 
s> unicows.lib wxmsw26ud_core.lib wxbase26ud.lib wxtiffd.lib wxjpegd.lib 
s> wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib winmm.lib comctl32.lib 
s> rpcrt4.lib wsock32.lib odbc32.lib  kernel32.lib user32.lib gdi32.lib 
s> winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib 
s> oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

 I don't see anything wrong in your linker settings but I do see something
suspicious: why is there /NODEFAULTLIB? If you really need it (i.e. if you
get warnings or errors after removing it) you must be linking with some
wrong libraries, normally it is unneeded. But other than that I have no
idea, sorry.

 Good luck and please let us know if you find the problem,
VZ
-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/






More information about the wx-users mailing list