falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.61k stars 147 forks source link

issue installing #804

Open Anzicksun opened 5 years ago

Anzicksun commented 5 years ago

Hello, when trying to install carla-bridges-win32-git and carla-bridges-win64-git i get the following error:

/usr/include/c++/8.2.1/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next ^~~~~~ compilation terminated. winegcc: gcc failed make[1]: [Makefile:210: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Error 2 make[1]: Leaving directory '/var/tmp/pamac-build-anzick/carla-bridges-win32-git/src/carla-bridges-win32-git/source/jackbridge' make: [Makefile:215: wine32] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

i have carla-git installed and the mingw dependencies. Any ideas how to get it to install? I am installing through from AUR on pacman on Manjaro Linux. Thank you.

falkTX commented 5 years ago

No ideas, sorry. I do not use Arch or anything that uses AUR myself.

Anzicksun commented 5 years ago

Solved it by downgrading to Wine 3.20. Thank you for your reply and making the application!

WasIstDasDingDa commented 5 years ago

I had the same problem on openSUSE Tumbleweed. The crucial clue I received from Joermungand in the blog of LinuxMusicians. He wrote yesterday: "It's because of wine 3.21 or newer. In order for the bridges to compile, you need to downgrade to 3.20. I maintain the build scripts for the wine bridges on Arch and ran into the same issue in a couple of weeks ago." Apparently it's not a problem with certain distros or toolchains, but new versions of Wine. I downgraded to wine 3.19 and everything was fine (see also my report in #785).

half-duplex commented 3 years ago

This appears to be a bug in wine 3.21 to 4.0 and (unknown) through at least 6.6. Wine 3.21 report Wine 6.6 code

I lazily worked around it with sudo bless $(which winegcc), searching for '-isystem' text, and replacing 'is' with 'I\0' (0x4900).