Can not compile a source in Ubuntu 16



  • Dear all,
    I downloaded the source of this tool. I opened starlab_full.pro and tried to build it in my Ubuntu 16 machine but I got this error:

    Project ERROR: CHOLMOD (suitesparse) not found! sudo apt-get install libsuitesparse-dev
    18:10:44: The process "/usr/bin/qmake-qt4" exited with code 2.
    Error while building/deploying project starlab_full (kit: Qt4)
    When executing step "qmake"
    18:10:44: Elapsed time: 00:00.
    

    I installed libsuitesparse-dev and rebuilt but I got the same error. I modified /core/external/cholmod-4.0.0/cholmod.prf
    and added

    LIBS *= -L/usr/lib/x86_64-linux-gnu
    

    Now I get this error:

    Reading starlab/surfacemesh/surfacemesh_filter_ballpivoting/surfacemesh_filter_ballpivoting.pro [starlab-build/surfacemesh/surfacemesh_filter_ballpivoting]
    Project LOAD(): Feature  cannot be found.
    18:18:32: The process "/usr/bin/qmake-qt4" exited with code 3.
    Error while building/deploying project starlab_full (kit: Qt4)
    When executing step "qmake"
    

    I am not sure what to do, any suggestion?
    Thanks!


  • Qt Champions 2018

    Since this has little to nothing to do with Qt, you should probably ask the author directly: https://github.com/OpenGP/starlab/issues

    P.S.
    You seem like you are trying to use Qt4 while the library is for Qt5


Log in to reply