Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Compiation error Labplot 2.0.0 alpha2

Help
73AvP6f3u
2012-01-04
2012-11-04
  • 73AvP6f3u
    73AvP6f3u
    2012-01-04

    Hello,

    I try to compile LabPlot-2.0.0.alpha2 on archlinux without success.

    Maybe someone can help me. Let me know if you need more details.

    Thanks by advance.

    ./build 
    -- Found Qt-Version 4.8.0 (using /usr/bin/qmake)
    -- Found X11: /usr/lib/libX11.so
    -- Found KDE 4.7 include dir: /usr/include
    -- Found KDE 4.7 library dir: /usr/lib
    -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
    -- Found automoc4: /usr/bin/automoc4
    -- Found GNU Scientific Library 1.15: /usr/include/gsl /usr/lib/libgsl.so;/usr/lib/libgslcblas.so
    -- Found HDF5 library: /usr/lib/libhdf5.so
    -- Found NETCDF library: /usr/lib/libnetcdf.so
    -- CDF library NOT FOUND!
    -- System OPJ library not found! Using included version.
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /tmp/test/LabPlot-2.0.0.alpha2
    
    make
    [  1%] Building CXX object liborigin/CMakeFiles/origin.dir/OPJFile.o
    In file included from /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:37:0:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h: In constructor ‘originData::originData(double)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:97:9: attention : ‘originData::d’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:96:6: attention :   ‘int originData::type’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:99:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h: In constructor ‘originData::originData(char*)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:98:9: attention : ‘originData::s’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:96:6: attention :   ‘int originData::type’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:104:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h: In constructor ‘spreadColumn::spreadColumn(std::string, int)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:124:6: attention : ‘spreadColumn::index’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:121:9: attention :   ‘std::string spreadColumn::command’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:126:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:122:9: attention : ‘spreadColumn::comment’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:116:6: attention :   ‘int spreadColumn::value_type’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:126:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:123:6: attention : ‘spreadColumn::width’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:120:6: attention :   ‘int spreadColumn::numeric_display_type’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:126:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h: In constructor ‘matrix::matrix(std::string, int)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:175:6: attention : ‘matrix::index’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:173:9: attention :   ‘std::string matrix::command’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:179:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:173:9: attention : ‘matrix::command’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:169:6: attention :   ‘int matrix::value_type_specification’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:179:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:174:6: attention : ‘matrix::width’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:172:6: attention :   ‘int matrix::numeric_display_type’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:179:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h: In constructor ‘function::function(std::string, int)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:200:6: attention : ‘function::index’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:195:6: attention :   ‘int function::type’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:201:2: attention :   lorsqu'initialisé ici [-Wreorder]
    In file included from /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:37:0:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h: In constructor ‘projectNode::projectNode(std::string, int, double, double)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:498:9: attention : ‘projectNode::name’ will be initialized after [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:497:6: attention :   ‘int projectNode::type’ [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.h:502:2: attention :   lorsqu'initialisé ici [-Wreorder]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp: In member function ‘int OPJFile::ParseFormatOld()’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:503:55: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<spreadSheet>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:572:61: attention : format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘std::vector<spreadColumn>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:598:83: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<spreadColumn>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp: In member function ‘int OPJFile::ParseFormatNew()’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:932:18: attention : array subscript has type ‘char’ [-Wchar-subscripts]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:1104:55: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<spreadSheet>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:1227:77: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<note>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:1228:79: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<note>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:1229:78: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<note>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:1240:8: erreur: traitement des exceptions désactivé, utiliser -fexceptions pour l'activer
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp: In member function ‘void OPJFile::readSpreadInfo(FILE*, FILE*)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:1337:83: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<spreadColumn>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp: In member function ‘void OPJFile::readExcelInfo(FILE*, FILE*)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:1560:102: attention : format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘std::vector<spreadColumn>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp: In member function ‘void OPJFile::readGraphInfo(FILE*, FILE*)’:
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:2231:171: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<graph>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:2231:171: attention : format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘std::vector<graphLayer>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:2231:171: attention : format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘std::vector<graphCurve>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:2243:171: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<graph>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:2243:171: attention : format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘std::vector<graphLayer>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:2243:171: attention : format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘std::vector<graphCurve>::size_type {aka long unsigned int}’ [-Wformat]
    /tmp/test/LabPlot-2.0.0.alpha2/liborigin/OPJFile.cpp:2247:79: attention : format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<graph>::size_type {aka long unsigned int}’ [-Wformat]
    make[2]: *** [liborigin/CMakeFiles/origin.dir/OPJFile.o] Erreur 1
    make[1]: *** [liborigin/CMakeFiles/origin.dir/all] Erreur 2
    make: *** [all] Erreur 2
    
     
  • 73AvP6f3u
    73AvP6f3u
    2012-01-04

    svn version works \o/