Running Valgrind under Qt Creater
-
Hi,
When I'm trying to run Valgrind Memory Analyzer I get this error:
Analyzing memory of /executable
valgrind: /executable: No such file or directory
Analyzing finished.
** Unknown error**In the Options Valgrind executable is set to the correct path.
I'm trying to run it on an external system using Qt5.
How could I fix it so it would run my executable?
-
- Which operating system is that?
- Which Qt Creator version?
- Which valgrind version?
Regards
-
Qt Creator: 3.5.1 running on Ubuntu
The executable is deployed onto an embedded system running on Linux.
I have valgrind 3.11.0 installed on the embedded system and Valgrind 3.15.0 installed on Ubuntu.I can run valgrind from terminal when I SSH into the embedded system.
I just can't run it under Qt creator.
-
Qt Creator: 3.5.1 running on Ubuntu
Then that would be the first thing to upgrade.
I can run valgrind from terminal when I SSH into the embedded system.
I'm not even sure that is possible, but chances are higher with a more recent version of Creator.
Regards
-
That's what I thought. If I manually start valgrid it runs fine, it produces a report as well.
I just wanted to make it work with Qt because it looks more convenient.I'll try updating Qt creator later on.
Thanks