Hmm, I'm having just as much trouble on a different Ubuntu machine which only has Qt4.

Is it possible this is a qmake version problem?
QMake version 2.01a
Using Qt version 4.8.4 in /usr/lib/x86_64-linux-gnu
Ubuntu 13.04 64-bit

Is it just me or is anyone else having build problems?

jwmatthys@joel-hp-dv6:~/Audio/miniAudicle-1.3.0/src$ make linux-alsa
qmake "RTAUDIO_BACKEND=ALSA" -o makefile.qt-alsa miniAudicle.pro
make -f makefile.qt-alsa
make[1]: Entering directory `/home/jwmatthys/Audio/miniAudicle-1.3.0/src'
/usr/lib/x86_64-linux-gnu/qt4/bin/uic qt/mAMainWindow.ui -o build/ui_mAMainWindow.h /usr/lib/x86_64-linux-gnu/qt4/bin/uic qt/madocumentview.ui -o build/ui_madocumentview.h /usr/lib/x86_64-linux-gnu/qt4/bin/uic qt/mAConsoleMonitor.ui -o build/ui_mAConsoleMonitor.h /usr/lib/x86_64-linux-gnu/qt4/bin/uic qt/mAVMMonitor.ui -o build/ui_mAVMMonitor.h /usr/lib/x86_64-linux-gnu/qt4/bin/uic qt/mAPreferencesWindow.ui -o build/ui_mAPreferencesWindow.h /usr/lib/x86_64-linux-gnu/qt4/bin/uic qt/mAExportDialog.ui -o build/ui_mAExportDialog.h g++ -c -m64 -pipe -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Ibuild -Ibuild -o build/mAMainWindow.o qt/mAMainWindow.cpp
In file included from qt/mAMainWindow.h:34:0,
                 from qt/mAMainWindow.cpp:25:
./miniAudicle.h:36:27: fatal error: chuck_compile.h: No such file or directory
compilation terminated.
make[1]: *** [build/mAMainWindow.o] Error 1
make[1]: Leaving directory `/home/jwmatthys/Audio/miniAudicle-1.3.0/src'
make: [linux-alsa] Error 2 (ignored)



On 09/23/2013 04:13 PM, Spencer Salazar wrote:
Hey Joel,

Thanks for reporting in. Qt's build system uses its own custom build tool, qmake, to generate makefiles that refer to whichever version of Qt is available. I'm unsure of how well this works when an application designed for Qt4 is built on a system with Qt5, but I had hoped that there would be a compatibility mode. My guess is this mismatch between Qt versions is the ultimate source of the errors you are seeing. The currently posted source archive is all-good on systems with Qt4, so I will investigate what happens under Qt5.

spencer



On Mon, Sep 23, 2013 at 1:32 PM, Joel Matthys <[email protected] <mailto:[email protected]>> wrote:

    Adding -I/usr/include/qt5/QtWidgets to the includes in the
    makefile fixes this error, but then I keep running into errors
    relating to misnamed or missing files. (For example, source files
    which include ui_mAMainWindow.h, which appears to have been
    renamed "mAMainWindow.ui.") Are you sure the release on the
    website is the final build?

    (Also wondering why the includes are qt5 but the instructions call
    for installation of qt4.)

    Joel


    On 09/23/2013 02:57 PM, Joel Matthys wrote:

        I get a Qt error when I try to build for Linux. Ubuntu 13.04
        32-bit.

        jwmatthys@matthys-vaio:~/Software/miniAudicle-1.3.0/src$ make
        linux-alsa
        make -f makefile.qt-alsa
        make[1]: Entering directory
        `/home/jwmatthys/Software/miniAudicle-1.3.0/src'
        g++ -c -pipe -D__LINUX_ALSA__ -D__CK_SNDFILE_NATIVE__
        -D__LINUX__ -Ichuck/src -O3 -w -D_REENTRANT -fPIE
        -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB
        -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/qt5
        -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui
        -I/usr/include/qt5/QtCore -Ibuild -o build/mAMainWindow.o
        qt/mAMainWindow.cpp
        In file included from qt/mAMainWindow.cpp:25:0:
        qt/mAMainWindow.h:28:23: fatal error: QMainWindow: No such
        file or directory
        compilation terminated.
        make[1]: *** [build/mAMainWindow.o] Error 1
        make[1]: Leaving directory
        `/home/jwmatthys/Software/miniAudicle-1.3.0/src'
        make: [linux-alsa] Error 2 (ignored)

        --------------
        Joel
        _______________________________________________
        chuck-users mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.cs.princeton.edu/mailman/listinfo/chuck-users


    _______________________________________________
    chuck-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.cs.princeton.edu/mailman/listinfo/chuck-users




_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to