I've recently upgraded to CodeLite 6.1 on a new PC. Unfortunate this came with a niggle which I hope you can help with:
If I click the 'Build active project' toolbar button, the build fails. If instead I do a 'Project only - build', then it works. The difference seems to be to do with the Makefiles. In the first instance it tries to make using 'Makefile'. In the second instance it tries to make using 'AntennaCheck.mk'.
Outputs for both are as follows:
Code: Select all
C:\windows\system32\cmd.exe /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j12 SHELL=cmd.exe -e -f Makefile"
"----------Building project:[ AntennaCheck - Release ]----------"
mingw32-make.exe[1]: Entering directory 'E:/Software/Tools/SynthNV/AntennaCheck'
C:/MinGW-4.8.1/bin/g++.exe -o ./Release/AntennaCheck @"AntennaCheck.txt" -L. -mthreads -LE:/wxWidgets-3.0.2/lib/gcc_lib -lwxmsw30u_richtext -lwxmsw30u_xrc -lwxmsw30u_aui -lwxmsw30u_html -lwxmsw30u_adv -lwxmsw30u_core -lwxbase30u_xml -lwxbase30u_net -lwxbase30u -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
g++.exe: error: @AntennaCheck.txt -L.: No such file or directory
mingw32-make.exe[1]: *** [Release/AntennaCheck] Error 1
mingw32-make.exe: *** [All] Error 2
AntennaCheck.mk:81: recipe for target 'Release/AntennaCheck' failed
mingw32-make.exe[1]: Leaving directory 'E:/Software/Tools/SynthNV/AntennaCheck'
Makefile:4: recipe for target 'All' failed
1 errors, 0 warnings
Code: Select all
C:\windows\system32\cmd.exe /c "C:/MinGW-4.8.1/bin/mingw32-make.exe -j12 SHELL=cmd.exe -e -f "AntennaCheck.mk" all"
----------Building project:[ AntennaCheck - Release ]----------
C:/MinGW-4.8.1/bin/g++.exe -o ./Release/AntennaCheck @"AntennaCheck.txt" -L. -mthreads -LE:/wxWidgets-3.0.2/lib/gcc_lib -lwxmsw30u_richtext -lwxmsw30u_xrc -lwxmsw30u_aui -lwxmsw30u_html -lwxmsw30u_adv -lwxmsw30u_core -lwxbase30u_xml -lwxbase30u_net -lwxbase30u -lwxscintilla -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexu -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
0 errors, 0 warnings
This is Windows 7 running CodeLite 6.1 (although I've just installed the most recent CodeLite 7 Beta as well with the same results). I'm using the MinGW-4.8.1 supplied with CodeLite - all from the pre-built Windows binary installation. I do have other compilers on my computer which CodeLite detected but I've then deleted them from the Settings->Build Settings->Compilers. I've attached a screenshot of Build Settings.
Under Settings->Environment Variables I have only the Default set which have the following variables:
Code: Select all
CodeLiteDir=C:\Program Files (x86)\CodeLite
UNIT_TEST_PP_SRC_DIR=C:\UnitTest++-1.3
WXWIN=E:\wxWidgets-3.0.2
WXCFG=gcc_lib\mswu
Code: Select all
PATH=c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Hewlett-Packard\HP Performance Advisor;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\QNX650\host\win32\x86\usr\bin;C:\Program Files (x86)\QNX Software Systems\bin;C:\Program Files\TortoiseSVN\bin
Any suggestions?