cannot find -lwregex // wxWidgets 2.9.2 DevPack

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
eriX
Experienced Solver
Experienced Solver
Posts: 84
Joined: Wed Feb 04, 2009 2:08 pm
Location: Germany
Contact:

Re: cannot find -lwregex // wxWidgets 2.9.2 DevPack

Post by eriX »

I said the project can become compiled and started successful.
But I receive a lot of warnings, that I can't understand:

Code: Select all

 -lsqlite3 -mwindows -lwxmsw29u -lwxmsw29u_gl -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxmsw29u -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 -lopengl32   

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: Objects/MingW/vokabelkasten.o: warning: duplicate section `.rdata$_ZTV20wxObjectEventFunctor[vtable for wxObjectEventFunctor]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: Objects/MingW/vokabelkasten.o: warning: duplicate section `.rdata$_ZTV20wxEventFunctorMethodI14wxEventTypeTagI12wxCloseEventE12wxEvtHandler7wxEventS3_E[vtable for wxEventFunctorMethod<wxEventTypeTag<wxCloseEvent>, wxEvtHandler, wxEvent, wxEvtHandler>]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: Objects/MingW/vokabelkasten.o: warning: duplicate section `.rdata$_ZTV20wxEventFunctorMethodI14wxEventTypeTagI14wxCommandEventE12wxEvtHandler7wxEventS3_E[vtable for wxEventFunctorMethod<wxEventTypeTag<wxCommandEvent>, wxEvtHandler, wxEvent, wxEvtHandler>]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:/Program Files (x86)/Dev-Cpp/Lib/libwxmsw29u.a(monolib_window.o): warning: duplicate section `.rdata$_ZTV20wxObjectEventFunctor[vtable for wxObjectEventFunctor]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:/Program Files (x86)/Dev-Cpp/Lib/libwxmsw29u.a(monolib_mdi.o): warning: duplicate section `.rdata$_ZTV20wxObjectEventFunctor[vtable for wxObjectEventFunctor]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:/Program Files (x86)/Dev-Cpp/Lib/libwxmsw29u.a(monolib_mdi.o): warning: duplicate section `.rdata$_ZTV20wxEventFunctorMethodI14wxEventTypeTagI14wxCommandEventE12wxEvtHandler7wxEventS3_E[vtable for wxEventFunctorMethod<wxEventTypeTag<wxCommandEvent>, wxEvtHandler, wxEvent, wxEvtHandler>]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:/Program Files (x86)/Dev-Cpp/Lib/libwxmsw29u.a(monolib_appbase.o): warning: duplicate section `.rdata$_ZTV20wxObjectEventFunctor[vtable for wxObjectEventFunctor]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:/Program Files (x86)/Dev-Cpp/Lib/libwxmsw29u.a(monolib_thread.o): warning: duplicate section `.rdata$_ZTV20wxObjectEventFunctor[vtable for wxObjectEventFunctor]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:/Program Files (x86)/Dev-Cpp/Lib/libwxmsw29u.a(monolib_wincmn.o): warning: duplicate section `.rdata$_ZTV20wxObjectEventFunctor[vtable for wxObjectEventFunctor]' has different size

C:\Program Files (x86)\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: C:/Program Files (x86)/Dev-Cpp/Lib/libwxmsw29u.a(monolib_frame.o): warning: duplicate section `.rdata$_ZTV20wxObjectEventFunctor[vtable for wxObjectEventFunctor]' has different size

Execution terminated
Compilation successful
Compilation took 7 seconds to complete


If I go on programming and if I add a StaticText and insert into its label "äöü" (which should be unicode) the compiler stops and says: "Illegal byte sequence."
I can compile successful only, if I convert the source-files to UTF8 - and reload it in wxDevC++ before compiling.
Last edited by eriX on Thu Dec 26, 2013 11:37 am, edited 1 time in total.
tbreina
Moderator
Moderator
Posts: 1289
Joined: Thu Nov 25, 2004 7:38 pm
Location: Coronado, CA

Re: cannot find -lwregex // wxWidgets 2.9.2 DevPack

Post by tbreina »

Did you try a "Rebuild All" when you added the wxNO_RTTI option?

I don't know about the unicode letters. The IDE doesn't actually have unicode support (SynEdit) so it could be a problem with that. Or, it might be a problem with gcc not recognizing the unicode. I'd have to look into it more.

-Tony
Everybody's got something to hide except for me and my monkey.
eriX
Experienced Solver
Experienced Solver
Posts: 84
Joined: Wed Feb 04, 2009 2:08 pm
Location: Germany
Contact:

Re: cannot find -lwregex // wxWidgets 2.9.2 DevPack

Post by eriX »

I didn't try rebuild all #-o
I thought it is the same if I delete the objects folder.

Now I don't get any warnings anymore... Thank you! :wink:


The last outstanding problem is unicode.

Before 2.9.2 -> I added my words in the form-designer and it worked fine.
Since 2.9.2 -> "Illegal byte sequence."
Post Reply