Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error: "valgrind" could not be started: No such file or directory
QtWS25 Last Chance

Error: "valgrind" could not be started: No such file or directory

Scheduled Pinned Locked Moved General and Desktop
9 Posts 5 Posters 5.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Davit.A
    wrote on 27 Dec 2015, 10:50 last edited by Davit.A
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      speqtr
      wrote on 27 Dec 2015, 11:20 last edited by
      #2

      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_

      1 Reply Last reply
      1
      • D Offline
        D Offline
        Davit.A
        wrote on 27 Dec 2015, 11:21 last edited by Davit.A
        #3

        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

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Davit.A
          wrote on 27 Dec 2015, 11:31 last edited by Davit.A
          #4

          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_

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Davit.A
            wrote on 27 Dec 2015, 11:58 last edited by
            #5

            Do you have any suggestions

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 28 Dec 2015, 00:13 last edited by
              #6

              Hi and welcome to devnet,

              Might be a silly question but: do you have valgrind installed ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply 21 May 2018, 07:04
              1
              • S SGaist
                28 Dec 2015, 00:13

                Hi and welcome to devnet,

                Might be a silly question but: do you have valgrind installed ?

                S Offline
                S Offline
                Shumin
                wrote on 21 May 2018, 07:04 last edited by
                #7

                @SGaist thank you for your question. I thought that Valgrind was installed along with Qt Creator together, wasn't it? How do I install it if it was not already installed? Thank you.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 21 May 2018, 08:15 last edited by
                  #8

                  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.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  4
                  • M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 21 May 2018, 10:36 last edited by
                    #9

                    Hi
                    its completely stand alone project/tool
                    http://valgrind.org/

                    1 Reply Last reply
                    1

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved