I'm having problems building the release version of code from source
Codelite debug build (config Win_x64_debug) works fine - can attach the build log if required
Codelite release build (config Win_x64_release) fails almost immediately, see below
System
- Windows 10
Codelite 9.2.8
64-bit Min_GW (v4.9.2) installed from tdm64-gcc-4.9.2-3.exe
wxWidgets 3.1.0, built using cmd
mingw32-make -j8 -f Makefile.gcc SHARED=1 UNICODE=1 BUILD=release VENDOR=cl CXXFLAGS="-fno-keep-inline-dllexport -std=c++11" MONOLITHIC=1
- CodeLiteDir=E:\Dev\CodeLite
WXWIN=E:\Dev\wxWidgets-3.1.0-64bit
PATH=$(WXWIN)\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
UNIT_TEST_PP_SRC_DIR=E:\Dev\UnitTest++-1.3
WXLIBRELEASE=wxmsw31u
WXLIBDEBUG=wxmsw31u
- C:\WINDOWS\system32\cmd.exe /C E:/Dev/TDM-GCC-64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ sqlite3 - Win_x64_Release ]----------"
mingw32-make.exe[1]: Entering directory 'E:/DevCodelite/codelite/sqlite3'
codelite-cc E:/Dev/TDM-GCC-64/bin/gcc.exe -c "E:/DevCodelite/codelite/sqlite3/sqlite3.c" -O2 -D__WX__ -DWXUSINGDLL -DASTYLE_LIB -DWXUSINGDLL_CL -DWXUSINGDLL_SDK -o Win_x64_Release/sqlite3.c.o -I. -I.
E:/Dev/TDM-GCC-64/bin/ar.exe rcu Win_x64_Release/libsqlite3.a @"sqlite3.txt"
mingw32-make.exe[1]: Leaving directory 'E:/DevCodelite/codelite/sqlite3'
mingw32-make.exe[1]: Entering directory 'E:/DevCodelite/codelite/sqlite3'
Executing Post Build commands ...
copy "Win_x64_Release\libsqlite3.a" ..\lib\gcc_lib
1 file(s) copied.
Done
mingw32-make.exe[1]: Leaving directory 'E:/DevCodelite/codelite/sqlite3'
"----------Building project:[ wxsqlite3 - Win_x64_Release ]----------"
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
mingw32-make.exe[1]: Entering directory 'E:/DevCodelite/codelite/sdk/wxsqlite3'
codelite-cc E:/Dev/TDM-GCC-64/bin/g++.exe -c ../../PCH/precompiled_header_release.h wx-config Error: wxWidgets hasn't been found installed at 'D:/src/wxWidgets'. -O2
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'D:/src/wxWidgets'.: Invalid argument
mingw32-make.exe[1]: *** [../../PCH/precompiled_header_release.h.gch] Error 1
mingw32-make.exe: *** [All] Error 2
wxsqlite3.mk:110: recipe for target '../../PCH/precompiled_header_release.h.gch' failed
mingw32-make.exe[1]: Leaving directory 'E:/DevCodelite/codelite/sdk/wxsqlite3'
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings, total time: 00:00:13 seconds====
Thanks, Colin