Error: "valgrind" could not be started: No such file or directory
-
wrote on 27 Dec 2015, 10:50 last edited by Davit.A
Analyzing memory of /home/davit/MyProjects/build-test_window_-Desktop_Qt_5_5_1_GCC_64bit-Debug/test_window_
Failed to start program. Path or permissions wrong?
Analyzing finished.
Error: "valgrind" could not be started: No such file or directory,but from terminal when i changed current directory to:
$ cd /home/davit/MyProjects/build-test_window_-Desktop_Qt_5_5_1_GCC_64bit-Debug/
and then typing -
wrote on 27 Dec 2015, 11:20 last edited by
You have a typo in your path.
You don't need the first dot.
Try to run it like this:
/home/davit/MyProjects/build-test_window_-Desktop_Qt_5_5_1_GCC_64bit-Debug/test_window_
-
wrote on 27 Dec 2015, 11:21 last edited by Davit.A
My issue about "Valgrid Error" still exists. Yes, I have run without dot , and program located in /home/davit/MyProjects/build-test_window_-Desktop_Qt_5_5_1_GCC_64bit-Debug/test_window_ and run successfully, but my issue is not solved
-
wrote on 27 Dec 2015, 11:31 last edited by Davit.A
Yes, i have typio, but valgrind is not working and file exists in this directory: /home/davit/MyProjects/build-test_window_-Desktop_Qt_5_5_1_GCC_64bit-Debug/test_window_
and I can run it manually from terminal, by typing: /home/davit/MyProjects/build-test_window_-Desktop_Qt_5_5_1_GCC_64bit-Debug/test_window_ -
wrote on 27 Dec 2015, 11:58 last edited by
Do you have any suggestions
-
Hi and welcome to devnet,
Might be a silly question but: do you have valgrind installed ?
-
Hi,
No it’s not. It’s an external tool on the same level as cmake or even the compiler.
As for installing it, it depends on your OS/distribution.
-
Hi
its completely stand alone project/tool
http://valgrind.org/