#61 error: 'm_lv2_ui_widget' was not declared in this scope

git_head
closed
nobody
2015-02-26
2013-07-06
No

Hi,
When I try to compile the latest SVN (rev3427) I get an error. The error is reproducible when --disable-suil is given to ./configure.

The confiugre output:

$ ./configure --disable-suil
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.2... 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... no
configure: WARNING: *** rubberband library not found.
configure: WARNING: *** Pitch-shifting support will be disabled.
checking for main in -llo... yes
checking for main in -lz... yes
checking for main in -llilv-0... yes
checking for jack_set_session_callback in -ljack... yes
checking for jack_port_get_latency_range in -ljack... yes
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 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 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 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

  Qtractor 0.5.9.23

  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) . . . . . .: no
  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  . . . . . . . . . . . . . . .: yes
  LV2 plug-in support (liblilv)  . . . . . . . . . .: yes
  LV2 plug-in UI support . . . . . . . . . . . . . .: yes
  LV2 plug-in UI support (libsuil) . . . . . . . . .: no
  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 (EXPERIMENTAL) . .: yes
  LV2 plug-in Programs support . . . . . . . . . . .: yes
  LV2 plug-in Presets support  . . . . . . . . . . .: yes
  LV2 plug-in Time support . . . . . . . . . . . . .: yes
  LV2 plug-in Options support  . . . . . . . . . . .: yes
  LV2 plug-in Buf-size support . . . . . . . . . . .: yes

  JACK Session support . . . . . . . . . . . . . . .: yes
  JACK Latency support . . . . . . . . . . . . . . .: yes

  NSM support (EXPERIMENTAL) . . . . . . . . . . . .: 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.

And here is the error in question:

$ make
<snip>
g++ -c -pipe -I/usr/include/lilv-0 -I/usr/include/sratom-0 -I/usr/include/sord-0 -I/usr/include/serd-0 -msse -mfpmath=sse -ffast-math -O2 -Wall -W -D_REENTRANT -DDATADIR="/usr/local/share" -DLOCALEDIR="/usr/local/share/locale" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include -I/usr/include/qt4 -Ivestige -Ilv2 -I.moc -I.ui -o .obj/qtractorLadspaPlugin.o qtractorLadspaPlugin.cpp
g++ -c -pipe -I/usr/include/lilv-0 -I/usr/include/sratom-0 -I/usr/include/sord-0 -I/usr/include/serd-0 -msse -mfpmath=sse -ffast-math -O2 -Wall -W -D_REENTRANT -DDATADIR="/usr/local/share" -DLOCALEDIR="/usr/local/share/locale" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include -I/usr/include/qt4 -Ivestige -Ilv2 -I.moc -I.ui -o .obj/qtractorLv2Plugin.o qtractorLv2Plugin.cpp
qtractorLv2Plugin.cpp: In constructor 'qtractorLv2Plugin::qtractorLv2Plugin(qtractorPluginList*, qtractorLv2PluginType*)':
qtractorLv2Plugin.cpp:1590:5: error: class 'qtractorLv2Plugin' does not have any field named 'm_lv2_ui_widget'
qtractorLv2Plugin.cpp: In member function 'virtual void qtractorLv2Plugin::process(float**, float**, unsigned int)':
qtractorLv2Plugin.cpp:2178:8: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp: In member function 'virtual void qtractorLv2Plugin::openEditor(QWidget*)':
qtractorLv2Plugin.cpp:2272:6: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp: In member function 'virtual void qtractorLv2Plugin::closeEditor()':
qtractorLv2Plugin.cpp:2443:6: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp:2482:2: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp: In member function 'virtual void qtractorLv2Plugin::idleEditor()':
qtractorLv2Plugin.cpp:2500:6: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp:2531:3: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp: In member function 'virtual void qtractorLv2Plugin::setEditorVisible(bool)':
qtractorLv2Plugin.cpp:2595:6: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp:2601:4: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp:2623:4: error: 'm_lv2_ui_widget' was not declared in this scope
qtractorLv2Plugin.cpp: At global scope:
qtractorLv2Plugin.cpp:2660:6: warning: unused parameter 'pParam' [-Wunused-parameter]
qtractorLv2Plugin.cpp:2660:6: warning: unused parameter 'fValue' [-Wunused-parameter]
qtractorLv2Plugin.cpp:2660:6: warning: unused parameter 'bUpdate' [-Wunused-parameter]
qtractorLv2Plugin.cpp:753:13: warning: 'void qtractor_lv2_ui_write(LV2UI_Controller, uint32_t, uint32_t, uint32_t, const void*)' defined but not used [-Wunused-function]
make[2]: *** [.obj/qtractorLv2Plugin.o] Error 1
make[2]: Leaving directory `/home/kalle/Sources/qtractor-svn/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/kalle/Sources/qtractor-svn'
make: *** [src/qtractor] Error 2

Discussion

  • Rui Nuno Capela

    Rui Nuno Capela - 2013-07-06
    • status: open --> pending
     
  • Karl Lindén

    Karl Lindén - 2013-07-06

    Great, it works! Thank you!

     
  • Rui Nuno Capela

    Rui Nuno Capela - 2013-09-10
    • status: pending --> closed
     

Log in to post a comment.