Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved "Nothing to be done for `first'" message when 'make' qwt

    General and Desktop
    3
    9
    3457
    Loading More Posts
    • 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.
    • H
      HYKim last edited by

      Hi, I want to use qwt library.

      I followed the instruction at qwtinstall

      But when I typed 'make', I got some error message:

      me@com:~/qwt-6.1.2$ make
      cd src/ && ( test -e Makefile || /home/me/Qt5.5.1/5.5/gcc_64/bin/qmake /home/me/qwt-6.1.2/src/src.pro -spec linux-g++ -o Makefile ) && make -f Makefile 
      make[1]: Entering directory `/home/me/qwt-6.1.2/src'
      compiling qwt_abstract_scale_draw.cpp
      compiling qwt_clipper.cpp
      .
      .
      .
      moc qwt_wheel.h
      compiling moc/moc_qwt_wheel.cpp
      rm -f libqwt.so.6.1.2 libqwt.so libqwt.so.6 libqwt.so.6.1
      linking ../lib/libqwt.so.6.1.2
      ln -s libqwt.so.6.1.2 libqwt.so
      ln -s libqwt.so.6.1.2 libqwt.so.6
      ln -s libqwt.so.6.1.2 libqwt.so.6.1
      rm -f ../lib/libqwt.so.6.1.2
      mv -f libqwt.so.6.1.2  ../lib/ 
      rm -f ../lib/libqwt.so
      rm -f ../lib/libqwt.so.6
      rm -f ../lib/libqwt.so.6.1
      mv -f libqwt.so ../lib/ 
      mv -f libqwt.so.6 ../lib/ 
      mv -f libqwt.so.6.1 ../lib/ 
      make[1]: Leaving directory `/home/me/qwt-6.1.2/src'
      cd textengines/ && ( test -e Makefile || /home/me/Qt5.5.1/5.5/gcc_64/bin/qmake /home/me/qwt-6.1.2/textengines/textengines.pro -spec linux-g++ -o Makefile ) && make -f Makefile 
      make[1]: Entering directory `/home/me/qwt-6.1.2/textengines'
      make[1]: Nothing to be done for `first'.
      make[1]: Leaving directory `/home/me/qwt-6.1.2/textengines'
      cd doc/ && ( test -e Makefile || /home/me/Qt5.5.1/5.5/gcc_64/bin/qmake /home/me/qwt-6.1.2/doc/doc.pro -spec linux-g++ -o Makefile ) && make -f Makefile 
      make[1]: Entering directory `/home/me/qwt-6.1.2/doc'
      make[1]: Nothing to be done for `first'.
      make[1]: Leaving directory `/home/me/qwt-6.1.2/doc'
      cd designer/ && ( test -e Makefile || /home/me/Qt5.5.1/5.5/gcc_64/bin/qmake /home/me/qwt-6.1.2/designer/designer.pro -spec linux-g++ -o Makefile ) && make -f Makefile 
      make[1]: Entering directory `/home/me/qwt-6.1.2/designer'
      compiling qwt_designer_plugin.cpp
      In file included from qwt_designer_plugin.h:13:0,
                       from qwt_designer_plugin.cpp:23:
      ../../Qt5.5.1/5.5/gcc_64/include/QtDesigner/QDesignerCustomWidgetInterface:4:4: warning: #warning Header <QtDesigner/QDesignerCustomWidgetInterface> is deprecated. Please include <QtUiPlugin/QDesignerCustomWidgetInterface> instead. [-Wcpp]
       #  warning Header <QtDesigner/QDesignerCustomWidgetInterface> is deprecated. Please include <QtUiPlugin/QDesignerCustomWidgetInterface> instead.
          ^
      compiling qwt_designer_plotdialog.cpp
      rcc qwt_designer_plugin.qrc
      compiling resources/qrc_qwt_designer_plugin.cpp
      moc qwt_designer_plugin.h
      compiling moc/moc_qwt_designer_plugin.cpp
      In file included from moc/../qwt_designer_plugin.h:13:0,
                       from moc/moc_qwt_designer_plugin.cpp:9:
      ../../Qt5.5.1/5.5/gcc_64/include/QtDesigner/QDesignerCustomWidgetInterface:4:4: warning: #warning Header <QtDesigner/QDesignerCustomWidgetInterface> is deprecated. Please include <QtUiPlugin/QDesignerCustomWidgetInterface> instead. [-Wcpp]
       #  warning Header <QtDesigner/QDesignerCustomWidgetInterface> is deprecated. Please include <QtUiPlugin/QDesignerCustomWidgetInterface> instead.
          ^
      moc qwt_designer_plotdialog.h
      compiling moc/moc_qwt_designer_plotdialog.cpp
      rm -f libqwt_designer_plugin.so
      linking plugins/designer/libqwt_designer_plugin.so
      mv -f libqwt_designer_plugin.so plugins/designer/ 
      make[1]: Leaving directory `/home/me/qwt-6.1.2/designer'
      

      I cannot understand why this result appear.
      I would appreciate any kind of help.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        Those are not errors, you have warnings yes but the "nothing to be done for first" just states that make has nothing special to do in that folder.

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

        H 1 Reply Last reply Reply Quote 0
        • H
          HYKim @SGaist last edited by

          @SGaist Thank you for your answer.
          I modified qwtconfig.pri ( Donot build QwtDesigner)

          But the same error message appeared.:

          me@com:~/qwt-6.1.2$ make
          cd src/ && ( test -e Makefile || /home/me/Qt5.5.1/5.5/gcc_64/bin/qmake /home/me/qwt-6.1.2/src/src.pro -spec linux-g++ -o Makefile ) && make -f Makefile 
          make[1]: Entering directory `/home/me/qwt-6.1.2/src'
          compiling qwt_abstract_scale_draw.cpp
          compiling qwt_clipper.cpp
          .
          .
          .
          moc qwt_wheel.h
          compiling moc/moc_qwt_wheel.cpp
          rm -f libqwt.so.6.1.2 libqwt.so libqwt.so.6 libqwt.so.6.1
          linking ../lib/libqwt.so.6.1.2
          ln -s libqwt.so.6.1.2 libqwt.so
          ln -s libqwt.so.6.1.2 libqwt.so.6
          ln -s libqwt.so.6.1.2 libqwt.so.6.1
          rm -f ../lib/libqwt.so.6.1.2
          mv -f libqwt.so.6.1.2  ../lib/ 
          rm -f ../lib/libqwt.so
          rm -f ../lib/libqwt.so.6
          rm -f ../lib/libqwt.so.6.1
          mv -f libqwt.so ../lib/ 
          mv -f libqwt.so.6 ../lib/ 
          mv -f libqwt.so.6.1 ../lib/ 
          make[1]: Leaving directory `/home/me/qwt-6.1.2/src'
          cd textengines/ && ( test -e Makefile || /home/me/Qt5.5.1/5.5/gcc_64/bin/qmake /home/me/qwt-6.1.2/textengines/textengines.pro -spec linux-g++ -o Makefile ) && make -f Makefile 
          make[1]: Entering directory `/home/me/qwt-6.1.2/textengines'
          make[1]: Nothing to be done for `first'.
          make[1]: Leaving directory `/home/me/qwt-6.1.2/textengines'
          cd doc/ && ( test -e Makefile || /home/me/Qt5.5.1/5.5/gcc_64/bin/qmake /home/me/qwt-6.1.2/doc/doc.pro -spec linux-g++ -o Makefile ) && make -f Makefile 
          make[1]: Entering directory `/home/me/qwt-6.1.2/doc'
          make[1]: Nothing to be done for `first'.
          make[1]: Leaving directory `/home/me/qwt-6.1.2/doc'
          

          This Qwt project has to make Qwt Libary as a result. But I couldn't see it.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Again, there's no error message. "Nothing to be done" just tells you that for that precise folder, there's nothing for make to do because there's indeed nothing particular to do or everything needed was already done in a previous run.

            Look in the lib folder

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

            H 1 Reply Last reply Reply Quote 0
            • H
              HYKim @SGaist last edited by

              @SGaist
              Thank you for replying again.
              But I didn't find the way to 'make' Qwt Library eventually.
              So I just got it from opensource at QGroundControl's Github. It's like an expedient.
              I appriciate your replies once again.

              1 Reply Last reply Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion last edited by

                These lines actually tell you that the library was built:

                mv -f libqwt.so ../lib/ 
                mv -f libqwt.so.6 ../lib/ 
                mv -f libqwt.so.6.1 ../lib/
                

                Just check lib directory.

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

                H 1 Reply Last reply Reply Quote 0
                • H
                  HYKim @jsulm last edited by

                  @jsulm Ah, I understood what you said.
                  libqwt.so, libqwt.so.6.1... files are the result of 'make'. Right?

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    Yes, they are the qwt libraries that you want to use.

                    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 Reply Quote 1
                    • jsulm
                      jsulm Lifetime Qt Champion last edited by

                      Yes, that's QWT library you're building

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

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post