Compiler errors with first use of wxCrafter

CodeLite installation/troubleshooting forum
root
CodeLite Enthusiast
Posts: 21
Joined: Tue Jan 21, 2020 4:10 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by root »

I'm not the expert on this, being new to C++, but is this the toolchain? If so, do you see anything wrong with it?

Image
Win X Pro / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.4 / MinGW-10.2.0

Linux Mint 20.0 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.0 & 3.1.4 / GCC-9.2.0
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by eranif »

Seems OK.
However, when you say you have 161 link errors (or so)
You should always put the build log *not a screenshot* - without this, no one will be able to help you
See my signature.
Make sure you have read the HOW TO POST thread
root
CodeLite Enthusiast
Posts: 21
Joined: Tue Jan 21, 2020 4:10 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by root »

Right clicking the project name/Settings/Linker, you told me to add

Code: Select all

uxtheme
to the Libraries. I did that and got 162 errors:

Code: Select all

C:\Windows\system32\cmd.exe /C C:/mingw-w64-8.1.0/mingw64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ wxTest - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'H:/CodeLite/C++/GUI-Stuff/wxTest'
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/main.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/main.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/wxcrafter.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/wxcrafter.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/MainFrame.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/MainFrame.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/wxcrafter_bitmaps.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/wxcrafter_bitmaps.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe -o ..\build-Debug\bin\wxTest @../build-Debug/wxTest/ObjectsList.txt -L.  -luxtheme   -mthreads -LC:/wxWidgets-3.1.3/lib/gcc_lib -lwxmsw31u_richtext -lwxmsw31u_xrc -lwxmsw31u_aui -lwxmsw31u_html -lwxmsw31u_adv -lwxmsw31u_core -lwxbase31u_xml -lwxbase31u_net -lwxbase31u -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lversion -lshlwapi -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32  -mwindows
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xc688): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xc6ab): undefined reference to `__imp_GetThemeColor'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xc710): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xc7ca): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xcbb2): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xf304): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xf39a): undefined reference to `__imp_GetThemeBackgroundContentRect'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xf401): undefined reference to `__imp_IsThemeBackgroundPartiallyTransparent'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xf41c): undefined reference to `__imp_DrawThemeParentBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xf443): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xf470): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xfb2c): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xfb85): undefined reference to `__imp_GetThemeBackgroundContentRect'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xfbf7): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0x10be8): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0x10c22): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x538): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x5ca): undefined reference to `__imp_GetThemeSysColor'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x60c): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x61a): undefined reference to `__imp_GetThemeSysColor'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x6c4): undefined reference to `__imp_GetThemeSysColor'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x71a): undefined reference to `__imp_GetThemeSysColor'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x747): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x2116): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x2144): undefined reference to `__imp_GetThemeMargins'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x21fe): undefined reference to `__imp_GetThemePartSize'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x2293): undefined reference to `__imp_GetThemeInt'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x22c1): undefined reference to `__imp_GetThemeSysFont'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x234f): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x2c41): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x375a): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x3824): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x387f): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x3a97): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x5473): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x5487): undefined reference to `__imp_IsThemeBackgroundPartiallyTransparent'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x5490): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x5505): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x595c): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x5aa4): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_menuitem.o):menuitem.cpp:(.text+0x5c35): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_statbox.o):statbox.cpp:(.text+0x2e72): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_statbox.o):statbox.cpp:(.text+0x2ea3): undefined reference to `__imp_GetThemeFont'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_statbox.o):statbox.cpp:(.text+0x2ec9): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_statbox.o):statbox.cpp:(.text+0x2fe1): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_statusbar.o):statusbar.cpp:(.text+0x14f0): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_statusbar.o):statusbar.cpp:(.text+0x1526): undefined reference to `__imp_GetThemeBackgroundContentRect'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_statusbar.o):statusbar.cpp:(.text+0x155d): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_statusbar.o):statusbar.cpp:(.text+0x1e02): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x492): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x4ab): undefined reference to `__imp_IsThemePartDefined'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x4d1): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x563): undefined reference to `__imp_GetThemePartSize'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x581): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x5c2): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x5db): undefined reference to `__imp_IsThemePartDefined'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x601): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x693): undefined reference to `__imp_GetThemePartSize'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x6b1): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x6f2): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x70b): undefined reference to `__imp_IsThemePartDefined'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x731): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x7c3): undefined reference to `__imp_GetThemePartSize'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x7e1): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x931): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x945): undefined reference to `__imp_IsThemePartDefined'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x9a2): undefined reference to `__imp_GetThemePartSize'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x9cd): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xa38): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xa81): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xabd): undefined reference to `__imp_IsThemePartDefined'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xb14): undefined reference to `__imp_IsThemeBackgroundPartiallyTransparent'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xb63): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xb8e): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xbc8): undefined reference to `__imp_DrawThemeParentBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xca1): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xcf6): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xda4): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xdc9): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xe2d): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xe95): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xeef): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xf03): undefined reference to `__imp_IsThemePartDefined'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xfab): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0xfd1): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1037): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x11e6): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1296): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x12bb): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x134d): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x13b5): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x14df): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1571): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x15e2): undefined reference to `__imp_GetThemeBackgroundContentRect'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1692): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x17b6): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x182f): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x188e): undefined reference to `__imp_GetThemeColor'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1ad7): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1ba3): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1c63): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1d1b): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1e32): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x1f45): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x26bf): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x276b): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2795): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2846): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x292f): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2a70): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2aaa): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2ad3): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2b19): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2b7d): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2bf3): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2c63): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2f78): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x2fd8): undefined reference to `__imp_IsThemePartDefined'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x3378): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_renderer.o):renderer.cpp:(.text+0x37b2): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_uxtheme.o):uxtheme.cpp:(.text+0x6): undefined reference to `__imp_IsAppThemed'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_uxtheme.o):uxtheme.cpp:(.text+0x22): undefined reference to `__imp_IsThemeActive'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x860): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x8a4): undefined reference to `__imp_GetThemeMargins'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x8e4): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x952): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x46f4): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x471f): undefined reference to `__imp_IsThemeBackgroundPartiallyTransparent'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x4754): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x47a2): undefined reference to `__imp_GetThemeMargins'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x486c): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x5d5b): undefined reference to `__imp_DrawThemeParentBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_anybutton.o):anybutton.cpp:(.text+0x6f78): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0xfcf): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x1235): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x16f7): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x194e): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x1aa6): undefined reference to `__imp_IsThemeBackgroundPartiallyTransparent'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x1ad6): undefined reference to `__imp_DrawThemeParentBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x1b12): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x1b62): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x1c1b): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_combo.o):combo.cpp:(.text+0x2104): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_access.o):access.cpp:(.text+0x1ec): undefined reference to `CreateStdAccessibleObject'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_systhemectrl.o):systhemectrl.cpp:(.text+0x6c): undefined reference to `__imp_SetWindowTheme'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x1809): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x184c): undefined reference to `__imp_GetThemeBackgroundContentRect'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x188f): undefined reference to `__imp_GetThemeBackgroundExtent'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x18e6): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x1936): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x1999): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x2016): undefined reference to `__imp_SetWindowTheme'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x38c6): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x38ea): undefined reference to `__imp_GetThemeColor'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x39cf): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x3a68): undefined reference to `__imp_GetCurrentThemeName'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x3cdd): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x666e): undefined reference to `__imp_OpenThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x66b0): undefined reference to `__imp_GetThemeBackgroundExtent'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x66d3): undefined reference to `__imp_DrawThemeBackground'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x66e1): undefined reference to `__imp_CloseThemeData'
C:/wxWidgets-3.1.3/lib/gcc_lib/libwxmsw31u_core.a(corelib_msw_notebook.o):notebook.cpp:(.text+0x6765): undefined reference to `__imp_CloseThemeData'
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [wxTest.mk:83: ..\build-Debug\bin\wxTest] Error 1
mingw32-make.exe: *** [Makefile:5: All] Error 2
mingw32-make.exe[1]: Leaving directory 'H:/CodeLite/C++/GUI-Stuff/wxTest'
====162 errors, 0 warnings====
But when I add .lib to that

Code: Select all

uxtheme.lib
I get this:

Code: Select all

C:\Windows\system32\cmd.exe /C C:/mingw-w64-8.1.0/mingw64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ wxTest - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'H:/CodeLite/C++/GUI-Stuff/wxTest'
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/main.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/main.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/wxcrafter.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/wxcrafter.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/MainFrame.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/MainFrame.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxTest/wxcrafter_bitmaps.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxTest/wxcrafter_bitmaps.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe -o ..\build-Debug\bin\wxTest @../build-Debug/wxTest/ObjectsList.txt -L.  -luxtheme.lib   -mthreads -LC:/wxWidgets-3.1.3/lib/gcc_lib -lwxmsw31u_richtext -lwxmsw31u_xrc -lwxmsw31u_aui -lwxmsw31u_html -lwxmsw31u_adv -lwxmsw31u_core -lwxbase31u_xml -lwxbase31u_net -lwxbase31u -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lversion -lshlwapi -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32  -mwindows
C:/mingw-w64-8.1.0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -luxtheme.lib
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[1]: *** [wxTest.mk:83: ..\build-Debug\bin\wxTest] Error 1
mingw32-make.exe: *** [Makefile:5: All] Error 2
mingw32-make.exe[1]: Leaving directory 'H:/CodeLite/C++/GUI-Stuff/wxTest'
====0 errors, 0 warnings====
I still can't get the initial form from wxCrafter to build and run. I hope this helps you to help me.
Win X Pro / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.4 / MinGW-10.2.0

Linux Mint 20.0 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.0 & 3.1.4 / GCC-9.2.0
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by eranif »

All the missing symbols are part of the of the UxTheme library.
So it might be order issue (you are using static library version of wxWidgets I see)

Remove the entry: uxtheme from Project settings->linker->libraries

and add it like this:

Code: Select all

-lUxTheme
to "Linker Options" field (as *last* option)
so it will appear in the linker as the last library it is searches, after the wxWidgets libraries
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by eranif »

Another option:
I have added UxTheme to the wx-config tool.

Get the new one from here:

https://codelite.org/wx-config.zip

- Close CodeLite
- Extract it into CodeLIte install directory (C:\Program Files\CodeLite)
- Start CodeLite
- Build your project

The new wx-config.exe includes UxTheme in the correct location
Make sure you have read the HOW TO POST thread
root
CodeLite Enthusiast
Posts: 21
Joined: Tue Jan 21, 2020 4:10 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by root »

Hi eranif.

I rebuilt wxWidgets. I built them with 64-bit architecture,

Code: Select all

mingw32-make -f makefile.gcc UNICODE=1 SHARED=0 MONOLITHIC=0 BUILD=release COMPILER_VERSION=_x64
both debug and release static builds. I have absolutely no idea what changes I need to make in CodeLite, but I got a lot errors right off the bat when I tried to run the wxCrafter form.

Code: Select all

C:\Windows\system32\cmd.exe /C C:/mingw-w64-8.1.0/mingw64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ wxWidgets-Test-001 - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001'
C:/mingw-w64-8.1.0/mingw64/bin/windres.exe -i "H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/win_resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:/wxWidgets-3.1.3/lib/gcc_lib/mswu --include-dir C:/wxWidgets-3.1.3/include    -o ../build-Debug/wxWidgets-Test-001/win_resources.rc.o
In file included from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/colour.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/settings.h:14,
                 from wxcrafter.h:4,
                 from MainFrame.h:3,
                 from MainFrame.cpp:1:
C:/wxWidgets-3.1.3/include/wx/chkconf.h:88:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
 #       error "wxUSE_ANY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:96:9: error: #error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
 #       error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:104:9: error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
 #       error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:112:9: error: #error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:120:9: error: #error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
 #       error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:128:9: error: #error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:136:9: error: #error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:144:9: error: #error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
 #       error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:152:9: error: #error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:160:9: error: #error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:168:9: error: #error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:176:9: error: #error "wxUSE_INTL must be defined, please read comment near the top of this file."
 #       error "wxUSE_INTL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:184:9: error: #error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
 #       error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:192:9: error: #error "wxUSE_LOG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LOG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:200:9: error: #error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:208:9: error: #error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
 #       error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:216:9: error: #error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
 #       error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:224:9: error: #error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:232:9: error: #error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
 #       error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:274:9: error: #error "wxUSE_REGEX must be defined, please read comment near the top of this file."
 #       error "wxUSE_REGEX must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:282:9: error: #error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
 #       error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:290:9: error: #error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:298:9: error: #error "wxUSE_XML must be defined, please read comment near the top of this file."
 #       error "wxUSE_XML must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:306:9: error: #error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
 #       error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:314:9: error: #error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:322:9: error: #error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:330:9: error: #error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:338:9: error: #error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:346:9: error: #error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
 #       error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:354:9: error: #error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:362:9: error: #error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:378:9: error: #error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
 #       error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:386:9: error: #error "wxUSE_URL must be defined, please read comment near the top of this file."
 #       error "wxUSE_URL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:394:9: error: #error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
 #       error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:402:9: error: #error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
 #       error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
         ^~~~~
In file included from C:/wxWidgets-3.1.3/include/wx/chkconf.h:1268,
                 from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/colour.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/settings.h:14,
                 from wxcrafter.h:4,
                 from MainFrame.h:3,
                 from MainFrame.cpp:1:
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:19:10: error: #error "wxUSE_ACTIVEX must be defined."
 #        error "wxUSE_ACTIVEX must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:27:10: error: #error "wxUSE_WINRT must be defined."
 #        error "wxUSE_WINRT must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:35:9: error: #error "wxUSE_CRASHREPORT must be defined."
 #       error "wxUSE_CRASHREPORT must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:43:9: error: #error "wxUSE_DBGHELP must be defined"
 #       error "wxUSE_DBGHELP must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:51:9: error: #error "wxUSE_DC_CACHEING must be defined"
 #       error "wxUSE_DC_CACHEING must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:59:10: error: #error "wxUSE_DIALUP_MANAGER must be defined."
 #        error "wxUSE_DIALUP_MANAGER must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:67:10: error: #error "wxUSE_MS_HTML_HELP must be defined."
 #        error "wxUSE_MS_HTML_HELP must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:75:10: error: #error "wxUSE_INICONF must be defined."
 #        error "wxUSE_INICONF must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:83:10: error: #error "wxUSE_OLE must be defined."
 #        error "wxUSE_OLE must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:91:10: error: #error "wxUSE_OLE_AUTOMATION must be defined."
 #        error "wxUSE_OLE_AUTOMATION must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:99:9: error: #error "wxUSE_TASKBARICON_BALLOONS must be defined."
 #       error "wxUSE_TASKBARICON_BALLOONS must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:107:9: error: #error "wxUSE_TASKBARBUTTON must be defined."
 #       error "wxUSE_TASKBARBUTTON must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:115:10: error: #error "wxUSE_UXTHEME must be defined."
 #        error "wxUSE_UXTHEME must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:123:10: error: #error "wxUSE_WINSOCK2 must be defined."
 #        error "wxUSE_WINSOCK2 must be defined."
          ^~~~~
In file included from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/colour.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/settings.h:14,
                 from wxcrafter.h:4,
                 from wxcrafter.cpp:1:
C:/wxWidgets-3.1.3/include/wx/chkconf.h:88:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
 #       error "wxUSE_ANY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:96:9: error: #error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
 #       error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:104:9: error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
 #       error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:112:9: error: #error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:120:9: error: #error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
 #       error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:128:9: error: #error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:136:9: error: #error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:144:9: error: #error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
 #       error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:152:9: error: #error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:160:9: error: #error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:168:9: error: #error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:176:9: error: #error "wxUSE_INTL must be defined, please read comment near the top of this file."
 #       error "wxUSE_INTL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:184:9: error: #error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
 #       error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:192:9: error: #error "wxUSE_LOG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LOG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:200:9: error: #error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:208:9: error: #error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
 #       error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:216:9: error: #error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
 #       error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:224:9: error: #error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:232:9: error: #error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
 #       error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:274:9: error: #error "wxUSE_REGEX must be defined, please read comment near the top of this file."
 #       error "wxUSE_REGEX must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:282:9: error: #error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
 #       error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:290:9: error: #error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:298:9: error: #error "wxUSE_XML must be defined, please read comment near the top of this file."
 #       error "wxUSE_XML must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:306:9: error: #error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
 #       error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:314:9: error: #error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:322:9: error: #error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:330:9: error: #error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:338:9: error: #error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:346:9: error: #error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
 #       error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:354:9: error: #error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:362:9: error: #error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:378:9: error: #error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
 #       error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:386:9: error: #error "wxUSE_URL must be defined, please read comment near the top of this file."
 #       error "wxUSE_URL must be defined, please read comment near the top of this file."
         ^~~~~
In file included from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/wxprec.h:12,
                 from wxcrafter_bitmaps.cpp:5:
C:/wxWidgets-3.1.3/include/wx/chkconf.h:88:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
 #       error "wxUSE_ANY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:394:9: error: #error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
 #       error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:402:9: error: #error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
 #       error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:96:9: error: #error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
 #       error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:104:9: error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
 #       error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:112:9: error: #error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:120:9: error: #error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
 #       error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:128:9: error: #error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:136:9: error: #error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:144:9: error: #error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
 #       error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:152:9: error: #error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:160:9: error: #error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:168:9: error: #error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:176:9: error: #error "wxUSE_INTL must be defined, please read comment near the top of this file."
 #       error "wxUSE_INTL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:184:9: error: #error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
 #       error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:192:9: error: #error "wxUSE_LOG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LOG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:200:9: error: #error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:208:9: error: #error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
 #       error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
         ^~~~~
In file included from C:/wxWidgets-3.1.3/include/wx/chkconf.h:1268,
                 from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/colour.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/settings.h:14,
                 from wxcrafter.h:4,
                 from wxcrafter.cpp:1:
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:19:10: error: #error "wxUSE_ACTIVEX must be defined."
 #        error "wxUSE_ACTIVEX must be defined."
          ^~~~~
C:/mingw-w64-8.1.0/mingw64/bin/windres.exe: warning: 24: 1: 1033: duplicate value
In file included from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/event.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/app.h:19,
                 from main.cpp:1:
C:/wxWidgets-3.1.3/include/wx/chkconf.h:88:9: error: #error "wxUSE_ANY must be defined, please read comment near the top of this file."
 #       error "wxUSE_ANY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:27:10: error: #error "wxUSE_WINRT must be defined."
 #        error "wxUSE_WINRT must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:35:9: error: #error "wxUSE_CRASHREPORT must be defined."
 #       error "wxUSE_CRASHREPORT must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:43:9: error: #error "wxUSE_DBGHELP must be defined"
 #       error "wxUSE_DBGHELP must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:96:9: error: #error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
 #       error "wxUSE_COMPILER_TLS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:216:9: error: #error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
 #       error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:51:9: error: #error "wxUSE_DC_CACHEING must be defined"
 #       error "wxUSE_DC_CACHEING must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:104:9: error: #error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
 #       error "wxUSE_CONSOLE_EVENTLOOP must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:59:10: error: #error "wxUSE_DIALUP_MANAGER must be defined."
 #        error "wxUSE_DIALUP_MANAGER must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:224:9: error: #error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:112:9: error: #error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNLIB_CLASS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:67:10: error: #error "wxUSE_MS_HTML_HELP must be defined."
 #        error "wxUSE_MS_HTML_HELP must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:120:9: error: #error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
 #       error "wxUSE_EXCEPTIONS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:232:9: error: #error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
 #       error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:75:10: error: #error "wxUSE_INICONF must be defined."
 #        error "wxUSE_INICONF must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:128:9: error: #error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILE_HISTORY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:83:10: error: #error "wxUSE_OLE must be defined."
 #        error "wxUSE_OLE must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:136:9: error: #error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
 #       error "wxUSE_FILESYSTEM must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:274:9: error: #error "wxUSE_REGEX must be defined, please read comment near the top of this file."
 #       error "wxUSE_REGEX must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:91:10: error: #error "wxUSE_OLE_AUTOMATION must be defined."
 #        error "wxUSE_OLE_AUTOMATION must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:144:9: error: #error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
 #       error "wxUSE_FS_ARCHIVE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:99:9: error: #error "wxUSE_TASKBARICON_BALLOONS must be defined."
 #       error "wxUSE_TASKBARICON_BALLOONS must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:152:9: error: #error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSVOLUME must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:282:9: error: #error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
 #       error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:107:9: error: #error "wxUSE_TASKBARBUTTON must be defined."
 #       error "wxUSE_TASKBARBUTTON must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:160:9: error: #error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
 #       error "wxUSE_FSWATCHER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:290:9: error: #error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:115:10: error: #error "wxUSE_UXTHEME must be defined."
 #        error "wxUSE_UXTHEME must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:298:9: error: #error "wxUSE_XML must be defined, please read comment near the top of this file."
 #       error "wxUSE_XML must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:168:9: error: #error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
 #       error "wxUSE_DYNAMIC_LOADER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:306:9: error: #error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
 #       error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:123:10: error: #error "wxUSE_WINSOCK2 must be defined."
 #        error "wxUSE_WINSOCK2 must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:176:9: error: #error "wxUSE_INTL must be defined, please read comment near the top of this file."
 #       error "wxUSE_INTL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:314:9: error: #error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:322:9: error: #error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:184:9: error: #error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
 #       error "wxUSE_IPV6 must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:330:9: error: #error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:192:9: error: #error "wxUSE_LOG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LOG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:200:9: error: #error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
 #       error "wxUSE_LONGLONG must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:338:9: error: #error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:208:9: error: #error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
 #       error "wxUSE_MIMETYPE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:346:9: error: #error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
 #       error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:216:9: error: #error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
 #       error "wxUSE_ON_FATAL_EXCEPTION must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:224:9: error: #error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_PRINTF_POS_PARAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:232:9: error: #error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
 #       error "wxUSE_PROTOCOL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:354:9: error: #error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:274:9: error: #error "wxUSE_REGEX must be defined, please read comment near the top of this file."
 #       error "wxUSE_REGEX must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:362:9: error: #error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:282:9: error: #error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
 #       error "wxUSE_SECRETSTORE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:290:9: error: #error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STDPATHS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:378:9: error: #error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
 #       error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:298:9: error: #error "wxUSE_XML must be defined, please read comment near the top of this file."
 #       error "wxUSE_XML must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:386:9: error: #error "wxUSE_URL must be defined, please read comment near the top of this file."
 #       error "wxUSE_URL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:306:9: error: #error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
 #       error "wxUSE_SOCKETS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:394:9: error: #error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
 #       error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:314:9: error: #error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:402:9: error: #error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
 #       error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:322:9: error: #error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
         ^~~~~
In file included from C:/wxWidgets-3.1.3/include/wx/chkconf.h:1268,
                 from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/wxprec.h:12,
                 from wxcrafter_bitmaps.cpp:5:
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:19:10: error: #error "wxUSE_ACTIVEX must be defined."
 #        error "wxUSE_ACTIVEX must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:27:10: error: #error "wxUSE_WINRT must be defined."
 #        error "wxUSE_WINRT must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:35:9: error: #error "wxUSE_CRASHREPORT must be defined."
 #       error "wxUSE_CRASHREPORT must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:330:9: error: #error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_STRING_CONV_IN_WXSTRING must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:43:9: error: #error "wxUSE_DBGHELP must be defined"
 #       error "wxUSE_DBGHELP must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:51:9: error: #error "wxUSE_DC_CACHEING must be defined"
 #       error "wxUSE_DC_CACHEING must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:338:9: error: #error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
 #       error "wxUSE_STREAMS must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:59:10: error: #error "wxUSE_DIALUP_MANAGER must be defined."
 #        error "wxUSE_DIALUP_MANAGER must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:67:10: error: #error "wxUSE_MS_HTML_HELP must be defined."
 #        error "wxUSE_MS_HTML_HELP must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:75:10: error: #error "wxUSE_INICONF must be defined."
 #        error "wxUSE_INICONF must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:346:9: error: #error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
 #       error "wxUSE_STOPWATCH must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:83:10: error: #error "wxUSE_OLE must be defined."
 #        error "wxUSE_OLE must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:91:10: error: #error "wxUSE_OLE_AUTOMATION must be defined."
 #        error "wxUSE_OLE_AUTOMATION must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:99:9: error: #error "wxUSE_TASKBARICON_BALLOONS must be defined."
 #       error "wxUSE_TASKBARICON_BALLOONS must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:107:9: error: #error "wxUSE_TASKBARBUTTON must be defined."
 #       error "wxUSE_TASKBARBUTTON must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:354:9: error: #error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTBUFFER must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:115:10: error: #error "wxUSE_UXTHEME must be defined."
 #        error "wxUSE_UXTHEME must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:362:9: error: #error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
 #       error "wxUSE_TEXTFILE must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:123:10: error: #error "wxUSE_WINSOCK2 must be defined."
 #        error "wxUSE_WINSOCK2 must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:378:9: error: #error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
 #       error "wxUSE_UNSAFE_WXSTRING_CONV must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:386:9: error: #error "wxUSE_URL must be defined, please read comment near the top of this file."
 #       error "wxUSE_URL must be defined, please read comment near the top of this file."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/chkconf.h:394:9: error: #error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
 #       error "wxUSE_VARIANT must be defined, please read comment near the top of this file."
         ^~~~~
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:103: ../build-Debug/wxWidgets-Test-001/MainFrame.cpp.o.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
C:/wxWidgets-3.1.3/include/wx/chkconf.h:402:9: error: #error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
 #       error "wxUSE_XLOCALE must be defined, please read comment near the top of this file."
         ^~~~~
In file included from C:/wxWidgets-3.1.3/include/wx/chkconf.h:1268,
                 from C:/wxWidgets-3.1.3/include/wx/platform.h:529,
                 from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/event.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/app.h:19,
                 from main.cpp:1:
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:19:10: error: #error "wxUSE_ACTIVEX must be defined."
 #        error "wxUSE_ACTIVEX must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:27:10: error: #error "wxUSE_WINRT must be defined."
 #        error "wxUSE_WINRT must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:35:9: error: #error "wxUSE_CRASHREPORT must be defined."
 #       error "wxUSE_CRASHREPORT must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:43:9: error: #error "wxUSE_DBGHELP must be defined"
 #       error "wxUSE_DBGHELP must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:51:9: error: #error "wxUSE_DC_CACHEING must be defined"
 #       error "wxUSE_DC_CACHEING must be defined"
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:59:10: error: #error "wxUSE_DIALUP_MANAGER must be defined."
 #        error "wxUSE_DIALUP_MANAGER must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:67:10: error: #error "wxUSE_MS_HTML_HELP must be defined."
 #        error "wxUSE_MS_HTML_HELP must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:75:10: error: #error "wxUSE_INICONF must be defined."
 #        error "wxUSE_INICONF must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:83:10: error: #error "wxUSE_OLE must be defined."
 #        error "wxUSE_OLE must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:91:10: error: #error "wxUSE_OLE_AUTOMATION must be defined."
 #        error "wxUSE_OLE_AUTOMATION must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:99:9: error: #error "wxUSE_TASKBARICON_BALLOONS must be defined."
 #       error "wxUSE_TASKBARICON_BALLOONS must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:107:9: error: #error "wxUSE_TASKBARBUTTON must be defined."
 #       error "wxUSE_TASKBARBUTTON must be defined."
         ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:115:10: error: #error "wxUSE_UXTHEME must be defined."
 #        error "wxUSE_UXTHEME must be defined."
          ^~~~~
C:/wxWidgets-3.1.3/include/wx/msw/chkconf.h:123:10: error: #error "wxUSE_WINSOCK2 must be defined."
 #        error "wxUSE_WINSOCK2 must be defined."
          ^~~~~
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:119: ../build-Debug/wxWidgets-Test-001/wxcrafter_bitmaps.cpp.o.d] Error 1
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:111: ../build-Debug/wxWidgets-Test-001/wxcrafter.cpp.o.d] Error 1
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:127: ../build-Debug/wxWidgets-Test-001/main.cpp.o.d] Error 1
mingw32-make.exe: *** [Makefile:5: All] Error 2
mingw32-make.exe[1]: Leaving directory 'H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001'
====196 errors, 0 warnings====
I hate this. I don't have any idea what to do from here. I just don't.
Win X Pro / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.4 / MinGW-10.2.0

Linux Mint 20.0 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.0 & 3.1.4 / GCC-9.2.0
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by eranif »

Why don't you simply follow the build instructions described here:
https://wiki.codelite.org/pmwiki.php/De ... tsWin#toc1

In the build command that appears there, you can omit the part the says VEBDOR=cl and you can probably use your own MinGW compiler

This is how I build wxWidgets
Make sure you have read the HOW TO POST thread
root
CodeLite Enthusiast
Posts: 21
Joined: Tue Jan 21, 2020 4:10 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by root »

I was able to get rid of those errors by adding an Include Path:

Image

And that brought me to new errors:

Code: Select all

C:\Windows\system32\cmd.exe /C C:/mingw-w64-8.1.0/mingw64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ wxWidgets-Test-001 - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001'
C:/mingw-w64-8.1.0/mingw64/bin/x86_64-w64-mingw32-g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/MainFrame.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxWidgets-Test-001/MainFrame.cpp.o -I. -IC:\wxWidgets-3.1.3\include\wx -IC:\wxWidgets-3.1.3\include\wx\msw
C:/mingw-w64-8.1.0/mingw64/bin/x86_64-w64-mingw32-g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/wxcrafter.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxWidgets-Test-001/wxcrafter.cpp.o -I. -IC:\wxWidgets-3.1.3\include\wx -IC:\wxWidgets-3.1.3\include\wx\msw
C:/mingw-w64-8.1.0/mingw64/bin/x86_64-w64-mingw32-g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/wxcrafter_bitmaps.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxWidgets-Test-001/wxcrafter_bitmaps.cpp.o -I. -IC:\wxWidgets-3.1.3\include\wx -IC:\wxWidgets-3.1.3\include\wx\msw
In file included from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/colour.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/settings.h:14,
                 from H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/wxcrafter.h:4,
                 from H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/MainFrame.h:3,
                 from H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/MainFrame.cpp:1:
C:/wxWidgets-3.1.3/include/wx/platform.h:154:10: fatal error: wx/setup.h: No such file or directory
 #include "wx/setup.h"
          ^~~~~~~~~~~~
compilation terminated.
In file included from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/colour.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/settings.h:14,
                 from H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/wxcrafter.h:4,
                 from H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/wxcrafter.cpp:1:
C:/wxWidgets-3.1.3/include/wx/platform.h:154:10: fatal error: wx/setup.h: No such file or directory
 #include "wx/setup.h"
          ^~~~~~~~~~~~
compilation terminated.
C:/mingw-w64-8.1.0/mingw64/bin/x86_64-w64-mingw32-g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/main.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_lib/mswu -IC:/wxWidgets-3.1.3/include -Wno-ctor-dtor-privacy -pipe -fmessage-length=0      -o ../build-Debug/wxWidgets-Test-001/main.cpp.o -I. -IC:\wxWidgets-3.1.3\include\wx -IC:\wxWidgets-3.1.3\include\wx\msw
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:101: ../build-Debug/wxWidgets-Test-001/MainFrame.cpp.o] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:109: ../build-Debug/wxWidgets-Test-001/wxcrafter.cpp.o] Error 1
In file included from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/wxprec.h:12,
                 from H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/wxcrafter_bitmaps.cpp:5:
C:/wxWidgets-3.1.3/include/wx/platform.h:154:10: fatal error: wx/setup.h: No such file or directory
 #include "wx/setup.h"
          ^~~~~~~~~~~~
compilation terminated.
In file included from C:/wxWidgets-3.1.3/include/wx/defs.h:45,
                 from C:/wxWidgets-3.1.3/include/wx/event.h:14,
                 from C:/wxWidgets-3.1.3/include/wx/app.h:19,
                 from H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001/main.cpp:1:
C:/wxWidgets-3.1.3/include/wx/platform.h:154:10: fatal error: wx/setup.h: No such file or directory
 #include "wx/setup.h"
          ^~~~~~~~~~~~
compilation terminated.
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:117: ../build-Debug/wxWidgets-Test-001/wxcrafter_bitmaps.cpp.o] Error 1
mingw32-make.exe[1]: *** [wxWidgets-Test-001.mk:125: ../build-Debug/wxWidgets-Test-001/main.cpp.o] Error 1
mingw32-make.exe: *** [Makefile:5: All] Error 2
mingw32-make.exe[1]: Leaving directory 'H:/CodeLite/C++/GUI-Stuff/wxWidgets-Test-001'
====4 errors, 0 warnings====
So I added another path, the one where setup.h is located:

Image

But that did me no good. There errors persist.
Win X Pro / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.4 / MinGW-10.2.0

Linux Mint 20.0 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.0 & 3.1.4 / GCC-9.2.0
root
CodeLite Enthusiast
Posts: 21
Joined: Tue Jan 21, 2020 4:10 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by root »

Just saw your new post. I'll scrap my wxWidgets build and follow what you gave me. BTW, I got those build instructions from utelle. But I'll use the ones you offer.
Win X Pro / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.4 / MinGW-10.2.0

Linux Mint 20.0 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.0 & 3.1.4 / GCC-9.2.0
root
CodeLite Enthusiast
Posts: 21
Joined: Tue Jan 21, 2020 4:10 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler errors with first use of wxCrafter

Post by root »

Thank you, eranif. wxWidgets is built according to the specs you gave me. I can build

Code: Select all

C:\Windows\system32\cmd.exe /C C:/mingw-w64-8.1.0/mingw64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ wxWidget-Test-001 - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001'
C:/mingw-w64-8.1.0/mingw64/bin/windres.exe -i "H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001/win_resources.rc" --use-temp-file --define __WXMSW__ --define __WXDEBUG__ --define _UNICODE --include-dir C:/wxWidgets-3.1.3/lib/gcc_dll/mswud --include-dir C:/wxWidgets-3.1.3/include --define WXUSINGDLL    -o ../build-Debug/wxWidget-Test-001/win_resources.rc.o
C:/mingw-w64-8.1.0/mingw64/bin/windres.exe: warning: 24: 1: 1033: duplicate value
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001/wxcrafter.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport -std=c++11   -o ../build-Debug/wxWidget-Test-001/wxcrafter.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001/wxcrafter_bitmaps.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport -std=c++11   -o ../build-Debug/wxWidget-Test-001/wxcrafter_bitmaps.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001/MainFrame.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport -std=c++11   -o ../build-Debug/wxWidget-Test-001/MainFrame.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe  -c  "H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001/main.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.1.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.1.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0  -fno-keep-inline-dllexport -std=c++11   -o ../build-Debug/wxWidget-Test-001/main.cpp.o -I. -I.
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe -o ..\build-Debug\bin\wxWidget-Test-001 @../build-Debug/wxWidget-Test-001/ObjectsList.txt -L.    -mthreads -LC:/wxWidgets-3.1.3/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 -luxtheme  -mwindows
mingw32-make.exe[1]: Leaving directory 'H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001'
====0 errors, 0 warnings====
and run

Code: Select all

C:\Windows\system32\cmd.exe /C C:/mingw-w64-8.1.0/mingw64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ wxWidget-Test-001 - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001'
C:/mingw-w64-8.1.0/mingw64/bin/g++.exe -o ..\build-Debug\bin\wxWidget-Test-001 @../build-Debug/wxWidget-Test-001/ObjectsList.txt -L.    -mthreads -LC:/wxWidgets-3.1.3/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 -luxtheme  -mwindows
mingw32-make.exe[1]: Leaving directory 'H:/CodeLite/C++/GUI-Stuff/wxWidget-Test-001'
====0 errors, 0 warnings====
with zero errors. That's cool. But when I run the project from CodeLite, I get nothing.

I have this set:

Image

I thought this alone would enable the GUI to show itself when I run it, but that's not happening. What more do I need to do to get the GUI to show when I run it?
Win X Pro / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.1.4 / MinGW-10.2.0

Linux Mint 20.0 / CodeLite 14.0 / wxCrafter 2.9 / wxWidgets-3.0 & 3.1.4 / GCC-9.2.0
Post Reply