Menu

Flatpak: Attempt to build but fail

2021-02-25
2021-02-26
  • Andy the Great

    Andy the Great - 2021-02-25

    Hi,

    I am interest in building Flatpak package for SciDAVis and upload to flathub.
    However, I could not get it to compile successfully.

    In file included from src/ImageMarker.cpp:30:
    src/ImageMarker.h:32:10: fatal error: qwt_plot.h: No such file or directory
    32 | #include <qwt_plot.h>
    | ^~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [Makefile:4234: …/tmp/libscidavis/ImageMarker.o] Error 1
    make[1]: *** Waiting for unfinished jobs…
    In file included from src/ArrowMarker.h:32,
    from src/ArrowMarker.cpp:29:
    src/PlotEnrichement.h:32:10: fatal error: qwt_plot.h: No such file or directory
    32 | #include <qwt_plot.h>
    | ^~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [Makefile:4230: …/tmp/libscidavis/ArrowMarker.o] Error 1
    src/Cone3D.cpp:30:10: fatal error: qwt3d_color.h: No such file or directory
    30 | #include <qwt3d_color.h>
    | ^~~~~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [Makefile:4339: …/tmp/libscidavis/Cone3D.o] Error 1
    src/TitlePicker.cpp:31:10: fatal error: qwt_plot.h: No such file or directory
    31 | #include <qwt_plot.h>
    | ^~~~~~~~~~~~
    compilation terminated.
    make[1]: *** [Makefile:3875: …/tmp/libscidavis/TitlePicker.o] Error 1
    src/Bar.cpp:31:10: fatal error: qwt3d_color.h: No such file or directory
    31 | #include <qwt3d_color.h>
    | ^~~~~~~~~~~~~~~
    compilation terminated.
    

    This is because it cannot find qwt. However, I already include qwt5 and qwt3dplot as dependencies.
    This is my current io.github.highperformancecoder.SciDAVis.yaml file.
    https://github.com/kevinsmia1939/io.github.highperformancecoder.SciDAVis

    If you know anything about it, let me know.

     
    • Suthiro

      Suthiro - 2021-02-25

      Hi Andy,
      have you tried git submodule --init after git clone? You are supposed to build using qwt5-qt5 provided as submodule, not qwt6. Please, check if scidavis/3rdparty/qwt5-qt5 exists and is not empty, and cmake option BUILD_QWT is enabled.
      Hope it helps.

      Четверг, 25 февраля 2021, 23:23 +07:00 от Andy the Great andythegreat@users.sourceforge.net:

      Hi,
      I am interest in building Flatpak package for SciDAVis and upload to flathub.
      However, I could not get it to compile successfully.
      In file included from src/ImageMarker.cpp:30:
      src/ImageMarker.h:32:10: fatal error: qwt_plot.h: No such file or directory
      32 | #include <qwt_plot.h>
      | ^~~~~~~~~~~~
      compilation terminated.
      make[1]: [Makefile:4234: …/tmp/libscidavis/ImageMarker.o] Error 1
      make[1]:
      Waiting for unfinished jobs…
      In file included from src/ArrowMarker.h:32,
      from src/ArrowMarker.cpp:29:
      src/PlotEnrichement.h:32:10: fatal error: qwt_plot.h: No such file or directory
      32 | #include <qwt_plot.h>
      | ^~~~~~~~~~~~
      compilation terminated.
      make[1]: [Makefile:4230: …/tmp/libscidavis/ArrowMarker.o] Error 1
      src/Cone3D.cpp:30:10: fatal error: qwt3d_color.h: No such file or directory
      30 | #include <qwt3d_color.h>
      | ^~~~~~~~~~~~~~~
      compilation terminated.
      make[1]: </qwt3d_color.h>
      [Makefile:4339: …/tmp/libscidavis/Cone3D.o] Error 1
      src/TitlePicker.cpp:31:10: fatal error: qwt_plot.h: No such file or directory
      31 | #include <qwt_plot.h>
      | ^~~~~~~~~~~~
      compilation terminated.
      make[1]: *** [Makefile:3875: …/tmp/libscidavis/TitlePicker.o] Error 1
      src/Bar.cpp:31:10: fatal error: qwt3d_color.h: No such file or directory
      31 | #include <qwt3d_color.h>
      | ^~~~~~~~~~~~~~~
      compilation terminated.</qwt3d_color.h></qwt_plot.h></qwt_plot.h></qwt_plot.h>

      This is because it cannot find qwt. However, I already include qwt5 and qwt3dplot as dependencies.
      This is my current io.github.highperformancecoder.SciDAVis.yaml file.
      https://github.com/kevinsmia1939/io.github.highperformancecoder.SciDAVis
      If you know anything about it, let me know.


      Flatpak: Attempt to build but fail

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/scidavis/discussion/708155/
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      --
      Regards,
      Suthiro

       
      • High Performance Coder

        The command is "git submodule update --init --recursive". But yes, you
        should do this, as it saves a lot of grief getting qwt and qwtplot3d
        built with the correct API. (The --recursive is not strictly needed for scidavis, but useful to get in the habit of adding).

        On Thu, Feb 25, 2021 at 09:11:49PM -0000, Suthiro wrote:

        Hi Andy,
        have you tried git submodule --init after git clone? You are supposed to build
        using qwt5-qt5 provided as submodule, not qwt6. Please, check if scidavis/
        3rdparty/qwt5-qt5 exists and is not empty, and cmake option BUILD_QWT is
        enabled.
        Hope it helps.

        Четверг, 25 февраля 2021, 23:23 +07:00 от Andy the Great
        andythegreat@users.sourceforge.net:
        
        Hi,
        I am interest in building Flatpak package for SciDAVis and upload to
        flathub.
        However, I could not get it to compile successfully.
        In file included from src/ImageMarker.cpp:30:
        src/ImageMarker.h:32:10: fatal error: qwt_plot.h: No such file or directory
        32 | #include <qwt_plot.h>
        | ^~~~~~~~~~~~
        compilation terminated.
        make[1]: [Makefile:4234: …/tmp/libscidavis/ImageMarker.o] Error 1
        make[1]: Waiting for unfinished jobs…
        In file included from src/ArrowMarker.h:32,
        from src/ArrowMarker.cpp:29:
        src/PlotEnrichement.h:32:10: fatal error: qwt_plot.h: No such file or
        directory
        32 | #include <qwt_plot.h>
        | ^~~~~~~~~~~~
        compilation terminated.
        make[1]: [Makefile:4230: …/tmp/libscidavis/ArrowMarker.o] Error 1
        src/Cone3D.cpp:30:10: fatal error: qwt3d_color.h: No such file or directory
        30 | #include <qwt3d_color.h>
        | ^~~~~~~~~~~~~~~
        compilation terminated.
        make[1]: </qwt3d_color.h> [Makefile:4339: …/tmp/libscidavis/Cone3D.o] Error
        1
        src/TitlePicker.cpp:31:10: fatal error: qwt_plot.h: No such file or
        directory
        31 | #include <qwt_plot.h>
        | ^~~~~~~~~~~~
        compilation terminated.
        make[1]: *** [Makefile:3875: …/tmp/libscidavis/TitlePicker.o] Error 1
        src/Bar.cpp:31:10: fatal error: qwt3d_color.h: No such file or directory
        31 | #include <qwt3d_color.h>
        | ^~~~~~~~~~~~~~~
        compilation terminated.</qwt3d_color.h></qwt_plot.h></qwt_plot.h></
        qwt_plot.h>
        
        This is because it cannot find qwt. However, I already include qwt5 and
        qwt3dplot as dependencies.
        This is my current io.github.highperformancecoder.SciDAVis.yaml file.
        https://github.com/kevinsmia1939/io.github.highperformancecoder.SciDAVis
        If you know anything about it, let me know.
        
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
        
        Flatpak: Attempt to build but fail
        
        Sent from sourceforge.net because you indicated interest in https://
        sourceforge.net/p/scidavis/discussion/708155/
        To unsubscribe from further messages, please visit https://sourceforge.net/
        auth/subscriptions/
        
        --
        Regards,
        Suthiro
        

        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

        Flatpak: Attempt to build but fail

        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

        Sent from sourceforge.net because you indicated interest in https://
        sourceforge.net/p/scidavis/discussion/708155/

        To unsubscribe from further messages, please visit https://sourceforge.net/auth
        /subscriptions/

        --


        Dr Russell Standish Phone 0425 253119 (mobile)
        Principal, High Performance Coders hpcoder@hpcoders.com.au
        http://www.hpcoders.com.au


         
        • Andy the Great

          Andy the Great - 2021-02-26

          Thanks for comments, I understand the problem, but I could not get flatpak manifest file (.yaml) to perform "git submodule update --init --recursive" it just fetch the source without external module. Do you perhaps have a source that bundled these external modules?

           

Log in to post a comment.