Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 08/02/2015, à 11:10

Maltouzes

(Résolu)Compilation Qtractor 0.6.5 et 0.6.7 (Ubuntu 14.04)

Bonjour à tous,
Je suis sous Ubuntu 14.04 et je suis en train d'essayer de compiler Qtractor0.6.5, j'ai extrait l'archive et j'ai je pense installé toutes les librairies nécessaires Voir ici . Avant la compilation je lance un petit.

 ./autogen.sh 

Il me répond: make: Rien à faire pour « all »

Je continue:

 ./configure 

le terminal me répond ceci:

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for Qt library version >= 4.4... yes
checking for IEEE 32bit float optimizations... yes
checking for SSE optimization... yes
checking for qmake... /usr/bin/qmake
checking for moc... /usr/bin/moc
checking for uic... /usr/bin/uic
checking for lupdate... /usr/bin/lupdate
checking for lrelease... /usr/bin/lrelease
checking for pkg-config... /usr/bin/pkg-config
checking for main in -lm... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for round in -lm... yes
checking for main in -ljack... yes
checking for main in -lasound... yes
checking for main in -lsndfile... yes
checking for main in -logg... yes
checking for main in -lvorbis... yes
checking for main in -lvorbisenc... yes
checking for main in -lvorbisfile... yes
checking for main in -lmad... yes
checking for main in -lsamplerate... yes
checking for main in -lrubberband... yes
checking for main in -llo... yes
checking for main in -lz... yes
checking for main in -llilv-0... yes
checking for main in -lsuil-0... yes
checking for suil_instance_get_handle in -lsuil-0... no
checking for jack_set_session_callback in -ljack... yes
checking for jack_port_get_latency_range in -ljack... yes
checking for jack_get_property in -ljack... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking jack/jack.h usability... yes
checking jack/jack.h presence... yes
checking for jack/jack.h... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking sndfile.h usability... yes
checking sndfile.h presence... yes
checking for sndfile.h... yes
checking vorbis/vorbisenc.h usability... yes
checking vorbis/vorbisenc.h presence... yes
checking for vorbis/vorbisenc.h... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking samplerate.h usability... yes
checking samplerate.h presence... yes
checking for samplerate.h... yes
checking rubberband/RubberBandStretcher.h usability... yes
checking rubberband/RubberBandStretcher.h presence... yes
checking for rubberband/RubberBandStretcher.h... yes
checking lo/lo.h usability... yes
checking lo/lo.h presence... yes
checking for lo/lo.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking lilv/lilv.h usability... yes
checking lilv/lilv.h presence... yes
checking for lilv/lilv.h... yes
checking suil/suil.h usability... yes
checking suil/suil.h presence... yes
checking for suil/suil.h... yes
checking ladspa.h usability... yes
checking ladspa.h presence... yes
checking for ladspa.h... yes
checking dssi.h usability... yes
checking dssi.h presence... yes
checking for dssi.h... yes
checking for VST headers... no
checking aeffectx.h usability... yes
checking aeffectx.h presence... yes
checking for aeffectx.h... yes
checking lv2.h usability... yes
checking lv2.h presence... yes
checking for lv2.h... yes
checking lv2/lv2plug.in/ns/ext/urid/urid.h usability... yes
checking lv2/lv2plug.in/ns/ext/urid/urid.h presence... yes
checking for lv2/lv2plug.in/ns/ext/urid/urid.h... yes
checking lv2/lv2plug.in/ns/ext/uri-map/uri-map.h usability... yes
checking lv2/lv2plug.in/ns/ext/uri-map/uri-map.h presence... yes
checking for lv2/lv2plug.in/ns/ext/uri-map/uri-map.h... yes
checking lv2/lv2plug.in/ns/extensions/ui/ui.h usability... yes
checking lv2/lv2plug.in/ns/extensions/ui/ui.h presence... yes
checking for lv2/lv2plug.in/ns/extensions/ui/ui.h... yes
checking lv2/lv2plug.in/ns/ext/event/event.h usability... yes
checking lv2/lv2plug.in/ns/ext/event/event.h presence... yes
checking for lv2/lv2plug.in/ns/ext/event/event.h... yes
checking lv2/lv2plug.in/ns/ext/event/event-helpers.h usability... yes
checking lv2/lv2plug.in/ns/ext/event/event-helpers.h presence... yes
checking for lv2/lv2plug.in/ns/ext/event/event-helpers.h... yes
checking lv2_atom_helpers.h usability... yes
checking lv2_atom_helpers.h presence... yes
checking for lv2_atom_helpers.h... yes
checking lv2/lv2plug.in/ns/ext/worker/worker.h usability... yes
checking lv2/lv2plug.in/ns/ext/worker/worker.h presence... yes
checking for lv2/lv2plug.in/ns/ext/worker/worker.h... yes
checking lv2_external_ui.h usability... yes
checking lv2_external_ui.h presence... yes
checking for lv2_external_ui.h... yes
checking lv2/lv2plug.in/ns/ext/data-access/data-access.h usability... yes
checking lv2/lv2plug.in/ns/ext/data-access/data-access.h presence... yes
checking for lv2/lv2plug.in/ns/ext/data-access/data-access.h... yes
checking lv2/lv2plug.in/ns/ext/instance-access/instance-access.h usability... yes
checking lv2/lv2plug.in/ns/ext/instance-access/instance-access.h presence... yes
checking for lv2/lv2plug.in/ns/ext/instance-access/instance-access.h... yes
checking lv2/lv2plug.in/ns/ext/atom/atom.h usability... yes
checking lv2/lv2plug.in/ns/ext/atom/atom.h presence... yes
checking for lv2/lv2plug.in/ns/ext/atom/atom.h... yes
checking lv2/lv2plug.in/ns/ext/state/state.h usability... yes
checking lv2/lv2plug.in/ns/ext/state/state.h presence... yes
checking for lv2/lv2plug.in/ns/ext/state/state.h... yes
checking lv2_programs.h usability... yes
checking lv2_programs.h presence... yes
checking for lv2_programs.h... yes
checking lv2/lv2plug.in/ns/ext/presets/presets.h usability... yes
checking lv2/lv2plug.in/ns/ext/presets/presets.h presence... yes
checking for lv2/lv2plug.in/ns/ext/presets/presets.h... yes
checking lv2/lv2plug.in/ns/ext/time/time.h usability... yes
checking lv2/lv2plug.in/ns/ext/time/time.h presence... yes
checking for lv2/lv2plug.in/ns/ext/time/time.h... yes
checking lv2/lv2plug.in/ns/ext/options/options.h usability... yes
checking lv2/lv2plug.in/ns/ext/options/options.h presence... yes
checking for lv2/lv2plug.in/ns/ext/options/options.h... yes
checking lv2/lv2plug.in/ns/ext/buf-size/buf-size.h usability... yes
checking lv2/lv2plug.in/ns/ext/buf-size/buf-size.h presence... yes
checking for lv2/lv2plug.in/ns/ext/buf-size/buf-size.h... yes
checking for LV2 UI Idle interface... yes
checking for LV2 UI Show interface... no
checking lv2/lv2plug.in/ns/ext/atom/forge.h usability... yes
checking lv2/lv2plug.in/ns/ext/atom/forge.h presence... yes
checking for lv2/lv2plug.in/ns/ext/atom/forge.h... yes
checking for LV2 Time/position support (lv2_atom_forge_object)... 
checking for LV2 Time/position support (lv2_atom_forge_key)... 
checking jack/session.h usability... yes
checking jack/session.h presence... yes
checking for jack/session.h... yes
checking for system... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating qtractor.spec
config.status: creating src/src.pri
config.status: creating src/qtractor.desktop
config.status: creating src/config.h
config.status: src/config.h is unchanged

  Qtractor 0.6.5

  Build target . . . . . . . . . . . . . . . . . . .: release

  JACK Audio Connection Kit support  . . . . . . . .: yes
  ALSA MIDI Sequencer support  . . . . . . . . . . .: yes
  General audio file support (libsndfile)  . . . . .: yes
  Ogg Vorbis audio file support (libvorbis)  . . . .: yes
  MPEG-1 Audio Layer 3 file support (libmad) . . . .: yes
  Sample-rate conversion support (libsamplerate) . .: yes
  Pitch-shifting support (librubberband) . . . . . .: yes
  OSC service support (liblo)  . . . . . . . . . . .: yes
  Archive/Zip file support (zlib)  . . . . . . . . .: yes
  IEEE 32bit float optimizations . . . . . . . . . .: yes
  SSE optimization support (x86) . . . . . . . . . .: yes
  LADSPA plug-in support . . . . . . . . . . . . . .: yes
  DSSI plug-in support . . . . . . . . . . . . . . .: yes
  VST plug-in support  . . . . . . . . . . . . . . .: yes
  LV2 plug-in support (liblilv)  . . . . . . . . . .: yes
  LV2 plug-in UI support (libsuil) . . . . . . . . .: yes
  LV2 plug-in External UI support  . . . . . . . . .: yes
  LV2 plug-in MIDI/Event support . . . . . . . . . .: yes
  LV2 plug-in MIDI/Atom support  . . . . . . . . . .: yes
  LV2 plug-in Worker/Schedule support  . . . . . . .: yes
  LV2 plug-in State support  . . . . . . . . . . . .: yes
  LV2 plug-in State Files support  . . . . . . . . .: yes
  LV2 plug-in Programs support . . . . . . . . . . .: yes
  LV2 plug-in Presets support  . . . . . . . . . . .: yes
  LV2 plug-in Time support . . . . . . . . . . . . .: yes
  LV2 plug-in Time/position support  . . . . . . . .: yes
  LV2 plug-in Options support  . . . . . . . . . . .: yes
  LV2 plug-in Buf-size support . . . . . . . . . . .: yes
  LV2 plug-in UI Idle interface support  . . . . . .: yes
  LV2 plug-in UI Show interface support  . . . . . .: no

  JACK Session support . . . . . . . . . . . . . . .: yes
  JACK Latency support . . . . . . . . . . . . . . .: yes
  JACK Metadata support  . . . . . . . . . . . . . .: no

  Non Session Management (NSM) support . . . . . . .: yes

  X11 Unique/Single instance . . . . . . . . . . . .: no
  VeSTige header support . . . . . . . . . . . . . .: yes
  Gradient eye-candy . . . . . . . . . . . . . . . .: yes
  Debugger stack-trace (gdb) . . . . . . . . . . . .: no

  Install prefix . . . . . . . . . . . . . . . . . .: /usr/local

