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

Spencer Salazar spencer at ccrma.stanford.edu
Thu Sep 26 17:49:01 EDT 2013


Hi Pierre,

Thanks for the report -- can you 'make clean', then 'make linux-alsa', and
post the full output of running that command?

Thanks,
spencer


On Thu, Sep 26, 2013 at 12:13 AM, <p.r.faure at gmail.com> wrote:

> Hi,
>
> I have the same issue as previously mentioned (on Arch 64), on make linux-
> jack (as well as linux-alsa).
> Changing the miniAudicle.pro did not resolve it.
> I enclosed below the qmake trace, and the linux-relevant portion of my
> mkspecs.
> Cheers,
>
> Pierre Faure
>
> In file included from qt/mAMainWindow.cpp:25:0:
> qt/mAMainWindow.h:28:23: erreur fatale: QMainWindow : No such file or
> directory
>  #include <QMainWindow>
>                                       ^
>
> *************************************************
> lrwxrwxrwx  1 root root    9 16 août  15:27 default -> linux-g++/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-arm-gnueabi-g++/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-cxx/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-ecc-64/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-g++/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-g++-32/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-g++-64/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-g++-maemo/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-icc/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-icc-32/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-icc-64/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-kcc/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-llvm/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-lsb-g++/
> drwxr-xr-x  2 root root 4,0K 16 août  15:27 linux-pgcc/
>
>
> Le mardi 24 septembre 2013 15:40:50 Spencer Salazar a écrit :
> > Ok, cool, thanks, thats looks like what I thought would be the problem.
> Now
> > try running this command (a two liner) in miniAudicle-1.3.0/src/:
> >
> > $ sed -i '40 c\
> > linux-* {' miniAudicle.pro
> >
> > This should change line 40 of miniAudicle.pro to 'linux-* {'. Then
> remake:
> > $ make clean
> > $ make linux-alsa
> >
> > And let me know if you get any farther. If that works Ill update the
> source
> > and post that on the site.
> >
> > spencer
> >
> > On Tue, Sep 24, 2013 at 3:17 PM, Joel Matthys <jwmatthys at yahoo.com>
> wrote:
> > >  OK, here you go.
> > >
> > > On 09/24/2013 02:49 PM, Spencer Salazar wrote:
> > >  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
> > >
> > >   $ ls -l /usr/share/qt4/mkspecs
> > >
> > > total 428
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 aix-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 aix-g++-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 aix-xlc
> > > drwxr-xr-x  2 root root 4096 S/ep 19 02:21 aix-xlc-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 blackberry-armv7le-qcc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 blackberry-x86-qcc
> > > drwxr-xr-x 11 root root 4096 Sep 19 02:21 common
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 cygwin-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 darwin-g++
> > > lrwxrwxrwx  1 root root   12 Feb  6  2013 default -> linux-g++-64
> > > drwxr-xr-x  6 root root 4096 Sep 19 02:21 features
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 freebsd-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 freebsd-g++46
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 freebsd-icc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 glibc-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpux-acc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpux-acc-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpux-acc-o64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpux-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpux-g++-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpuxi-acc-32
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpuxi-acc-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hpuxi-g++-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 hurd-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 irix-cc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 irix-cc-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 irix-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 irix-g++-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-arm-gnueabi-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-cxx
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-ecc-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-g++-32
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-g++-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-g++-maemo
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-icc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-icc-32
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-icc-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-kcc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-llvm
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-lsb-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 linux-pgcc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 lynxos-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-g++40
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-g++42
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-icc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-llvm
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-pbuilder
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-xcode
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 macx-xlc
> > > drwxr-xr-x  2 root root 4096 Aug 13 00:38 modules
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 netbsd-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 openbsd-g++
> > > -rw-r--r--  1 root root  888 Sep  5 16:05 qconfig.pri
> > > -rw-r--r--  1 root root    0 Sep  5 16:02 qdevice.pri
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 qnx-armv7le-qcc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 qnx-x86-qcc
> > > drwxr-xr-x 34 root root 4096 Jun 29 16:52 qws
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 sco-cc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 sco-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 solaris-cc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 solaris-cc-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 solaris-cc-64-stlport
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 solaris-cc-stlport
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 solaris-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 solaris-g++-64
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 symbian-abld
> > > drwxr-xr-x  3 root root 4096 Sep 19 02:21 symbian-armcc
> > > drwxr-xr-x  3 root root 4096 Sep 19 02:21 symbian-gcce
> > > drwxr-xr-x  3 root root 4096 Sep 19 02:21 symbian-sbsv2
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 tru64-cxx
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 tru64-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 unixware-cc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 unixware-g++
> > > drwxr-xr-x 27 root root 4096 Aug 12 18:53 unsupported
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-borland
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-g++
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-g++-4.6
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-icc
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-msvc2003
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-msvc2010
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 win32-msvc2012
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-armv4i-
> msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-armv4i-
> msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-mipsii-
> msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-mipsii-
> msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-mipsiv-
> msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-mipsiv-
> msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-sh4-msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-sh4-msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-x86-msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince50standard-x86-msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince60standard-armv4i-
> msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince60standard-x86-msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince70embedded-armv4i-
> msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wince70embedded-x86-
> msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm50pocket-msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm50pocket-msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm50smart-msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm50smart-msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm60professional-
> msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm60professional-
> msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm60standard-msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm60standard-msvc2008
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm65professional-
> msvc2005
> > > drwxr-xr-x  2 root root 4096 Sep 19 02:21 wincewm65professional-
> msvc2008
> > >
> > >  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/ma
> > >>> ilman/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
> > >
> > > _______________________________________________
> > > chuck-users mailing
> > > listchuck-users at lists.cs.princeton.eduhttps://
> lists.cs.princeton.edu/mail
> > > man/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/20130926/27917b24/attachment.html>


More information about the chuck-users mailing list