AW: [Dev-C++] Dev-C++ 4.9.9.1 with wxWindows 2.4.2
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: atm <at...@su...> - 2004-12-09 07:20:39
|
hi, are you shure, you didn't change anything else? got similar problems while changing from wx 2.4.2 to 2.5.x and fixed it, playing around with the linking order. You might not have this problem, because 2.4.2's just working with mainly one "monolith" library, but the other libs (comiler...), you have to link against, will need thier order too. Have look to: http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?8:sss:62043:200407:idibmoffciml nechjpko#b or http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?t=95&highlight=vtable or http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?t=307&highlight=vtabl e or http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?t=10&highlight=vtable hope it helps cheers achim > Hi, > Recently, I installed the newest version of Dev-C++ 4.9.9.1. > I create a new wxWindows 2.4.2 project with only the template. > After compiling, I got the following error message. > I did not have this error message with Dev-C++ 4.9.9.0. > Any help is appreciated. > > Edward > // ****************************************** > > make.exe -f "E:\dev_projects\Makefile.win" all > g++.exe -c main.cpp -o ain.o -I"e:/Dev-Cpp/include/c++" -I"e:/Dev-Cpp/include/c++/mingw32" -I"e:/ Dev-Cpp/include/c++/backward" -I"e:/Dev-Cpp/include" > -I"E:/Dev-Cpp/include/tnt_jama" -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32_ _ -D__WIN32__ -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-stru ct-> > return -O2 -Os -fno-rtti -fno-exceptions > windres.exe -i test1_private.rc --input-format=rc -o test1_private.res -O coff > g++.exe main.o test1_private.res -o "test1.exe" -L"e:/Dev-Cpp/lib" -mwindows -Wl,--subsystem,windows -mwindows - lwxmsw -lstdc++ -lgcc -lodbc32 -lwsock32 -> > lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lopengl32 -lglu 32 -lole32 -loleaut32 -luuid > e:/Dev-Cpp/lib/libwxmsw.a(mdi.o)(.data$_ZTV14wxMenuItemList+0x0):mdi.cpp: multiple definition of `vtable for wxMenuItemList' > main.o(.rdata$_ZTV14wxMenuItemList+0x0):main.cpp: first defined here > make.exe: *** [test1.exe] Error 1 > // ****************************************** |