Now type 'make', followed by 'make install' as root.

Je n'arrive pas à obtenir des yes pour ces lignes, que faut-il faire?
LV2 plug-in UI Show interface support  . . . . . .: no
JACK Metadata support  . . . . . . . . . . . . . .: no
X11 Unique/Single instance . . . . . . . . . . . .: no
Debugger stack-trace (gdb) . . . . . . . . . . . .: no

Je précise que je n'ai pas besoins du support des VST.

Un petit

make

et voilà la réponse du terminal:

make[1]: entrant dans le répertoire « /home/user/Téléchargements/qtractor-0.6.5 »
cd src/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/user/Téléchargements/qtractor-0.6.5/src/src.pro -o Makefile ) && make -f Makefile 
make[2]: entrant dans le répertoire « /home/user/Téléchargements/qtractor-0.6.5/src »
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile src.pro
make[2]: quittant le répertoire « /home/user/Téléchargements/qtractor-0.6.5/src »
make[2]: entrant dans le répertoire « /home/user/Téléchargements/qtractor-0.6.5/src »
g++ -c -m64 -pipe -I/usr/include/suil-0 -I/usr/include/serd-0 -I/usr/include/sord-0 -I/usr/include/sratom-0 -I/usr/include/lilv-0 -msse -mfpmath=sse -ffast-math -O2 -Wall -W -D_REENTRANT -fPIE -DDATADIR="/usr/local/share" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I/usr/local/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4 -Ivestige -Ilv2 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I.moc -I.ui -o .obj/qtractor.o qtractor.cpp
In file included from /usr/include/qt5/QtWidgets/QApplication:1:0,
                 from .ui/ui_qtractorMainForm.h:36,
                 from qtractorMainForm.h:25,
                 from qtractor.cpp:24:
