MinGW Linker problem

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

MinGW Linker problem

John-21-3
hi,

I already as far, that my project get's linked. but while linking there appears
an error. Below you can see which error that is and that the error appear quite
often (these are only some lines out of a lot more).

I already googled and got a hint,
that I should compile c++ code with g++ and not with gcc.
Is my code compiled by gcc and not by g++ and this is the
reason why the error turns up?

I'm glad for any help I can get.
Thank you in advance.

John

C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_scrlwing.o)(.text+0xe2c):scrlw
ing.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_scrlwing.o)(.text+0xe7c):scrlw
ing.cpp: more undefined references to `_Unwind_Resume' follow
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_scrlwing.o)(.eh_frame+0x12):sc
rlwing.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printwin.o)(.text+0x22c):print
win.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printwin.o)(.text+0x314):print
win.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printwin.o)(.text+0x96a):print
win.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printwin.o)(.text+0x97c):print
win.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printwin.o)(.text+0xa06):print
win.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printwin.o)(.text+0xd27):print
win.cpp: more undefined references to `_Unwind_Resume' follow
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printwin.o)(.eh_frame+0x12):pr
intwin.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x861):print
dlg.cpp: undefined reference to `PageSetupDlgA@4'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x914):print
dlg.cpp: undefined reference to `PrintDlgA@4'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x9bb):print
dlg.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x1025):prin
tdlg.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x1420):prin
tdlg.cpp: undefined reference to `PrintDlgA@4'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x1638):prin
tdlg.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x1755):prin
tdlg.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x1775):prin
tdlg.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x1791):prin
tdlg.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x17a5):prin
tdlg.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.text+0x1885):prin
tdlg.cpp: more undefined references to `_Unwind_Resume' follow
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_printdlg.o)(.eh_frame+0x12):pr
intdlg.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x368):dcprin
t.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x49c):dcprin
t.cpp: undefined reference to `PrintDlgA@4'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x5f4):dcprin
t.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x756):dcprin
t.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0xa7c):dcprin
t.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0xb8d):dcprin
t.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0xd95):dcprin
t.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0xf3f):dcprin
t.cpp: undefined reference to `PrintDlgA@4'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0xfc9):dcprin
t.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x117f):dcpri
nt.cpp: undefined reference to `PrintDlgA@4'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x1209):dcpri
nt.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x12da):dcpri
nt.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x139a):dcpri
nt.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text+0x148d):dcpri
nt.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text$_ZN11wxPrinte
rDCD0Ev[wxPrinterDC::~wxPrinterDC()]+0x4a):dcprint.cpp: undefined reference to `
_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.text$_ZN11wxPrinte
rDCD1Ev[wxPrinterDC::~wxPrinterDC()]+0x42):dcprint.cpp: more undefined reference
s to `_Unwind_Resume' follow
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_dcprint.o)(.eh_frame+0x12):dcp
rint.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_quantize.o)(.text+0x1e25):quan
tize.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_quantize.o)(.eh_frame+0x12):qu
antize.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_anidecod.o)(.text+0x3fe):anide
cod.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_anidecod.o)(.text+0x44e):anide
cod.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_anidecod.o)(.text+0x6de):anide
cod.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_anidecod.o)(.text+0x72e):anide
cod.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_anidecod.o)(.text+0x89e):anide
cod.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_anidecod.o)(.text+0x8ee):anide
cod.cpp: more undefined references to `_Unwind_Resume' follow
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_anidecod.o)(.eh_frame+0x12):an
idecod.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_clipcmn.o)(.text+0x120):clipcm
n.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_clipcmn.o)(.text+0x190):clipcm
n.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_clipcmn.o)(.text$_ZN17wxClipbo
ardModuleD0Ev[wxClipboardModule::~wxClipboardModule()]+0x53):clipcmn.cpp: undefi
ned reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_clipcmn.o)(.text$_ZN17wxClipbo
ardModuleD1Ev[wxClipboardModule::~wxClipboardModule()]+0x4b):clipcmn.cpp: undefi
ned reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_clipcmn.o)(.eh_frame+0x12):cli
pcmn.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timer.o)(.text+0x1e5):timer.cp
p: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timer.o)(.text+0x554):timer.cp
p: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timer.o)(.text+0x59c):timer.cp
p: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timer.o)(.text+0x5dc):timer.cp
p: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timer.o)(.eh_frame+0x12):timer
.cpp: undefined reference to `__gxx_personality_v0'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timercmn.o)(.text+0x1f2):timer
cmn.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timercmn.o)(.text+0x28c):timer
cmn.cpp: undefined reference to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timercmn.o)(.text$_ZNK12wxTime
rEvent5CloneEv[wxTimerEvent::Clone() const]+0x4f):timercmn.cpp: undefined refere
nce to `_Unwind_Resume'
C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_timercmn.o)(.eh_frame+0x12):ti
mercmn.cpp: undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [acrls.exe] Error 1
mingw32-make[1]: *** [CMakeFiles/acrls.dir/all] Error 2
mingw32-make: *** [all] Error 2


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: MinGW Linker problem

Brian Dessent
John wrote:

