zynaddsubfx / zyn-fusion-build

Build Scripts For Zyn-Fusion
Do What The F*ck You Want To Public License
124 stars 40 forks source link

fatal error: uv.h: No such file or directory #73

Closed fbattet closed 3 years ago

fbattet commented 3 years ago

I'm trying to build zyn-fusion on linux(Ubuntu 20.04.2 LTS) and I get this error :

...
cc  -std=gnu99 -Wall -Wextra -I . -O3 -g -fPIC -c src/bridge.c src/cache.c src/parse-schema.c src/schema.c rtosc/rtosc.c
In file included from src/bridge.c:7:
src/bridge.h:1:10: fatal error: uv.h: Aucun fichier ou dossier de ce type
    1 | #include <uv.h>
      |          ^~~~~~
compilation terminated.
make[1]: *** [Makefile:13 : lib] Erreur 1
...

History :

sudo apt remove zynaddsubfx
sudo apt-get install build-essential git ruby libtool libmxml-dev automake cmake libfftw3-dev libjack-jackd2-dev liblo-dev libz-dev libasound2-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libcairo2-dev libfontconfig1-dev bison python
git clone https://github.com/zynaddsubfx/zyn-fusion-build
cd zyn-fusion-build/
ruby build-linux.rb

Could you help me ?

fundamental commented 3 years ago

A recent change in the GUI makes it depend upon a system installed version of libuv. I don't know the ubuntu package offhand, but I wouldn't be surprised if it is "libuv-dev". If this doesn't resolve the issue for you, feel free to send a message and the issue can be reopened.