/usr/include/qt5/QtWidgets/qapplication.h:111:24: error: missing binary operator before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
/usr/include/qt5/QtWidgets/qapplication.h:151:24: error: missing binary operator before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
/usr/include/qt5/QtWidgets/qapplication.h:181:24: error: missing binary operator before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:47:0,
                 from /usr/include/qt5/QtWidgets/qheaderview.h:45,
                 from /usr/include/qt5/QtWidgets/QHeaderView:1,
                 from .ui/ui_qtractorMainForm.h:38,
                 from qtractorMainForm.h:25,
                 from qtractor.cpp:24:
/usr/include/qt5/QtCore/qitemselectionmodel.h:93:24: error: missing binary operator before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
In file included from /usr/include/qt5/QtWidgets/QHeaderView:1:0,
                 from .ui/ui_qtractorMainForm.h:38,
                 from qtractorMainForm.h:25,
                 from qtractor.cpp:24:
/usr/include/qt5/QtWidgets/qheaderview.h:119:24: error: missing binary operator before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
/usr/include/qt5/QtWidgets/qheaderview.h:126:24: error: missing binary operator before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
/usr/include/qt5/QtWidgets/qheaderview.h:141:24: error: missing binary operator before token "("
 #if QT_DEPRECATED_SINCE(5, 0)
                        ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
                 from /usr/include/qt5/QtWidgets/qaction.h:47,
                 from /usr/include/qt5/QtWidgets/QAction:1,
                 from .ui/ui_qtractorMainForm.h:35,
                 from qtractorMainForm.h:25,
                 from qtractor.cpp:24:
/usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: error: variable ‘Q_WIDGETS_EXPORT QSizePolicy’ has initializer but incomplete type
 class Q_WIDGETS_EXPORT QSizePolicy
                        ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:52:24: warning: extended initializer lists only available with -std=c++11 or -std=gnu++11 [enabled by default]
In file included from /usr/include/qt4/QtCore/qobject.h:47:0,
                 from /usr/include/qt5/QtCore/qsettings.h:45,
                 from /usr/include/qt5/QtCore/QSettings:1,
                 from qtractorOptions.h:25,
                 from qtractor.cpp:23:
/usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected primary-expression before ‘public’
 public: \
 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
     Q_GADGET
     ^
/usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘}’ before ‘public’
 public: \
 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
     Q_GADGET
     ^
/usr/include/qt4/QtCore/qobjectdefs.h:174:1: error: expected ‘,’ or ‘;’ before ‘public’
 public: \
 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
     Q_GADGET
     ^
/usr/include/qt4/QtCore/qobjectdefs.h:177:1: error: expected unqualified-id before ‘private’
 private:
 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:54:5: note: in expansion of macro ‘Q_GADGET’
     Q_GADGET
     ^
In file included from /usr/include/qt5/QtWidgets/qwidget.h:53:0,
                 from /usr/include/qt5/QtWidgets/qaction.h:47,
                 from /usr/include/qt5/QtWidgets/QAction:1,
                 from .ui/ui_qtractorMainForm.h:35,
                 from qtractorMainForm.h:25,
                 from qtractor.cpp:24:
