User forums > Help
wxPack and cannot find -lwxmsw_core
SedesGobhani:
Hi;
I installed wxWindows and compiled using Borland. I got the error about -lwxmsw_core. I searched the forum for that term and found only one thread, which seemed unresolved. I then googled and found someone showing how to select build options from the Wizard. When I use the wizard to create new WxWidgets project I don't get prompted about build options (ie. shared, monolithic, unicode...). So I read that if you install wxPack you don't have to worry about build options, it just works. So I installed that and changed the global variable wx base to the default place where wxPack installed, which is C:\SourceCode\Libraries\wxWidgets2.8. However I still get the -lwxmsw_core error. The error appears as below:
-------------- Build: Release in fx2gui ---------------
Linking executable: bin\Release\fx2gui.exe
C:\Program Files\CodeBlocks\MinGW\bin\ld.exe: cannot find -lwxmsw_core
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 4 seconds)
1 errors, 0 warnings
I've been using Code::Blocks for writing console apps and DLLs but on this problem now I've spent enough time dinking around with it I figured it's time to humble myself and ask for some help.
Thanks,
SG
TDragon:
Try the wiki...
SedesGobhani:
--- Quote from: TDragon on August 18, 2009, 02:00:44 am ---Try the wiki...
--- End quote ---
Yep. Solved that, and a few other problems since then. Now I'm stuck with:
undefined reference to `__Unwind_Resume'
I give up.
Thanks partners. Always a pleasure.
stahta01:
Shot in the dark, is your file extension correct?
.c for c code
.cpp for c++ code
Tim S.
MortenMacFly:
--- Quote from: SedesGobhani on August 18, 2009, 08:53:07 am ---undefined reference to `__Unwind_Resume'
--- End quote ---
Did you use the very same compiler that wxPack was compiled with?
For example: if wxPack was compiled with GCC4 you cannot do your stuff with GCC3.x.
Navigation
[0] Message Index
[#] Next page
Go to full version