Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Make: Nothing to be done for 'first'
QtWS25 Last Chance

Make: Nothing to be done for 'first'

Scheduled Pinned Locked Moved Installation and Deployment
18 Posts 4 Posters 23.6k 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.
  • A Offline
    A Offline
    andreyc
    wrote on 11 Aug 2014, 16:17 last edited by
    #4

    You are welcome.
    Try to rebuild a project.
    Do you use QtCreator ?
    What messages do you see in "Compile Output"?
    You can switch to "Compile Output" using Alt-4 (if you did not change default shortcuts).

    1 Reply Last reply
    1
    • A Offline
      A Offline
      alex111
      wrote on 11 Aug 2014, 17:15 last edited by
      #5

      Really thank u sir! yes, i use qtcreator under mac, the message of "Compile Output" is here, lots of warning..so I delete them, just post the final information.

      @
      16:51:30: Running steps for project SimpleNGL...
      16:51:30: Configuration unchanged, skipping qmake step.
      16:51:30: Starting: "/usr/bin/make"
      ......
      g++ -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64 -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64/lib -o SimpleNGL args.o argsgraph.o graph.o main.o maxflow.o -L/opt/qtsdk//5.1.0/gcc_64/lib -lQt5Gui -lQt5Core -lGL -lpthread
      { test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]+([0-9]).([0-9]).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'SimpleNGL' && test -f SimpleNGL.gdb-index && objcopy --add-section '.gdb_index=SimpleNGL.gdb-index' --set-section-flags '.gdb_index=readonly' 'SimpleNGL' 'SimpleNGL' && rm -f SimpleNGL.gdb-index || true
      16:51:34: The process "/usr/bin/make" exited normally.
      16:51:34: Elapsed time: 00:04.
      @

      [quote author="andreyc" date="1407773870"]You are welcome.
      Try to rebuild a project.
      Do you use QtCreator ?
      What messages do you see in "Compile Output"?
      You can switch to "Compile Output" using Alt-4 (if you did not change default shortcuts).[/quote]

      [andreyc EDIT] Added @ around log messages

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on 11 Aug 2014, 17:20 last edited by
        #6

        It says that you successfully built the project and show have SimpleNGL executable in a build directory.
        Do you see any error messages in "Application Output"(Alt-3) panel when you try to run it?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alex111
          wrote on 11 Aug 2014, 17:26 last edited by
          #7

          Thanks for your reply again, really thank u vert much, there is some message about the code itself, I mean some option about what the code will do, not error message, I work under a red hat system now, is it available to send u the code and let u have a look? in the "Application output", the final line said: ........exited with code 0
          [quote author="andreyc" date="1407777650"]It says that you successfully built the project and show have SimpleNGL executable in a build directory.
          Do you see any error messages in "Application Output"(Alt-3) panel when you try to run it?[/quote]

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andreyc
            wrote on 11 Aug 2014, 17:36 last edited by
            #8

            You can create a simple example that does not work the same way as your project and post it here.
            Or put an archive somewhere and post a link here.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              alex111
              wrote on 11 Aug 2014, 17:50 last edited by
              #9

              Thanks u again, sir! here is a link , u can click the download tag on the top right side. Thanks for spending your time to give this help!!
              http://pan.baidu.com/s/1c01pXWO
              [quote author="andreyc" date="1407778604"]You can create a simple example that does not work the same way as your project and post it here.
              Or put an archive somewhere and post a link here.[/quote]

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andreyc
                wrote on 11 Aug 2014, 19:50 last edited by
                #10

                This is not Qt application. it is XWindow application.
                I don't have all necessary libraries to build it.
                Maybe if you run SimpleNG from command line you will see some logging and error messages.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  alex111
                  wrote on 12 Aug 2014, 11:41 last edited by
                  #11

                  Thanks for your reply again, sir! I try to run it in Terminal, same like the situation in qtcreator..... no idea to fix it.....
                  [quote author="andreyc" date="1407786605"]This is not Qt application. it is XWindow application.
                  I don't have all necessary libraries to build it.
                  Maybe if you run SimpleNG from command line you will see some logging and error messages.[/quote]

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    andreyc
                    wrote on 12 Aug 2014, 13:24 last edited by
                    #12

                    Could you post here how did you run it and what did you get. Just copy-past from a terminal.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      alex111
                      wrote on 12 Aug 2014, 13:41 last edited by
                      #13

                      Tanks for your reply again sir! really thanks! In the terminal. I use "make clean" first, and then use q make, and make.(some warning like yesterday) Then use ./XXX, it runs, the message is same like before, in the "application output". Sorry for my rubbish skill, just a fish .
                      After make, the message is :
                      g++ -Wl,-O1 -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64 -Wl,-rpath,/opt/qtsdk/5.1.0/gcc_64/lib -o SimpleNGL args.o argsgraph.o graph.o main.o maxflow.o -L/opt/qtsdk//5.1.0/gcc_64/lib -lQt5Gui -lQt5Core -lGL -lpthread
                      after ./XXX, no response.
                      All seems the same like yesterday.
                      [quote author="andreyc" date="1407849898"]Could you post here how did you run it and what did you get. Just copy-past from a terminal.[/quote]

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        andreyc
                        wrote on 12 Aug 2014, 13:45 last edited by
                        #14

                        [quote author="alex111" date="1407850907"]after ./XXX, no response.
                        All seems the same like yesterday. [/quote]

                        Looks like you have application problem and need to debug it.
                        Or maybe some required libraries are not installed.
                        Try to run it under debugger.

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          alex111
                          wrote on 12 Aug 2014, 13:57 last edited by
                          #15

                          Thanks again and again, Sir! I use debug option(F5), there is no message come out in the debugger window, it means sth wrong?
                          [quote author="andreyc" date="1407851135"][quote author="alex111" date="1407850907"]after ./XXX, no response.
                          All seems the same like yesterday. [/quote]

                          Looks like you have application problem and need to debug it.
                          Or maybe some required libraries are not installed.
                          Try to run it under debugger.
                          [/quote]

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            andreyc
                            wrote on 12 Aug 2014, 14:01 last edited by
                            #16

                            You need to run debugger is step mode.
                            Put breakpoint on function main() then use F5 to start debugger and use F10 to step through the code.

                            1 Reply Last reply
                            0
                            • B Offline
                              B Offline
                              biswasp
                              wrote on 15 Feb 2018, 06:58 last edited by
                              #17

                              hello alex. I am getting the same problem that is "make: Nothing to be done for 'first'". did you solve it finally? some persons advised to run in debug mode. it doesn't run in debug mode. only thing happens is run and after that showing this same message again and again. I tried using different version of QT but same error shows up.

                              jsulmJ 1 Reply Last reply 15 Feb 2018, 08:24
                              0
                              • B biswasp
                                15 Feb 2018, 06:58

                                hello alex. I am getting the same problem that is "make: Nothing to be done for 'first'". did you solve it finally? some persons advised to run in debug mode. it doesn't run in debug mode. only thing happens is run and after that showing this same message again and again. I tried using different version of QT but same error shows up.

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on 15 Feb 2018, 08:24 last edited by
                                #18

                                @biswasp said in Make: Nothing to be done for 'first':

                                "make: Nothing to be done for 'first'"

                                This isn't a problem. As already said in this thread it means that the project is already built and up to date. If you app doesn't start then you have another problem. Build your app in Debug mode and then try to start it with debugger pressing F5. Maybe it simply crashes or some DLLs are missing.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                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