Page 1 of 1

wxcrafter incompatible ?

Posted: Fri Dec 30, 2016 3:25 pm
by glenenglish
Hi
Have simple problem. Linker error

(am old to codelite. many donations...)
am NEW to GUI with codelite and using wx widgets/ wxcrafter
is WIndows7 x 64
Codelite 9.2, 64 bit
have installed all the WXWidgets stuff

something I have installed in error...

On compile the project template (nothing in it yet ) I get this :

LINKER error :

C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_richtext.a when searching for -lwxmsw31ud_richtext


complete build dump...

ideas appreciated
cheers
glen.




C:\Windows\system32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ rrrrr - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/glenenglish/Documents/rrr/rrrrr'
C:/TDM-GCC-64/bin/windres.exe -i "C:/Users/glenenglish/Documents/rrr/rrrrr/win_resources.rc" --use-temp-file --define __WXMSW__ --define __WXDEBUG__ --define _UNICODE --include-dir C:/wxWidgets-3.1.0/lib/gcc_dll/mswud --include-dir C:/wxWidgets-3.1.0/include --define WXUSINGDLL -o ./Debug/win_resources.rc.o
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.0/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.0/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=gnu++11 -o ./Debug/wxcrafter.cpp.o -I. -I.
C:/TDM-GCC-64/bin/windres.exe: warning: 24: 1: 1033: duplicate value
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter_bitmaps.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.0/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.0/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=gnu++11 -o ./Debug/wxcrafter_bitmaps.cpp.o -I. -I.
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.0/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.0/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=gnu++11 -o ./Debug/MainFrame.cpp.o -I. -I.
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/glenenglish/Documents/rrr/rrrrr/main.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.0/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.0/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=gnu++11 -o ./Debug/main.cpp.o -I. -I.
C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.1.0/include/wx/xrc/xmlreshandler.h:22:0,
from C:/wxWidgets-3.1.0/include/wx/xrc/xmlres.h:30,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.h:5,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.cpp:1:
C:/wxWidgets-3.1.0/include/wx/window.h:1917:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.1.0/include/wx/xrc/xmlreshandler.h:22:0,
from C:/wxWidgets-3.1.0/include/wx/xrc/xmlres.h:30,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.h:5,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.cpp:1:
C:/wxWidgets-3.1.0/include/wx/window.h:1917:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.1.0/include/wx/xrc/xmlreshandler.h:22:0,
from C:/wxWidgets-3.1.0/include/wx/xrc/xmlres.h:30,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.h:5,
from C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.h:3,
from C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.cpp:1:
C:/wxWidgets-3.1.0/include/wx/window.h:1917:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.1.0/include/wx/xrc/xmlreshandler.h:22:0,
from C:/wxWidgets-3.1.0/include/wx/xrc/xmlres.h:30,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.h:5,
from C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.h:3,
from C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.cpp:1:
C:/wxWidgets-3.1.0/include/wx/window.h:1917:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
In file included from C:/Users/glenenglish/Documents/rrr/rrrrr/main.cpp:1:0:
C:/wxWidgets-3.1.0/include/wx/app.h:896:69: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/glenenglish/Documents/rrr/rrrrr/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
In file included from C:/wxWidgets-3.1.0/include/wx/xrc/xmlreshandler.h:22:0,
from C:/wxWidgets-3.1.0/include/wx/xrc/xmlres.h:30,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.h:5,
from C:/Users/glenenglish/Documents/rrr/rrrrr/MainFrame.h:3,
from C:/Users/glenenglish/Documents/rrr/rrrrr/main.cpp:3:
C:/wxWidgets-3.1.0/include/wx/window.h:1917:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/TDM-GCC-64/bin/g++.exe -o ./Debug/rrrrr @"rrrrr.txt" -L. -mthreads -LC:/wxWidgets-3.1.0/lib/gcc_dll -lwxmsw31ud_richtext -lwxmsw31ud_xrc -lwxmsw31ud_aui -lwxmsw31ud_html -lwxmsw31ud_adv -lwxmsw31ud_core -lwxbase31ud_xml -lwxbase31ud_net -lwxbase31ud -lwxscintillad -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexud -lwinspool -lwinmm -lshell32 -lcomctl32 -lversion -lshlwapi -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows

C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_richtext.a when searching for -lwxmsw31ud_richtext

