Share

Scx Tools

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

unable to complile the project

  1. 2007-11-13 12:32:56 UTC
    hi there
    i am using ubuntu gutsy
    compile script output the results below
    any ideas how to fix that?
    roman

    root@LAR14:/opt/scx-tools-0.1.1/scx-recorder# ./compile
    g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_SHARED -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o main.o main.cpp
    In file included from /usr/include/qt4/QtCore/qdebug.h:47,
    from /usr/include/qt4/QtNetwork/qabstractsocket.h:220,
    from /usr/include/qt4/QtNetwork/qtcpserver.h:43,
    from /usr/include/qt4/QtNetwork/QTcpServer:1,
    from tcpstreams.h:27,
    from MainWindow.h:32,
    from main.cpp:24:
    /usr/include/qt4/QtCore/qtextstream.h:55:2: error: #error qtextstream.h must be included before any header file that defines Status
    /usr/include/qt4/QtCore/qtextstream.h:82: error: expected identifier before β€˜int’
    /usr/include/qt4/QtCore/qtextstream.h:82: error: expected unqualified-id before β€˜{’ token
    make: *** [main.o] Error 1
  2. 2007-12-28 22:50:50 UTC
    hi

    any ideas how to install in Ubuntu Gutsy 7.10 ???

    help plzz
  3. 2008-04-12 22:07:05 UTC
    Dear Roman and Biggy,

    I'm trying to compile this project in Ubuntu Gutsy as well. I have found the same problem as the both of you. If any of the package developers are active, we would certainly appreciate some feedback on this problem. Meanwhile, if I am able to secure a solution I will post it here.

    Regards,
    Steve
  4. 2008-04-12 22:32:02 UTC
    Dear Roman and Biggy,

    OK, problem "solved". I found that other folks are having similar problems with qt4 when the version is <= 4.3. This is also the version that is currently available in Gutsy, even with updates. The problem and solution are outlined here:

    http://www.voxforge.org/home/forums/message-boards/general-discussion/-german-speech-recognition-suite-gpl

    In short, edit /usr/include/qt4/QtCore/qtextstream.h and change the following:

    #ifdef Status
    #error qtextstream.h must be included before any header file that defines Status
    #endif

    to this:

    #ifdef Status
    /** #error qtextstream.h must be included before any header file that defines Status **/
    #undef Status
    #endif

    After that, it compiled and recorded Skype conversations without incident. Enjoy!

    Regards,
    Steve
  5. 2008-05-23 07:09:19 UTC
    thanks for the help Steve
    successfully compiled the project on Ubuntu 8.04 Hardy Heron using that patch
    to everybody: don't forget to install qt4 (libqt4-dev) and ALSA (libasound2-dev) libraries before compilation
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.