Code::Blocks Forums
User forums => Help => Topic started by: mastersgn on December 01, 2007, 06:57:01 pm
-
Hi,
I've installed CodeBloks ide, MinCW, and...wxWidgets 2.8.7
Then i set all path, links etc etc etc...
MinCW works, but if i compile a wxWidgets project the linker gives this error:
obj\Release\main.o:main.cpp:(.bss+0x50): first defined here
obj\Release\connection.o:connection.cpp:(.rdata+0x0): multiple definition of `MyConnection::sm_eventTable'
obj\Release\main.o:main.cpp:(.rdata+0x0): first defined here
D:\CodeBlocks\MinGW-5.1.3\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmsw28_core
Process terminated with status 1 (0 minutes, 10 seconds)
1 errors, 1 warnings
WHAT IS -lwxmsw28_core?? :?
Tanks
-
The wxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef) might help you.
-
WHAT IS -lwxmsw28_core?? :?
The problem is that you are trying to develop a wxWidgets app but have no clue about the wxWidgets basics, obviously. This library it the wxWidgets core library that you need to link against. Of course either you build this lib yourself or you use something like wxPack. The latter might require tweaking compiler/linker settings a little.
With regards, Morten.