Page 1 of 1

For of help wxcrafter project

Posted: Thu Aug 07, 2025 12:38 pm
by Big dream

Can't build wxcrafter project:
â‘ 

Code: Select all

"==========Building project:[ testUI - Debug ]=========="
mingw32-make[1]: Entering directory 'C:/Users/Foryou/Documents/projectCL/testUI'
D:/mingw64/bin/g++.exe -o ..\build-Debug\bin\testUI.exe @../build-Debug/testUI/ObjectsList.txt -L.   -LD:/wxWidgets/lib/gcc_dll -pipe -lwxmsw33u_xrc -lwxmsw33u_webview -lwxmsw33u_html -lwxmsw33u_qa -lwxmsw33u_adv -lwxmsw33u_core -lwxbase33u_xml -lwxbase33u_net -lwxbase33u  -mwindows
D:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/15.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwxmsw33u_qa: No such file or directory
collect2.exe: error: ld returned 1 exit status
mingw32-make[1]: *** [testUI.mk:86: ..\build-Debug\bin\testUI.exe] Error 1
mingw32-make[1]: Leaving directory 'C:/Users/Foryou/Documents/projectCL/testUI'
mingw32-make: *** [Makefile:5: All] Error 2
=== build completed successfully (0 errors, 0 warnings) ===

â‘¡Environment variables setting:
WXWIN=D:\wxWidgets
WXCFG=gcc_dll\mswu
PATH=$(PATH);$(WXWIN)\lib\gcc_dll
Where is the problem?


Re: For of help wxcrafter project

Posted: Sat Aug 09, 2025 9:55 am
by Big dream

This problem has been resloved. I got the method in the forum of wxWidgets. I rebuilded the wxWidgets and add wxQA libraries.
In the file config.gcc in path of "%wxWidgets%\build\msw" there is a colum: "# Build quality assurance classes library (USE_GUI must be 1)? [0,1]".
Change "USE_QA ?= 0" to "USE_QA ?= 1"


Re: For of help wxcrafter project

Posted: Sun Aug 10, 2025 12:54 pm
by Big dream

Environment variables setting following is OK:
WXWIN=D:\wxWidgets
WXCFG=gcc_dll\mswud

"WXCFG=gcc_dll\mswu" will have warnings in building.