Page 1 of 1

failed to locate gdb

Posted: Tue Apr 17, 2012 9:51 am
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

Re: failed to locate gdb

Posted: Tue Apr 17, 2012 9:30 pm
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

Re: failed to locate gdb

Posted: Fri Apr 20, 2012 11:47 am
by vsfai
Thx, now i have problem fixed and works well.