C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxmsw31ud_richtext.a when searching for -lwxmsw31ud_richtext
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_richtext.a when searching for -lwxmsw31ud_richtext
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31ud_richtext
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_xrc.a when searching for -lwxmsw31ud_xrc
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxmsw31ud_xrc.a when searching for -lwxmsw31ud_xrc
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_xrc.a when searching for -lwxmsw31ud_xrc
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31ud_xrc
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_aui.a when searching for -lwxmsw31ud_aui
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxmsw31ud_aui.a when searching for -lwxmsw31ud_aui
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_aui.a when searching for -lwxmsw31ud_aui
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31ud_aui
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_html.a when searching for -lwxmsw31ud_html
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxmsw31ud_html.a when searching for -lwxmsw31ud_html
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_html.a when searching for -lwxmsw31ud_html
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31ud_html
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_adv.a when searching for -lwxmsw31ud_adv
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxmsw31ud_adv.a when searching for -lwxmsw31ud_adv
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_adv.a when searching for -lwxmsw31ud_adv
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31ud_adv
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_core.a when searching for -lwxmsw31ud_core
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxmsw31ud_core.a when searching for -lwxmsw31ud_core
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_core.a when searching for -lwxmsw31ud_core
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw31ud_core
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxbase31ud_xml.a when searching for -lwxbase31ud_xml
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxbase31ud_xml.a when searching for -lwxbase31ud_xml
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxbase31ud_xml.a when searching for -lwxbase31ud_xml
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxbase31ud_xml
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxbase31ud_net.a when searching for -lwxbase31ud_net
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxbase31ud_net.a when searching for -lwxbase31ud_net
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxbase31ud_net.a when searching for -lwxbase31ud_net
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxbase31ud_net
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxbase31ud.a when searching for -lwxbase31ud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxbase31ud.a when searching for -lwxbase31ud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxbase31ud.a when searching for -lwxbase31ud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxbase31ud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxscintillad.a when searching for -lwxscintillad
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxscintillad.a when searching for -lwxscintillad
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxscintillad.a when searching for -lwxscintillad
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxscintillad
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxtiffd.a when searching for -lwxtiffd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxtiffd.a when searching for -lwxtiffd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxtiffd.a when searching for -lwxtiffd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxtiffd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxjpegd.a when searching for -lwxjpegd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxjpegd.a when searching for -lwxjpegd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxjpegd.a when searching for -lwxjpegd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxjpegd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxpngd.a when searching for -lwxpngd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxpngd.a when searching for -lwxpngd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxpngd.a when searching for -lwxpngd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxpngd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxzlibd.a when searching for -lwxzlibd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxzlibd.a when searching for -lwxzlibd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxzlibd.a when searching for -lwxzlibd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxzlibd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxregexud.a when searching for -lwxregexud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxregexud.a when searching for -lwxregexud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxregexud.a when searching for -lwxregexud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxregexud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxexpatd.a when searching for -lwxexpatd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxexpatd.a when searching for -lwxexpatd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxexpatd.a when searching for -lwxexpatd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxexpatd
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxregexud.a when searching for -lwxregexud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll\libwxregexud.a when searching for -lwxregexud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxregexud.a when searching for -lwxregexud
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxregexud
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [Debug/rrrrr] Error 1
mingw32-make.exe: *** [All] Error 2
rrrrr.mk:78: recipe for target 'Debug/rrrrr' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/glenenglish/Documents/rrr/rrrrr'
Makefile:4: recipe for target 'All' failed
====1 errors, 17 warnings====

Re: wxcrafter incompatible ?

Posted: Sat Dec 31, 2016 1:10 pm
by eranif
Hi Glen!
(am old to codelite. many donations...)
I know, and very generous ones ;)
C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.1.0/include/wx/xrc/xmlreshandler.h:22:0,
from C:/wxWidgets-3.1.0/include/wx/xrc/xmlres.h:30,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.h:5,
from C:/Users/glenenglish/Documents/rrr/rrrrr/wxcrafter.cpp:1:
C:/wxWidgets-3.1.0/include/wx/window.h:1917:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
These type of warning messages are coming from within wxWidgets source code, not wxCrafter. It needs to be fixed in the library code, not the generated code by wxCrafter.

C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/wxWidgets-3.1.0/lib/gcc_dll/libwxmsw31ud_richtext.a when searching for -lwxmsw31ud_richtext
The linker error, is probably a mismatch between 64 and 32 bit builds of wxWidgets (or maybe a different compiler version)

For example, you are building using a 64 bit compiler while the library was built with a 32 bit version of the compiler.
See this for a more in depth explanation: http://stackoverflow.com/questions/3119 ... at-compile

Eran

Re: wxcrafter incompatible ?

Posted: Sat Dec 31, 2016 3:23 pm
by glenenglish
Hi Eran
Thanks for your assistance,
I have not written much code at all this year 2016, but in 2015 I wrote a huge amount of c++, for Linux/Debian - hundreds of threads big projects and Codelite was solid....

I am seeking to escape "my old girlfriend" , - C++ BUILDER-DELPHI for windows GUI.
Hence my foray into WxWidgets..... I really want to use codelite + wx Widgets/

OK so you had good advice on the build...
First thing is in your website you mentioned a good idea to build wxwidgets from source. So I did that INSTEAD of downloading a pre built.
I noticed you used 4.9.2 (I was using GCC 5.1) so I recompiled in 4.9.2 and that compiled OK.

SO then I got this :

C:/wxWidgets-3.1.0/include/wx/string.h:280: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
./Debug/main.cpp.o: In function `wxString::wxString()':

, now i see in the wxWidget smake it is targeting c++ 11, so I enoght that in codelite, but still no joy.

So I started with a new fresh workspace , and builds fine

On running it

>> Debuggee process ID: 7072
[New Thread 7072.0x14a4]
Continuing...
gdb: unknown target exception 0xc0000135 at 0x7fde65d2100

fault module name :
wxmsw310ud_gcc_cl.dll

That smells like a wrong or missing dll..

added C:\wxWidgets-3.1.0\lib\gcc_dll to the path
works !

great stuff. will advise.


best regards

Re: wxcrafter incompatible ?

Posted: Sat Dec 31, 2016 3:37 pm
by eranif
This means that a wrong dll was loaded (32 bit)
You need to make sure that PATH points to the proper 64 bits dlls

Also, make sure that the executable contains the proper manifest file (if you generated it with CodeLite it should be OK)
search for "0xc0000135 " on the forum (this question was raised multiple times in the past)