I also tried the pre-built lib
I went to :
https://www.wxwidgets.org/downloads/
I Downloaded windows binaries: for MinGW-w64 8.1 (Header Files+ Development Files+Release DLLs) for 64-bit
Then, under C, I created:
C:\wxWidgets\3.1.4
I unzipped the headers, and get include folder inside C:\wxWidgets\3.1.4
I unzipped the Development, and get lib folder C:\wxWidgets\3.1.4
(I renamed the folder inside lib, the new name is gcc_dll )
I did not unzip the release DLLs since it gives lib folder also, so I do not know what to do
In codelite settings environment variables, I set:
WXWIN=C:\wxWidgets\3.1.4
WXCFG=gcc_dll\mswud
The build log is :
Code: Select all
C:\WINDOWS\system32\cmd.exe /C C:/Min-gw/mingw64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ abc - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/f-alm/Desktop/Eman/abc/abc'
C:/Min-gw/mingw64/bin/g++.exe -o ..\build-Debug\bin\abc @../build-Debug/abc/ObjectsList.txt -L. -mwindows wx-config Error: Unable to open file 'C:/wxWidgets/3.1.4/build/msw/config.gcc'. -mthreads -LC:/wxWidgets/3.1.4/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 -loleacc
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: Unable: No such file or directory
g++.exe: error: to: No such file or directory
g++.exe: error: open: No such file or directory
g++.exe: error: file: No such file or directory
g++.exe: error: C:/wxWidgets/3.1.4/build/msw/config.gcc.: No such file or directory
mingw32-make.exe[1]: *** [abc.mk:83: ..\build-Debug\bin\abc] Error 1
mingw32-make.exe: *** [Makefile:5: All] Error 2
mingw32-make.exe[1]: Leaving directory 'C:/Users/f-alm/Desktop/Eman/abc/abc'
====0 errors, 0 warnings====
i am trying to solve the error:
Error: Unable to open file 'C:/wxWidgets/3.1.4/build/msw/config.gcc'
becuase there is no build folder under 3.1.4