質問

What kinds of problem causes this Message Box with this message: 'The gdb process exited unexpectedly (code 127)' after pressing F5 or Start Debugging? (I run QtCreator not as super user)

enter image description here

when I run QtCreator as Super User I got another message box with this message: The gdb process failed to start. Either the invoked program 'gdb' is missing, or you may have insufficient permissions to invoke the program. No such file or directory

enter image description here

When I run following message in terminal

gdb -ex

I get this error

error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

but I have installed libncurses5 , libncursesw5, libncurses5-dev.

What should I do?

役に立ちましたか?

解決 2

I installed the debian's gdb pachage instead of QtSDK's gdb binary and the my problem was resolved

他のヒント

This message usually raise up when you are checked "run in terminal" in run setting. Go to project tab and unchecked "run in terminal" in order to run program in application output in qt creator.

Or maybe you are calling gdb with bad parameter. Check this by call debugger in standalone without qtcreator.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top