|
From: Carlos d. M. <cg...@wo...> - 2002-06-26 10:25:02
|
JAIME ESPINOSA escribi=F3: > under the project specific options, include for: > > Compiler=3D > > --pipe -fvtable-thunks -D_X86_=3D1 -DWIN32 -D_WIN32 -DWINVER=3D0x0400 > -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DSTRICT -D__WXMSW__ > -D__WINDOWS__ -D__WXDEBUG__ -Wall -fno-pcc-struct-return -fno-rtti > -fno-exceptions > > and for Linker=3D > > -lwx -lregex -lpng -ljpeg -lzlib -ltiff -lstdc++ -lgcc -lwinspool > -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lodbc32 > -lwsock32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid > > It should compile. Well, now these remain: d:\devpro\wx\hworld.o: In function `_7MyFrameRC8wxStringRC7wxPointRC6wxSize': //C/Dev-Cpp/Include/wx/string.h:322: undefined reference to `wxString::InitWith(unsigned wchar_t const *, unsigned int, unsigned int)' //C/Dev-Cpp/Include/wx/string.h:322: undefined reference to `wxString::InitWith(unsigned wchar_t const *, unsigned int, unsigned int)' //C/Dev-Cpp/Include/wx/string.h:322: undefined reference to `wxString::InitWith(unsigned wchar_t const *, unsigned int, unsigned int)' //C/Dev-Cpp/Include/wx/string.h:322: undefined reference to `wxString::InitWith(unsigned wchar_t const *, unsigned int, unsigned int)' //C/Dev-Cpp/Include/wx/string.h:322: undefined reference to `wxString::InitWith(unsigned wchar_t const *, unsigned int, unsigned int)' d:\devpro\wx\hworld.o://C/Dev-Cpp/Include/wx/string.h:322: more undefined references to `wxString::InitWith(unsigned wchar_t const *, unsigned int, unsigned int)' follow d:\devpro\wx\hworld.o: In function `$_7MyFrame': //d/devpro/wx/hworld.cpp(.text$GetName__C12wxWindowBase+0x31): undefined reference to `wxOnAssert(unsigned wchar_t const *, int, unsigned wchar_t const *)' I search in Dev-C++ folders an archive containing wxString::Init*, the result is wx22.def, which does not generate libwx22.a. I tried build it doing ar rcl libwx22.a wx22.def Then it says wx22.a: could not read symbols: archive has no index; run ranlib to add one. Then I do ranlib libwx22.a and ar -s which is said to be equivalent, but that message still remains. I try ar-srcl libwx22.a wx22.def, but it neither works, perhaps this is not the way to do this. Some poimts about the package at Dev page: It is only for Dev 5, so if you have Dev4 you cannot use it, int he old package page I found an old wxwindows package which has the link broken. Thank you. |