/usr/include/qt5/QtWidgets/qsizepolicy.h:67:19: error: ‘GrowFlag’ was not declared in this scope
         Minimum = GrowFlag,
                   ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:68:19: error: ‘ShrinkFlag’ was not declared in this scope
         Maximum = ShrinkFlag,
                   ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:69:21: error: ‘GrowFlag’ was not declared in this scope
         Preferred = GrowFlag | ShrinkFlag,
                     ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:69:32: error: ‘ShrinkFlag’ was not declared in this scope
         Preferred = GrowFlag | ShrinkFlag,
                                ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:70:28: error: ‘GrowFlag’ was not declared in this scope
         MinimumExpanding = GrowFlag | ExpandFlag,
                            ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:70:39: error: ‘ExpandFlag’ was not declared in this scope
         MinimumExpanding = GrowFlag | ExpandFlag,
                                       ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:71:21: error: ‘GrowFlag’ was not declared in this scope
         Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
                     ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:71:32: error: ‘ShrinkFlag’ was not declared in this scope
         Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
                                ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:71:45: error: ‘ExpandFlag’ was not declared in this scope
         Expanding = GrowFlag | ShrinkFlag | ExpandFlag,
                                             ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:72:19: error: ‘ShrinkFlag’ was not declared in this scope
         Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
                   ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:72:32: error: ‘GrowFlag’ was not declared in this scope
         Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
                                ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:72:43: error: ‘IgnoreFlag’ was not declared in this scope
         Ignored = ShrinkFlag | GrowFlag | IgnoreFlag
                                           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:94:17: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
     QSizePolicy() : data(0) { }
                 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:94:21: error: only constructors take member initializers
     QSizePolicy() : data(0) { }
                     ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:94:31: warning: no return statement in function returning non-void [-Wreturn-type]
     QSizePolicy() : data(0) { }
                               ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:97:83: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
     QSizePolicy(Policy horizontal, Policy vertical, ControlType type = DefaultType)
                                                                                   ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(Policy, Policy, ControlType)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:98:11: error: only constructors take member initializers
         : data(0) {
           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:99:9: error: ‘bits’ was not declared in this scope
         bits.horPolicy = horizontal;
         ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:101:28: error: ‘setControlType’ was not declared in this scope
         setControlType(type);
                            ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:102:5: warning: no return statement in function returning non-void [-Wreturn-type]
     }
     ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:103:31: error: non-member function ‘Policy horizontalPolicy()’ cannot have cv-qualifier
     Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
                               ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:103:66: error: ‘bits’ was not declared in this scope
     Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
                                                                  ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:104:29: error: non-member function ‘Policy verticalPolicy()’ cannot have cv-qualifier
     Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
                             ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:104:64: error: ‘bits’ was not declared in this scope
     Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
                                                                ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:105:31: error: non-member function ‘ControlType controlType()’ cannot have cv-qualifier
     ControlType controlType() const;
                               ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalPolicy(Policy)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:107:42: error: ‘bits’ was not declared in this scope
     void setHorizontalPolicy(Policy d) { bits.horPolicy = d; }
                                          ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalPolicy(Policy)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:108:40: error: ‘bits’ was not declared in this scope
     void setVerticalPolicy(Policy d) { bits.verPolicy = d; }
                                        ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:111:44: error: non-member function ‘Qt::Orientations expandingDirections()’ cannot have cv-qualifier
     Qt::Orientations expandingDirections() const {
                                            ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Qt::Orientations expandingDirections()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:113:32: error: ‘ExpandFlag’ was not declared in this scope
         if (verticalPolicy() & ExpandFlag)
                                ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:115:34: error: ‘ExpandFlag’ was not declared in this scope
         if (horizontalPolicy() & ExpandFlag)
                                  ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHeightForWidth(bool)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:120:38: error: ‘bits’ was not declared in this scope
     void setHeightForWidth(bool b) { bits.hfw = b;  }
                                      ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:121:30: error: non-member function ‘bool hasHeightForWidth()’ cannot have cv-qualifier
     bool hasHeightForWidth() const { return bits.hfw; }
                              ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:121:45: error: ‘bits’ was not declared in this scope
     bool hasHeightForWidth() const { return bits.hfw; }
                                             ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setWidthForHeight(bool)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:122:38: error: ‘bits’ was not declared in this scope
     void setWidthForHeight(bool b) { bits.wfh = b;  }
                                      ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:123:30: error: non-member function ‘bool hasWidthForHeight()’ cannot have cv-qualifier
     bool hasWidthForHeight() const { return bits.wfh; }
                              ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:123:45: error: ‘bits’ was not declared in this scope
     bool hasWidthForHeight() const { return bits.wfh; }
                                             ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:125:27: error: ‘QSizePolicy’ does not name a type
     bool operator==(const QSizePolicy& s) const { return data == s.data; }
                           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:125:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
     bool operator==(const QSizePolicy& s) const { return data == s.data; }
                                        ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: non-member function ‘bool operator==(const int&)’ cannot have cv-qualifier
     bool operator==(const QSizePolicy& s) const { return data == s.data; }
                                           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:125:43: error: ‘bool operator==(const int&)’ must have an argument of class or enumerated type
/usr/include/qt5/QtWidgets/qsizepolicy.h:126:27: error: ‘QSizePolicy’ does not name a type
     bool operator!=(const QSizePolicy& s) const { return data != s.data; }
                           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:126:40: error: ISO C++ forbids declaration of ‘s’ with no type [-fpermissive]
     bool operator!=(const QSizePolicy& s) const { return data != s.data; }
                                        ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: non-member function ‘bool operator!=(const int&)’ cannot have cv-qualifier
     bool operator!=(const QSizePolicy& s) const { return data != s.data; }
                                           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:126:43: error: ‘bool operator!=(const int&)’ must have an argument of class or enumerated type
/usr/include/qt5/QtWidgets/qsizepolicy.h:127:30: error: expected constructor, destructor, or type conversion before ‘;’ token
     operator QVariant() const; // implemented in qlayoutitem.cpp
                              ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:129:29: error: non-member function ‘int horizontalStretch()’ cannot have cv-qualifier
     int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
                             ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:129:61: error: ‘bits’ was not declared in this scope
     int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
                                                             ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:130:27: error: non-member function ‘int verticalStretch()’ cannot have cv-qualifier
     int verticalStretch() const { return static_cast<int>(bits.verStretch); }
                           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:130:59: error: ‘bits’ was not declared in this scope
     int verticalStretch() const { return static_cast<int>(bits.verStretch); }
                                                           ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setHorizontalStretch(int)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:131:52: error: ‘bits’ was not declared in this scope
     void setHorizontalStretch(int stretchFactor) { bits.horStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
                                                    ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setVerticalStretch(int)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:132:50: error: ‘bits’ was not declared in this scope
     void setVerticalStretch(int stretchFactor) { bits.verStretch = static_cast<quint32>(qBound(0, stretchFactor, 255)); }
                                                  ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:134:33: error: non-member function ‘bool retainSizeWhenHidden()’ cannot have cv-qualifier
     bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
                                 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:134:48: error: ‘bits’ was not declared in this scope
     bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
                                                ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘void setRetainSizeWhenHidden(bool)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:135:53: error: ‘bits’ was not declared in this scope
     void setRetainSizeWhenHidden(bool retainSize) { bits.retainSizeWhenHidden = retainSize; }
                                                     ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:140:1: error: expected unqualified-id before ‘private’
 private:
 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:143:5: error: ‘friend’ used outside of class
     friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
     ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:143:41: error: expected initializer before ‘&’ token
     friend Q_WIDGETS_EXPORT QDataStream &operator>>(QDataStream &, QSizePolicy &);
                                         ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:145:22: error: ISO C++ forbids declaration of ‘QSizePolicy’ with no type [-fpermissive]
     QSizePolicy(int i) : data(i) { }
                      ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int QSizePolicy(int)’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:145:26: error: only constructors take member initializers
     QSizePolicy(int i) : data(i) { }
                          ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:145:36: warning: no return statement in function returning non-void [-Wreturn-type]
     QSizePolicy(int i) : data(i) { }
                                    ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: At global scope:
/usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> <anonymous>’ with linkage [enabled by default]
     };
     ^
/usr/include/qt5/QtWidgets/qsizepolicy.h:160:5: error: namespace-scope anonymous aggregates must be static
/usr/include/qt5/QtWidgets/qsizepolicy.h:161:1: error: expected declaration before ‘}’ token
 };
 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy horizontalPolicy()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:103:83: warning: control reaches end of non-void function [-Wreturn-type]
     Policy horizontalPolicy() const { return static_cast<Policy>(bits.horPolicy); }
                                                                                   ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘Policy verticalPolicy()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:104:81: warning: control reaches end of non-void function [-Wreturn-type]
     Policy verticalPolicy() const { return static_cast<Policy>(bits.verPolicy); }
                                                                                 ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasHeightForWidth()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:121:55: warning: control reaches end of non-void function [-Wreturn-type]
     bool hasHeightForWidth() const { return bits.hfw; }
                                                       ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool hasWidthForHeight()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:123:55: warning: control reaches end of non-void function [-Wreturn-type]
     bool hasWidthForHeight() const { return bits.wfh; }
                                                       ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int horizontalStretch()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:129:79: warning: control reaches end of non-void function [-Wreturn-type]
     int horizontalStretch() const { return static_cast<int>(bits.horStretch); }
                                                                               ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘int verticalStretch()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:130:77: warning: control reaches end of non-void function [-Wreturn-type]
     int verticalStretch() const { return static_cast<int>(bits.verStretch); }
                                                                             ^
/usr/include/qt5/QtWidgets/qsizepolicy.h: In function ‘bool retainSizeWhenHidden()’:
/usr/include/qt5/QtWidgets/qsizepolicy.h:134:75: warning: control reaches end of non-void function [-Wreturn-type]
     bool retainSizeWhenHidden() const { return bits.retainSizeWhenHidden; }
                                                                           ^
make[2]: *** [.obj/qtractor.o] Erreur 1
make[2]: quittant le répertoire « /home/user/Téléchargements/qtractor-0.6.5/src »
make[1]: *** [sub-src-make_first] Erreur 2
make[1]: quittant le répertoire « /home/user/Téléchargements/qtractor-0.6.5 »
make: *** [src/qtractor] Erreur 2

Merci à tous pour votre aide

Dernière modification par Maltouzes (Le 15/06/2015, à 14:06)

Hors ligne

#2 Le 09/02/2015, à 21:03

Maltouzes

Re : (Résolu)Compilation Qtractor 0.6.5 et 0.6.7 (Ubuntu 14.04)

Personne? Je n'ai peut être pas posté dans la bonne section?

Je précise que j'ai installé de nombreux paquets:
build-essential
gcc
autoconf
automake
qt-sdk
libjack-jackd2-dev
libsndfile1-dev
sndfile-tools
sndfile-programs-dbg
libvorbis-dev
libmad0-dev
libsamplerate0-dev
librubberband-dev
liblo-dev
dssi-dev
libdssialsacompat-dev
liblilv-dev libsuil-dev
libsndfile1-dev libasound2-dev

