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

Close

#634 qscicommandset.cpp: In constructor 'QsciCommandSet::QsciComm

closed-wont-fix
Patrick Mary
5
2012-03-29
2011-12-04
Dennis
No

With tulip-3.6.1 the make fails on ;

Scanning dependencies of target qscintilla2
[ 23%] Building CXX object thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/Qt4/qsciscintilla.cpp.o
[ 23%] Building CXX object thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/Qt4/qsciscintillabase.cpp.o
[ 23%] Building CXX object thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/Qt4/qsciabstractapis.cpp.o
[ 24%] Building CXX object thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/Qt4/qsciapis.cpp.o
[ 24%] Building CXX object thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/Qt4/qscicommand.cpp.o
[ 24%] Building CXX object thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/Qt4/qscicommandset.cpp.o
/home/dveatch/tulip-3.6.1-src/thirdparty/QScintilla-gpl-2.4.6/Qt4/qscicommandset.cpp: In constructor 'QsciCommandSet::QsciCommandSet(QsciScintilla*)':
/home/dveatch/tulip-3.6.1-src/thirdparty/QScintilla-gpl-2.4.6/Qt4/qscicommandset.cpp:590:59: error: invalid conversion from 'int' to 'QsciCommand::Command' [-fpermissive]
/usr/include/qt4/Qsci/qscicommand.h:397:5: error: initializing argument 2 of 'QsciCommand::QsciCommand(QsciScintilla*, QsciCommand::Command, int, int, const char*)' [-fpermissive]
/home/dveatch/tulip-3.6.1-src/thirdparty/QScintilla-gpl-2.4.6/Qt4/qscicommandset.cpp: In member function 'bool QsciCommandSet::readSettings(QSettings&, const char*)':
/home/dveatch/tulip-3.6.1-src/thirdparty/QScintilla-gpl-2.4.6/Qt4/qscicommandset.cpp:612:53: error: 'class QsciCommand' has no member named 'msgId'
/home/dveatch/tulip-3.6.1-src/thirdparty/QScintilla-gpl-2.4.6/Qt4/qscicommandset.cpp: In member function 'bool QsciCommandSet::writeSettings(QSettings&, const char*)':
/home/dveatch/tulip-3.6.1-src/thirdparty/QScintilla-gpl-2.4.6/Qt4/qscicommandset.cpp:650:53: error: 'class QsciCommand' has no member named 'msgId'
make[2]: *** [thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/Qt4/qscicommandset.cpp.o] Error 1
make[1]: *** [thirdparty/QScintilla-gpl-2.4.6/CMakeFiles/qscintilla2.dir/all] Error 2
make: *** [all] Error 2

I have qscintilla2-gpl-2.6 installed and version 3.6.0 compiled fine.

Discussion

  • Dennis
    Dennis
    2011-12-04

    tulip-3.6.1 compile log

     
    Attachments
  • Hi,

    It seems that your version of QScintilla conflicts with the one we compile in thirdparty.
    The fault is our side as we did not configure CMake to handle that particular case.
    You can easily fix that issue by proceeding as described below :

    1) Open the following file : <tulip_src_root_dir>/thirdparty/QScintilla-gpl-2.4.6/CMakelists.txt
    2) Replace the line 5 by :

    INCLUDE_DIRECTORIES(${BEFORE CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${CMAKE_CURRENT_SOURCE_DIR}/src/ ${CMAKE_CURRENT_SOURCE_DIR}/Qt4)

    Hope it will help

    Antoine

     
  • Dennis
    Dennis
    2012-01-07

    There was a slight syntax error. Had to make it look like this;

    INCLUDE_DIRECTORIES(BEFORE ${CMAKE_blah blah

    and able to get past that error.

     
  • Patrick Mary
    Patrick Mary
    2012-03-29

    Thanks for your report.
    QScintilla is no longer needed since Tulip 3.7.0.

     
  • Patrick Mary
    Patrick Mary
    2012-03-29

    • status: open --> closed-wont-fix