failed to locate gdb

Discussion about CodeLite development process and patches
vsfai
CodeLite Enthusiast
Posts: 11
Joined: Tue Jan 10, 2012 11:50 pm
Genuine User: Yes
IDE Question: c++
Contact:

failed to locate gdb

Post by vsfai »

hello Eran,

i create custom install wizard for CL Rev. 5453, i use file codelite_mingw.iss scripts. But i have problem, when i use this CL and start debugger for c++ project, then CL show me message box "failed to locate gdb at 'gdb'", the system enviroment variable for PATH is added for C:\MinGW-4.4.1\bin, when i use this path in menu Settings - Debugger settings, then works debugger as well.
I compare CL 3.5.5377, version which you provide, but there CL know about path for debugger.

Do you have any idea, what could by wrong?

thank you.

Br, vsfai
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: failed to locate gdb

Post by eranif »

Try to edit the file:
C:\Program Files (x86)\CodeLite\registry.ini and replce:

Code: Select all

mingw=C:\MinGW-4.6.1
with

Code: Select all

mingw=C:\MinGW-4.4.1
and restart codelite

Also make sure you did not temper with the PATH environment variable from within codelite
Eran
Make sure you have read the HOW TO POST thread
vsfai
CodeLite Enthusiast
Posts: 11
Joined: Tue Jan 10, 2012 11:50 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: failed to locate gdb

Post by vsfai »

Thx, now i have problem fixed and works well.
Post Reply