C:\wx\wx2.8\lib\gcc_lib\libwxmsw28_core.a(corelib_scrlwing.o)(.text+0xe2c):scrlw
> ing.cpp: undefined reference to `_Unwind_Resume'

What version of gcc are you using?  It appears that you're trying to
link with a binary of the wxwidgets library that was built with a
DW2-enabled version of gcc but your're using a SJLJ version of gcc.  You
can't mix objects built with incompatible compilers like that.  Either
switch to the version of gcc that the library was built with, or build
the library yourself.

Brian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: MinGW Linker problem

John-21-3
Hi Brian,

yes you were right. I had an old MinGW installation on my pc and so wxwidgets
was built with another gcc version.

I build wxwidgets now with same gcc I'm using to compile my code.
But I'm still getting error message. Have I still done something wrong?
You can find these messages below.

Thanks for any help.

John

CMakeFiles\acrls.dir\src\app.cxx.obj:app.cxx:(.text+0x16a)||
undefined reference
to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\app.cxx.obj:app.cxx:(.
rdata$_ZTVN4ibia8ACRLSAppE[vtable
for ibia::ACRLSApp]+0x44)||undefined reference to
`wxApp::Initialize(int&, char**)'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x7f)||
undefined reference
to `_imp___ZN8wxString6PrintfEPKcz'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0xad)||
undefined reference
to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x125ba)||
undefined
reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x125ea)||
undefined
reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x126c7)||
undefined
reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
CMakeFiles\acrls.dir\src\main.cxx.obj:main.cxx:(.text+0x126f7)||
undefined
)]+0xac)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0x1ee)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0x809)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0xac)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
)]+0x1ee)||undefined reference to `_imp___ZN12wxStringBase8InitWithEPKcjj'|
...
...
...
::WriteLayerThickness()]+0x2b23)||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x2e8)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x337)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x386)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x4653)
||undefined reference to
`_imp___ZN12wxStringBase8InitWithEPKcjj'|
::CalculateQuantitativeMeasurements()]+0x4690)
||undefined reference to
`_imp___ZN12wxStringBase10ConcatSelfEjPKcj'|
::CalculateQuantitativeMeasurements()]+0x46c8)
||undefined reference to
`_imp___ZN12wxStringBase10ConcatSelfEjPKcj'|
::CalculateQuantitativeMeasurements()]+0x4849)
||undefined reference to
`_imp___ZN12wxStringBase10ConcatSelfEjPKcj'|
::CalculateQuantitativeMeasurements()]+0x4879)
||undefined reference to
`_imp___ZN8wxString6FormatEPKcz'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 64 warnings ===|


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: MinGW Linker problem

Brian Dessent
John wrote:

> I build wxwidgets now with same gcc I'm using to compile my code.
> But I'm still getting error message. Have I still done something wrong?
> You can find these messages below.

It's impossible to tell what the problem is without seeing the full and
exact command being invoked.  Note that you should use g++ to link and
that order of arguments matters.

Brian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: MinGW Linker problem

John-21-3
Brian Dessent <brian@...> writes:

>

> John wrote:
>
> > I build wxwidgets now with same gcc I'm using to compile my code.
> > But I'm still getting error message. Have I still done something wrong?
> > You can find these messages below.
>
> It's impossible to tell what the problem is without seeing the full and
> exact command being invoked.  Note that you should use g++ to link and
> that order of arguments matters.
>
> Brian
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> MinGW-users mailing list
> MinGW-users@...
>
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
>
>


hi Brian,

the command I invoke is simply make in the cmd.
My makefile is generated by CMake where I choose
 "MinGW Makefiles" as generator.

As I'm using ITK (image registration toolkit) I'm
also using CMake as build system.
My code compiles without any problem on linux,
and on windows I get these linker errors.

If you need any information from me just ask. I'll
provide it to you.
At the moment I do not know where the error
comes from and what I could do to eliminate it.

John


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: MinGW Linker problem

John E. / TDM
In reply to this post by Brian Dessent
Quoting Brian Dessent <[hidden email]>:

> John wrote:
>
>> I build wxwidgets now with same gcc I'm using to compile my code.
>> But I'm still getting error message. Have I still done something wrong?
>> You can find these messages below.
>
> It's impossible to tell what the problem is without seeing the full and
> exact command being invoked.

At a guess, I'd say he made a Unicode build of wxWidgets but failed to  
#define wxUSE_UNICODE in compiling his own sources.

-John E.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: MinGW Linker problem

John-21-3
<tdragon@...> writes:
>
> At a guess, I'd say he made a Unicode build of wxWidgets but failed to  
> #define wxUSE_UNICODE in compiling his own sources.
>
> -John E.

hi,

this should not be the problem since i have the line
#define wxUSE_UNICODE 1
in my sources.

-John



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: MinGW Linker problem

John E. / TDM
John wrote:

> <tdragon@...> writes:
>  
>> At a guess, I'd say he made a Unicode build of wxWidgets but failed to  
>> #define wxUSE_UNICODE in compiling his own sources.
>>
>> -John E.
>>    
>
> hi,
>
> this should not be the problem since i have the line
> #define wxUSE_UNICODE 1
> in my sources.
>  

Nevertheless, I think it *is* the problem, as those undefined references
are to functions with char arguments rather than wchar_t arguments. It's
better to use "-DwxUSE_UNICODE" on the command line rather than using a
#define in a physical source file; in the second case you might have
(and probably have) misplaced the #define after some wxWidgets headers.

Anyway, in troubleshooting your use of wxWidgets we're straying a bit
beyond the mandate of mingw-users; you should probably follow up any
further difficulties at the wxForum or elsewhere.

-John E.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users