jeudi 12 mars 2015

Unable to create a debugger engine of the type "No engine"


I just installed Qt Creator (Windows 64 bits) and I am checking that everything works as expected.


At this point the only problem I have is related to the debuggers. Firstly I tried adding gdb manually (gdb.exe) and some problem about python popped-up, so I added gdb-python (gdb-python27.exe) and the result is:



Unable to create a debugger engine of the type "No engine"


I use this kit:


enter image description here



MinGW -> MinGW\bin\mingw32-gcc-4.8.1.exe
GBD-Python -> MinGW\bin\gdb-python27.exe


I read this post, but didn't help me since I am using MinGW :/


Thank you in advance.


Edit1: I am open if you want to recommend me another kit configuration :-)


Edit2: I tried to execute gdb-python27.exe and I got an error (missing python27.dll). I installed it in C:\Windows\SysWOW64 and now the error (when I try to open gdb-python27.exe) is something like The application failed to initialize properly (0xc000007b). Still the same error while debugging in Qt creator.


Edit3: Is the problem related to the difference between my MinGW (32bits) and my OS (64 bits)? Don't think so (Qt creator is 32 bits). I think the message The application failed to initialize properly (0xc000007b) is because I use python27.dll (64 bits) instead of 32 bits.


Edit4: I download python27.dll (32 bits) and now I can execute gdb-python27.exe but I got this message through the cmd.exe: ImportError: No module named site.


I still got the error Unable to create a debugger engine of the type "No engine" while trying to debug with Qt creator.




Aucun commentaire:

Enregistrer un commentaire