et que j'ai suis déjà passé par git:

git clone http://git.code.sf.net/p/qtractor/code qtractor-git
cd qtractor-git
make -f Makefile.git
Puis
./configure
make

J'ai obtenu la même erreur.

Hors ligne

#3 Le 10/02/2015, à 11:16

claudius01

Re : (Résolu)Compilation Qtractor 0.6.5 et 0.6.7 (Ubuntu 14.04)

Si si, tu es dans la bonne section (encore qu'il y a plusieurs fils de discussions dans Création graphique, musicale et vidéo comme Installer Qtractor à mettre au gout du jour @ version de Ubuntu).

Une question indiscrète: Recompiler le projet est une obligation ?

Toujours est-il que les erreurs font penser à un problème de version de Qt (que je ne connais que de nom ;-) car celles-ci apparaissent dans des fichiers include comme '/usr/include/qt5/QtWidgets/qapplication.h' ou '/usr/include/qt5/QtWidgets/qsizepolicy.h'.

Par expérience, avant de lancer le './configure' il est utile de lancer le './configure -help' et éditer le README qui peuvent indiquer des choses comme des dépendances attendues, des options du './configure' particulières, etc.

Maltouzes a écrit :

Je n'arrive pas à obtenir des yes pour ces lignes, que faut-il faire?
LV2 plug-in UI Show interface support  . . . . . .: no
JACK Metadata support  . . . . . . . . . . . . . .: no
X11 Unique/Single instance . . . . . . . . . . . .: no
Debugger stack-trace (gdb) . . . . . . . . . . . .: no

Là, il faut éditer le fichier 'configure.log' et analyser la cause qui peut être tout simplement l'absence d'un module et/ou une mauvaise version trouvée de celui-ci.

En espérant t'avoir aidé...

Hors ligne

#4 Le 10/02/2015, à 13:47

Maltouzes

Re : (Résolu)Compilation Qtractor 0.6.5 et 0.6.7 (Ubuntu 14.04)

Non recompiler Qtractor n'est pas une obligation, j'aurais pu passer par le ppa de kxstudio...
https://launchpad.net/~kxstudio-debian/ … buntu/apps

Je voudrais apprendre à "maîtriser" la compilation.

Mais je crois que j'ai trouvé une partie de réponse:
Pour compiler qtractor avec qt4 il suffit de faire:

./configure --with-qt4=/usr/share/qt4

En revanche j'ai ces deux "erreurs", je dis erreur mais je ne sait pas ce que ça signifie.

void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 3
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 4

A part ça, je crois que qtractor fonctionne (je n'ai pas trop eu le temps de le tester)
et il faut le lancer à partir de la console.

qtractor

Pour "il faut éditer le fichier 'configure.log' et analyser la cause qui peut être tout simplement l'absence d'un module et/ou une mauvaise version trouvée de celui-ci." Je vais me penchez dessus, merci claudius01. Je vais essayer de chercher dans configure.log

Hors ligne

#5 Le 10/02/2015, à 15:54

claudius01

Re : (Résolu)Compilation Qtractor 0.6.5 et 0.6.7 (Ubuntu 14.04)

Maltouzes a écrit :

En revanche j'ai ces deux "erreurs", je dis erreur mais je ne sait pas ce que ça signifie.

void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 3
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "" under id 4

Regarde là : Cruel dbus error
Cela y ressemble et si le cas (erreur à l'exécution), il y a un palliatif proposé : "Solution was deleting qtractor.conf from home directory"

Maltouzes a écrit :

Non recompiler Qtractor n'est pas une obligation, j'aurais pu passer par le ppa de kxstudio...
https://launchpad.net/~kxstudio-debian/ … buntu/apps

Je voudrais apprendre à "maîtriser" la compilation.

C'est une excellente école (et indispensable pour le portage d'applications sur différentes plates-formes ;-)

Hors ligne

#6 Le 13/02/2015, à 12:22

Maltouzes

Re : (Résolu)Compilation Qtractor 0.6.5 et 0.6.7 (Ubuntu 14.04)

Bon juste pour info j'ai réussi, en fait il suffisait de dire à Qtractor ou était la librairie qt4 lors de configure donc:

/configure --with-qt4=/usr/share/qt4
make
sudo make install

Je précise aussi que j'ai aussi installé toutes les dépendances nécessaires:

sudo update
sudo apt-get install dssi-dev ladspa-sdk libasound2-dev libgtk2.0-dev liblilv-dev liblo-dev libmad0-dev libqt4-dev librubberband-dev  libsndfile1-dev libsuil-dev libtool libvorbis-dev libx11-dev lv2-dev libqt4-dev libjack-jackd2-dev libsamplerate0-dev

Il en manque peut être je ne sais plus...

En tout cas ça a fonctionné sous Ubuntu 14.04.

EDIT: Pour qtractor 0.6.7:

sudo update 
sudo apt-get install libserd-dev mawk libgl1-mesa-glx:amd64 libpopt0:amd64 libsord-dev libc6-i386 libogg-dev:amd64 libasound2-dev:amd64 libsuil-dev:amd64 libc6-x32 libmirclientplatform-mesa:amd64 libjack-jackd2-dev:amd64 libegl1-mesa:amd64 libmad0-dev libsndfile1-dev mime-support liblo7 libsamplerate0-dev:amd64 libqt4-dev dssi-dev librubberband-dev:amd64 liblilv-0-0 libc6:i386 zlib1g-dev:amd64 liblilv-dev libsratom-dev libgl1-mesa-glx:i386 libfakeroot:amd64 liblo-dev lv2-dev
/configure --with-qt4=/usr/share/qt5
make
sudo make install

Dernière modification par Maltouzes (Le 15/06/2015, à 18:18)

Hors ligne