Help with codelite + TDM mingw
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Apr 13, 2013 2:58 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Help with codelite + TDM mingw
I already set the environment variables in the default field with PATH=C:\MinGW64\bin;$(PATH). Single test file projects work find, but when it uses the debugger it displays : "no executable specified, use 'target exec'".
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Help with codelite + TDM mingw
Open the project settings -> Common Settings -> General
and make sure that the "Program to Debug / Run" is set properly.
Next time, please make sure you read this before posting
Eran
and make sure that the "Program to Debug / Run" is set properly.
Next time, please make sure you read this before posting
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Sat Apr 13, 2013 2:58 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Help with codelite + TDM mingw
Thank you,
My OS is Windows 7 64 and I'm using CodeLite 5.1 . I'm using TDM64 - gcc -4.7.1-3. I get this as my build output
When I run the debugger, I get no executable specified. Anyway, I'm not sure what to set for in the "program to run" fields.
My OS is Windows 7 64 and I'm using CodeLite 5.1 . I'm using TDM64 - gcc -4.7.1-3. I get this as my build output
Code: Select all
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f "test_wsp.mk""
'mingw32-make.exe' is not recognized as an internal or external command,
operable program or batch file.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Help with codelite + TDM mingw
If you can't build it - then this is the problem...DarkMage64 wrote:When I run the debugger, I get no executable specified.
It seems like codelite can not find your mingw32-makeDarkMage64 wrote:My OS is Windows 7 64 and I'm using CodeLite 5.1 . I'm using TDM64 - gcc -4.7.1-3. I get this as my build output
CODE: SELECT ALL
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 4 -e -f "test_wsp.mk""
'mingw32-make.exe' is not recognized as an internal or external command,
operable program or batch file.
I assume you installed MinGW manually (since I don't provide TDM64-gcc)
So you need to make sure for 2 things here:
1) Make sure that the MinGW64 bin directory is in your path, do this from codelite's menu bar:
Settings -> Environment variables
Add this line:
Code: Select all
PATH=C:\Path\To\MinGW64\bin;$PATH
2) Since you are using mingw64 - I am not sure that mingw32-make exists in its bin directory, so you need to change it so the actual make, from what I have read
it should be mingw64-make.exe
To change it, do it from codelite's menu bar:
Settings -> Build Settings -> Compilers -> gnu g++ -> Tools -> Make
and change mingw32-make with the proper tool
Eran
Make sure you have read the HOW TO POST thread