Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compile error of installing QScintilla-gpl-2.7.1 on Linux
QtWS25 Last Chance

Compile error of installing QScintilla-gpl-2.7.1 on Linux

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dtustudy68
    wrote on last edited by
    #1

    I am installing QScintilla-gpl-2.7.1 on Linux 2.6.32.

    I got the compile error even though I defined EXT_LEXER_DECL __stdcall.

    #if PLAT_WIN
    #define EXT_LEXER_DECL __stdcall
    #elif PLAT_QT
    #include <qglobal.h>
    #if defined(Q_OS_WIN32) || defined(Q_OS_WIN64)
    #define EXT_LEXER_DECL __stdcall
    #else
    #define EXT_LEXER_DECL __stdcall
    #endif
    #else
    #define EXT_LEXER_DECL
    #endif

    #ifdef SCI_NAMESPACE
    namespace Scintilla {
    #endif

    typedef void*(EXT_LEXER_DECL *GetLexerFunction)(unsigned int Index); // 32
    typedef int (EXT_LEXER_DECL *GetLexerCountFn)(); // 33
    typedef void (EXT_LEXER_DECL *GetLexerNameFn)(unsigned int Index, char *name, int buflength); // 34
    typedef LexerFactoryFunction(EXT_LEXER_DECL *GetLexerFactoryFunction)(unsigned int Index); // 35
    error:

    In file included from /home/user/myID/qscintilla2/QScintilla-gpl- 2.7.1/src/ExternalLexer.cpp:24:
    /home/user/myID//qscintilla2/QScintilla-gpl-2.7.1/src/ExternalLexer.h:32: error: expected )' before '*' token /home/user/myID//qscintilla2/QScintilla-gpl-2.7.1/src/ExternalLexer.h:32: error: expected initializer before '*' token /home/user/myID//qscintilla2/QScintilla-gpl-2.7.1/src/ExternalLexer.h:33: error: expected )' before '' token
    /home/user/myID//qscintilla2/QScintilla-gpl-2.7.1/src/ExternalLexer.h:34: error: expected )' before '*' token /home/user/myID//qscintilla2/QScintilla-gpl-2.7.1/src/ExternalLexer.h:35: error: expected )' before '
    ' token
    /home/user/myID//qscintilla2/QScintilla-gpl-2.7.1/src/ExternalLexer.h:40: error: 'GetLexerFactoryFunction' does not name a type
    /home/user/myID//qscintilla2/QScintilla-gpl-2.7.1/src/ExternalLexer.h:51: error: 'GetLexerFactoryFunction' has not been declared
    Any help will be appreciated.

    Thanks !

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved