Soundio is een afhankelijkheid van LMMS.
Omdat is de laatste versie van LMMS wil proberen, zal ik het zelf moeten compilen.
In yast kan ik libsoundio niet vinden.
Via google dit gevonden: http://libsound.io/#releases
Dus ik heb de tarball gedownload, uitgepakt, een build map aangemaakt.
Als eerste
cmake ..
gedaan.
Dat lijkt goed te gaan, maar als ik dan make doe krijg ik:
guus@linux-0pkp:~/soundio> ls
libsoundio-1.1.0 libsoundio-1.1.0.tar.gz
guus@linux-0pkp:~/soundio> cd soundio-1.0.0
bash: cd: soundio-1.0.0: Bestand of map bestaat niet
guus@linux-0pkp:~/soundio> cd libsoundio-1.1.0/
guus@linux-0pkp:~/soundio/libsoundio-1.1.0> cd build
guus@linux-0pkp:~/soundio/libsoundio-1.1.0/build> cmake ..
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
Configuring libsoundio version 1.1.0
-- 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 JACK: /usr/lib64/libjack.so
-- Found PULSEAUDIO: /usr/lib64/libpulse.so
-- Found ALSA: /usr/lib64/libasound.so (found version "1.0.29")
-- Could NOT find COREAUDIO (missing: COREAUDIO_LIBRARY COREAUDIO_INCLUDE_DIR)
-- Could NOT find WASAPI (missing: WASAPI_INCLUDE_DIR)
Installation Summary
--------------------
* Install Directory : /usr/local
* Build Type : Debug
* Build static libs : ON
* Build examples : ON
* Build tests : ON
System Dependencies
-------------------
* threads : OK
* JACK (optional) : OK
* PulseAudio (optional) : OK
* ALSA (optional) : OK
* CoreAudio (optional) : not found
* WASAPI (optional) : not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/guus/soundio/libsoundio-1.1.0/build
guus@linux-0pkp:~/soundio/libsoundio-1.1.0/build> make
Scanning dependencies of target libsoundio_shared
1%] Building C object CMakeFiles/libsoundio_shared.dir/src/soundio.c.o
In file included from /home/guus/soundio/libsoundio-1.1.0/src/jack.h:13:0,
from /home/guus/soundio/libsoundio-1.1.0/src/soundio_private.h:15,
from /home/guus/soundio/libsoundio-1.1.0/src/soundio.c:8:
/home/guus/soundio/libsoundio-1.1.0/src/atomics.h:44:23: fatal error: stdatomic.h: Bestand of map bestaat niet
#include <stdatomic.h>
^
compilation terminated.
CMakeFiles/libsoundio_shared.dir/build.make:62: recept voor doel 'CMakeFiles/libsoundio_shared.dir/src/soundio.c.o' is mislukt
make[2]: *** [CMakeFiles/libsoundio_shared.dir/src/soundio.c.o] Fout 1
CMakeFiles/Makefile2:205: recept voor doel 'CMakeFiles/libsoundio_shared.dir/all' is mislukt
make[1]: *** [CMakeFiles/libsoundio_shared.dir/all] Fout 2
Makefile:127: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
guus@linux-0pkp:~/soundio/libsoundio-1.1.0/build>
Ik snap niets van die fout, en hoop dat iemand hier mij helpen kan.
Cmake klaagt niet maar make wel?
Core audio en wasapi zijn zo als ik het begrijp voor windows dus niet voor ons.
Ook cmake lmms komt met die melding, maar voegt er aan toe dat deze niet ondersteund worden op dit patform (linux)