[chuck-users] Linux build error for 1.3.2.0 (chimera)

Spencer Salazar spencer at ccrma.stanford.edu
Tue Sep 24 15:49:48 EDT 2013


Hey guys,

Ahh, I think I see the issue here now -- somehow miniAudicle's
Linux-specific configuration options are not being triggered.

Can you provide me with the results of the following command (ensuring that
the -l flag is set so it shows where symbolic links point to):
ls -l /usr/share/qt4/mkspecs

This will show me what Qt configurations are available and which one is
default, and hopefully figure out why that isn't triggering the "linux"
configuration in miniAudicle's build file.

Thanks,
spencer



On Tue, Sep 24, 2013 at 10:47 AM, Brent Hoover <brent at hoover.net> wrote:

> Hello,
>
> I am having an identical problem on Ubuntu 12.04. Chuck builds, no Audicle.
>
> *Brent Hoover*
> Computer Scientist
> ph: 323-687-3265
>
>
> On Mon, Sep 23, 2013 at 7:07 PM, Joel Matthys <jwmatthys at yahoo.com> wrote:
>
>>  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 at 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 <jwmatthys at yahoo.com>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 at 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
>>>> chuck-users at lists.cs.princeton.edu
>>>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>>>
>>>
>>> _______________________________________________
>>> chuck-users mailing list
>>> chuck-users at lists.cs.princeton.edu
>>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>>
>>>
>>
>>
>> _______________________________________________
>> chuck-users mailing listchuck-users at lists.cs.princeton.eduhttps://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>>
>>
>> _______________________________________________
>> chuck-users mailing list
>> chuck-users at lists.cs.princeton.edu
>> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>>
>>
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20130924/55dcacfd/attachment.html>


More information about the chuck-users mailing list