문제

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