Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Linker errors in compiling minimal.cpp example

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Linker errors in compiling minimal.cpp example
#2331
Posted by: 2003-06-25 22:08:33
I installed the wxWindows device Pak to a working Dev-Cpp and when I tried to Compile and Run I got 138 errors when linking.  Any help would be appreciated.  Here is the Compiler log transcript:

Compiler: Default compiler
Building Makefile: "D:Dev-CppMakefile.win"
Executing  make...
make.exe -f "D:Dev-CppMakefile.win" all
g++.exe -c Templates/main.cpp -o Templates/main.o -I"D:/DEV-CPP/include" -D_X86_=1 -DWIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -mthreads -DSTRICT  -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions   -D_X86_=1 -DWIN32 -D_WIN32 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -DSTRICT  -D__WXMSW__ -D__WINDOWS__  -fmessage-length=0  -fno-rtti -fno-exceptions
windres.exe -i Project1_private.rc -I rc -o Project1_private.res -O coff
g++.exe Templates/main.o Project1_private.res -o "Project1.exe" -L"D:/DEV-CPP/lib" -L"D:/cygwin/lib" -mwindows -lwxmswu -lstdc++ -lgcc -lodbc32 -lwsock32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid  
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xd5e):string.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xd7d):string.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xdd1):string.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xdf2):string.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xf1c):string.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xf56):string.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xf99):string.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xfc9):string.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0xff6):string.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0x1031):string.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0x1044):string.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0x105a):string.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0x2163):string.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text+0x21bd):string.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text$_Z7StricmpPKcS0_+0x5):string.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text$_ZNK8wxString9CmpNoCaseEPKc+0xd):string.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text$_ZNK8wxString8IsSameAsEPKcb+0x27):string.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(string.o)(.text$_ZNK8wxString9CompareToEPKcNS_11caseCompareE+0x1f):string.cpp: more undefined references to `__stricmp' follow
D:/DEV-CPP/lib/libwxmswu.a(menucmn.o)(.text+0x6a1):menucmn.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(menucmn.o)(.text+0x6e5):menucmn.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(menucmn.o)(.text+0x718):menucmn.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(menucmn.o)(.text+0x72b):menucmn.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(menucmn.o)(.text+0x980):menucmn.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(menucmn.o)(.text+0x9da):menucmn.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(log.o)(.text+0xc71):log.cpp: undefined reference to `__imp___iob'
D:/DEV-CPP/lib/libwxmswu.a(log.o)(.text+0xca5):log.cpp: undefined reference to `__imp___iob'
D:/DEV-CPP/lib/libwxmswu.a(thread.o)(.text+0x597):thread.cpp: undefined reference to `__beginthreadex'
D:/DEV-CPP/lib/libwxmswu.a(thread.o)(.text+0xe31):thread.cpp: undefined reference to `__endthreadex'
D:/DEV-CPP/lib/libwxmswu.a(filename.o)(.text+0x1e69):filename.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(filename.o)(.text+0x1e8e):filename.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(cmdline.o)(.text+0x2d33):cmdline.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(cmdline.o)(.text+0x2d71):cmdline.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(intl.o)(.text+0x1ee5):intl.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(strconv.o)(.text+0x4e8):strconv.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(strconv.o)(.text+0x4f9):strconv.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(msgout.o)(.text+0x61):msgout.cpp: undefined reference to `__imp___iob'
D:/DEV-CPP/lib/libwxmswu.a(config.o)(.text+0xc62):config.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(config.o)(.text+0xd7f):config.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(textctrl.o)(.text+0x51b):textctrl.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x20f):txtstrm.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x23b):txtstrm.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x270):txtstrm.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x295):txtstrm.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x33b):txtstrm.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x373):txtstrm.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x3ef):txtstrm.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x47a):txtstrm.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x490):txtstrm.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(txtstrm.o)(.text+0x4bb):txtstrm.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(tokenzr.o)(.text+0x8a):tokenzr.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(tokenzr.o)(.text+0xc9):tokenzr.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(image.o)(.text+0x266f):image.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0x1c8):filefn.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0x5c5):filefn.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0x5e8):filefn.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0xbc2):filefn.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0xbd4):filefn.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0xf14):filefn.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0xf3d):filefn.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0xfc6):filefn.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(filefn.o)(.text+0x101e):filefn.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(file.o)(.text+0x4b8):file.cpp: undefined reference to `__tell'
D:/DEV-CPP/lib/libwxmswu.a(file.o)(.text+0x53c):file.cpp: undefined reference to `__tell'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x222):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x266):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x2e4):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x328):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x38f):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x412):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x457):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x488):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3030):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x314a):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x394a):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3979):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3a25):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3a4b):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3a75):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3a9f):datetime.cpp: more undefined references to `__isctype' follow
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3f03):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3f16):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3f29):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3f3f):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3f65):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3f90):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3fbe):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3fd1):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3fe4):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x3ffa):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x4010):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x4026):datetime.cpp: more undefined references to `__imp___pctype' follow
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x43d2):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x43fb):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x4758):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x4792):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x47ca):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x5066):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x50e6):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x53fe):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x55e8):datetime.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x5cde):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x5d53):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x5e5f):datetime.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(datetime.o)(.text+0x5f2d):datetime.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(xpmdecod.o)(.text+0xce1):xpmdecod.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(xpmdecod.o)(.text+0xd07):xpmdecod.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0x370):valtext.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0x393):valtext.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0x3cc):valtext.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0x3ef):valtext.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xa25):valtext.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xa4a):valtext.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xa6c):valtext.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xafb):valtext.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xb11):valtext.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xb28):valtext.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xbd3):valtext.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(valtext.o)(.text+0xc0f):valtext.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x1943):fileconf.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x1993):fileconf.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x19f3):fileconf.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x1b0f):fileconf.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x1bb0):fileconf.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x1c3c):fileconf.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x1c5e):fileconf.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x1e1d):fileconf.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x36b8):fileconf.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x3714):fileconf.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x446b):fileconf.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x45dd):fileconf.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x46a4):fileconf.cpp: undefined reference to `__isctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x4702):fileconf.cpp: undefined reference to `__imp___pctype'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x426b):fileconf.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(fileconf.o)(.text+0x4287):fileconf.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(registry.o)(.text+0xf9):registry.cpp: undefined reference to `__stricmp'
D:/DEV-CPP/lib/libwxmswu.a(registry.o)(.text+0x111):registry.cpp: undefined reference to `__stricmp'
collect2: ld returned 1 exit status
make: *** [Project1.exe] Error 1
Execution terminated
Message2. Re: Linker errors in compiling minimal.cpp example
#2332
Posted by: 2003-06-25 22:20:13
NOTE: I installed onto a Windows 98SE system.
Message3. Re: Linker errors in compiling minimal.cpp example- anyone out there?
#2352
Posted by: 2003-07-02 22:16:18
Anyone out there who can help
Message4. Re: Linker errors in compiling minimal.cpp example- anyone out there?
#2354
Posted by: guidance 2003-07-02 23:29:57
Try "rebuild all"?
Message5. Re: Linker errors in compiling minimal.cpp example
#2369
Posted by: 2003-07-07 18:29:33
Would you mind giving us the version of Dev-C++ and the devpack you downloaded?
If it was a devpack for gcc 2.95 and you try using it with gcc 3.2 you'll be out of luck, because the libs for 2.95 and 3.2 are NOT compatible.
You'll either have to find a devpack for your compiler, update your compiler to a more recent version, or rebuild wxWindows on your own (which surely is the way I'd recommend).

upcase
Message6. Re: Linker errors in compiling minimal.cpp example- anyone out there?
#2371
Posted by: 2003-07-07 19:06:09
I tried "Rebuild All" but got the same result.
Message7. Re: Linker errors in compiling minimal.cpp example
#2373
Posted by: 2003-07-07 21:04:24
Thanks for your response, I'm sure you were wondering if I was "out there" anymore.  I was out of the office, sorry.

I am using Dev-C++ Version 4.9.8.0
gcc version 3.2 20020927 (prerelease)
WxWindows-2.4.0.DevPak
imagelib-2.DevPak

I started building wxWindows on my own, but was getting mired down and thought that I would try the device pack method again, since, I was hoping that I had a fairly "typical" installation.

Any help you are able to suggest is much appreciated.  this looks like a very nice package.
Message8. Re: Linker errors in compiling minimal.cpp example
#2374
Posted by: 2003-07-07 22:43:11
Hope you got it from http://www.bg.bib.de/~bbsh1akr/devpack.html :)
In that case it would be a devpack I made and currently there are no replies that it doesn't work.
As I said I use a pretty similar setup compared to yours, what makes me even more curious why it doesn't work for you...
What Windows are you on? I heard that Win95 would have problems with unicode versions of wxWindows and so does Win98 I guess. Telling from libwxmswu.a you are using the unicode version...

Anyway, following the above link you'll find a tutorial on building wx. If nothing else works, try that. I had problems too when I first started (downloaded an old devpack) and to me it seems allways wise to compile things on you own if you can.
If I find the time I'll make a new devpack with the 2.4.1 version.

Anyway: Your problems seems to be that the linker misses other lib. Are you sure that you have your paths set correctly under dev-c++ and are linking to all needed libs?

upcase
Message9. Re: Linker errors in compiling minimal.cpp example
#2395
Posted by: 2003-07-15 01:24:06
I am running W98SE.
I downloaded the devpack from the source you referred, but get the same messages except that it tried to refer to the libwxmsw.a (non-unicode) which is in the lib directory specified in the Tools/Compiler Options/Directories menu.
I have not tried compiling the package on my own, yet.
Message10. Re: I'm using Dev 4970 mingw 295.36cc Any Ideas
#2396
Posted by: 2003-07-15 19:43:39
C:/Dev-Cpp/include/wx/string.h:164: #error "Please define string case-insensitive compare for your
Message11. Re: Linker errors in compiling minimal.cpp example
#2397
Posted by: 2003-07-15 21:23:09
Hi!
Have you defined all the needed symbols under compiler options? Do so and this should stop the message about strings. Otherwise (allways the best way): Get the sources, modify setup.h and compile it...

upcase
Message12. Re: Linker errors in compiling minimal.cpp example
#2403
Posted by: 2003-07-22 21:14:44
I re-installed Dev-Cpp with the minGW compiler, re-installed the device packs as was able to get a clean build on the sample program.  I must not have been linking correctly to the cygwin compiler.
Thanks for the help
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-3-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0