Building LMMS : GigPlayer fails
Posted: Wed Feb 18, 2015 1:26 am
Hello when compiling LMMS on CentOS 7 there is an error compiling GigPlayer. It appears to not have a necessary member function "setFilters".
Here is the configure
Here is the build error
Since GigPlayer is marked as optional I'm not sure if I even need it. I tried using cmake .. --help to find an argument to disable GigPlayer although didn't find anything that stood out as being useful. Is there a fix for this or should it be removed?
Thanks
Here is the configure
Code: Select all
[theenvironmentguy@localhost build]$ cmake ../
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
PROCESSOR: x86_64
Machine: x86_64-redhat-linux
-- Target host is 64 bit
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for include file semaphore.h
-- Looking for include file semaphore.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/ipc.h
-- Looking for include file sys/ipc.h - found
-- Looking for include file sys/shm.h
-- Looking for include file sys/shm.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file stdarg.h
-- Looking for include file stdarg.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file sys/soundcard.h
-- Looking for include file sys/soundcard.h - found
-- Looking for include file soundcard.h
-- Looking for include file soundcard.h - not found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file ctype.h
-- Looking for include file ctype.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file process.h
-- Looking for include file process.h - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- checking for module 'sndfile>=1.0.11'
-- found sndfile, version 1.0.11wxpk1
-- checking for module 'carla-standalone>=1.9.5'
-- package 'carla-standalone>=1.9.5' not found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib64/libSDL.so;-lpthread (found version "1.2.15")
-- checking for module 'portaudio-2.0'
-- found portaudio-2.0, version 19
-- Found Portaudio: portaudio;asound;m;pthread
-- checking for module 'libpulse'
-- found libpulse, version 3.0
-- Found PulseAudio Simple: /usr/lib64/libpulse.so
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/local/lib/libogg.so;/usr/local/lib/libvorbis.so;/usr/local/lib/libvorbisfile.so;/usr/local/lib/libvorbisenc.so
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib64/libasound.so
-- Looking for include file machine/soundcard.h
-- Looking for include file machine/soundcard.h - not found
-- Looking for include file linux/awe_voice.h
-- Looking for include file linux/awe_voice.h - not found
-- Looking for include file awe_voice.h
-- Looking for include file awe_voice.h - not found
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/i386/isa/sound/awe_voice.h - not found
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h
-- Looking for include file /usr/src/sys/gnu/i386/isa/sound/awe_voice.h - not found
-- Looking for C++ include sys/asoundlib.h
-- Looking for C++ include sys/asoundlib.h - found
-- Looking for C++ include alsa/asoundlib.h
-- Looking for C++ include alsa/asoundlib.h - found
-- Looking for snd_pcm_resume in asound
-- Looking for snd_pcm_resume in asound - found
-- checking for module 'jack>=0.77'
-- found jack, version 1.9.9.5
-- checking for module 'fftw3f>=3.0.0'
-- found fftw3f, version 3.3.3
-- checking for module 'fluidsynth>=1.0.7'
-- found fluidsynth, version 1.1.6
-- checking for module 'gig'
-- found gig, version 3.3.0
-- Found Wine: /usr/lib64/libwine.so
-- checking for module 'samplerate>=0.1.8'
-- found samplerate, version 0.1.8
-- Setting build type to 'Release' as none was specified.
-- Found Git: /usr/bin/git (found version "1.8.3.1")
CMake Warning (dev) at CMakeLists.txt:410 (GET_TARGET_PROPERTY):
Policy CMP0026 is not set: Disallow use of the LOCATION target property.
Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The LOCATION property should not be read from target "bin2res". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at plugins/vst_base/CMakeLists.txt:40 (ADD_CUSTOM_COMMAND):
Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures.
Run "cmake --help-policy CMP0050" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The SOURCE signatures of add_custom_command are no longer supported.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found FLTK: /usr/local/lib/libfltk.a
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.9.1")
Installation Summary
--------------------
* Install Directory : /usr/local
Supported audio interfaces
--------------------------
* ALSA : OK
* JACK : OK
* OSS : OK
* PortAudio : OK
* PulseAudio : OK
* SDL : OK
Supported MIDI interfaces
-------------------------
* ALSA : OK
* OSS : OK
* WinMM : <not supported on this platform>
Supported file formats for project export
-----------------------------------------
* WAVE : OK
* OGG/VORBIS : OK
Optional plugins
----------------
* Carla Patchbay & Rack : not found, please install the latest carla
* SoundFont2 player : OK
* Stk Mallets : not found, please install libstk0-dev (or similar) ;if you require the Mallets instrument
* VST-instrument hoster : OK
* VST-effect hoster : OK
* CALF LADSPA plugins : OK
* CAPS LADSPA plugins : OK
* CMT LADSPA plugins : OK
* TAP LADSPA plugins : OK
* SWH LADSPA plugins : OK
* GIG player : OK
-----------------------------------------------------------------
IMPORTANT:
after installing missing packages, remove CMakeCache.txt before
running cmake again!
-----------------------------------------------------------------
-- Configuring done
-- Generating done
-- Build files have been written to: /home/theenvironmentguy/Desktop/sysSetup/programs/LMMS/build
Code: Select all
Building CXX object plugins/GigPlayer/CMakeFiles/gigplayer.dir/GigPlayer.cpp.o
[ 50%] Building CXX object plugins/GigPlayer/CMakeFiles/gigplayer.dir/PatchesDialog.cpp.o
/home/theenvironmentguy/Desktop/sysSetup/programs/LMMS/plugins/GigPlayer/GigPlayer.cpp: In member function ‘void GigInstrumentView::showFileDialog()’:
/home/theenvironmentguy/Desktop/sysSetup/programs/LMMS/plugins/GigPlayer/GigPlayer.cpp:1063:6: error: ‘class FileDialog’ has no member named ‘setFilters’
ofd.setFilters( types );
^
plugins/GigPlayer/CMakeFiles/gigplayer.dir/build.make:76: recipe for target 'plugins/GigPlayer/CMakeFiles/gigplayer.dir/GigPlayer.cpp.o' failed
make[2]: *** [plugins/GigPlayer/CMakeFiles/gigplayer.dir/GigPlayer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 50%] Generating moc_sid_instrument.cpp
[ 50%] Generating embedded_resources.h
Scanning dependencies of target sid
[ 50%] Building CXX object plugins/sid/CMakeFiles/sid.dir/sid_instrument.cpp.o
CMakeFiles/Makefile2:9082: recipe for target 'plugins/GigPlayer/CMakeFiles/gigplayer.dir/all' failed
make[1]: *** [plugins/GigPlayer/CMakeFiles/gigplayer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Thanks