Thank you, that's wonderful.
I rebuilt like you said. Then I restarted CodeBlocks and made new project:
-create debug configuration (only this one, not release)
-enable unicode (all others are unchecked
-selected all additional libraries to add to project
When I run the project, I get these errrors:
Code: Select all
||=== Build: Debug in asdf (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lwxmsw31ud_dbgrid|
ld.exe||cannot find -lwxbase31ud_odbc|
ld.exe||cannot find -lwxmsw31ud_qa|
||error: ld returned 1 exit status|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 4 second(s)) ===|
Build log (if needed):
Code: Select all
-------------- Build: Debug in asdf (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Wall -g -D__WXDEBUG__ -std=c++11 -IC:\wxWidgets-3.1.2\include -IC:\wxWidgets-3.1.2\lib\gcc_lib\mswud -c "C:\Users\M0097932\Desktop\firstTest\DataGetter mono\asdf\asdfApp.cpp" -o obj\Debug\asdfApp.o
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DwxUSE_UNICODE -Wall -g -D__WXDEBUG__ -std=c++11 -IC:\wxWidgets-3.1.2\include -IC:\wxWidgets-3.1.2\lib\gcc_lib\mswud -c "C:\Users\M0097932\Desktop\firstTest\DataGetter mono\asdf\asdfMain.cpp" -o obj\Debug\asdfMain.o
windres.exe -IC:\wxWidgets-3.1.2\include -IC:\wxWidgets-3.1.2\lib\gcc_lib\mswud -J rc -O coff -i C:\Users\M0097932\Desktop\FIRSTT~1\DATAGE~4\asdf\resource.rc -o obj\Debug\resource.res
mingw32-g++.exe -LC:\wxWidgets-3.1.2\lib\gcc_lib -o bin\Debug\asdf.exe obj\Debug\asdfApp.o obj\Debug\asdfMain.o obj\Debug\resource.res -mthreads -lwxmsw31ud_richtext -lwxmsw31ud_xrc -lwxmsw31ud_aui -lwxmsw31ud_dbgrid -lwxbase31ud_odbc -lwxmsw31ud_media -lwxbase31ud_net -lwxmsw31ud_gl -lwxmsw31ud_qa -lwxbase31ud_xml -lwxmsw31ud_adv -lwxmsw31ud_html -lwxmsw31ud_core -lwxbase31ud -lwxpngd -lwxjpegd -lwxtiffd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -lshlwapi -lversion -mwindows
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw31ud_dbgrid
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lwxbase31ud_odbc
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lwxmsw31ud_qa
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 4 second(s))
4 error(s), 0 warning(s) (0 minute(s), 4 second(s))
I can remove linked libraries "dbgrid" and "odbc", as said by doublemax (
viewtopic.php?t=45446), but that still leaves me with "ud_qa" library, for which I haven't found the cure for yet.