Author Topic: cannot find -lwxmsw28_core  (Read 4080 times)

mastersgn

  • Guest
cannot find -lwxmsw28_core
« 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

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: cannot find -lwxmsw28_core
« Reply #1 on: December 01, 2007, 06:59:04 pm »
The wxWindowsQuickRef might help you.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: cannot find -lwxmsw28_core
« Reply #2 on: December 02, 2007, 02:02:09 pm »
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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