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



  • 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.


  • Lifetime Qt Champion

    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.



  • @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.


  • Lifetime Qt Champion

    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



  • @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.


  • Moderators

    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.



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


  • Lifetime Qt Champion

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


  • Moderators

    Yes, that's QWT library you're building


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.