Carla: Building issues

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
Jonas
Established Member
Posts: 3
Joined: Fri Nov 30, 2018 6:17 pm

Carla: Building issues

Post by Jonas »

I'm using openSUSE tumbleweed with a GCC 8 toolchain. I wanted to build Carla from the sources and came up to the wine bridges and then this:

In file included from ../utils/CarlaUtils.hpp:26,
from ../utils/CarlaLibUtils.hpp:21,
from JackBridge1.cpp:32:
/usr/include/c++/8/cstdlib:75:15: fatal error: stdlib.h: Datei oder Verzeichnis nicht gefunden
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
winegcc: gcc failed
make[1]: *** [Makefile:210: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Fehler 2
make: *** [Makefile:215: wine32] Fehler 2

(the same at wine64, meine Compiler sprechen deutsch;‑)

Does a developer have a hint for me and maybe other users?
tavasti
Established Member
Posts: 2056
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 372 times
Been thanked: 209 times
Contact:

Re: Carla: Building issues

Post by tavasti »

Reading those error messages would be easier if you could run that build on some locale having english as language.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Carla: Building issues

Post by Joermungand »

It’s because of wine 3.21 or newer. In order for the bridges to compile, you need to downgrade wine to 3.20. I maintain the build scripts for the wine bridges on Arch and ran into the same issue a couple of weeks ago.
Jonas
Established Member
Posts: 3
Joined: Fri Nov 30, 2018 6:17 pm

Re: Carla: Building issues

Post by Jonas »

Thanks for your reference to wine, shortly available I had only version 3.19 for testing, 3.20 I still have to build from the sources.

With Wine 3.19 there was another error in building wine32-bridge:

Linking jackbridge-wine32.dll.so
ld: relocatable linking with relocations from format elf64-x86-64 (/usr/lib64/wine/libwinecrt0.a(dll_entry.o)) to format elf32-i386 (jackbridge-wine32.2H8zks.o) is not supported
winebuild: ld failed with status 1
winegcc: winebuild failed

But, building wine64-bridge was ok! I can do the rest too.
Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Carla: Building issues

Post by Joermungand »

I’ve no idea how wine is packaged in openSUSE, but have you installed 32-bit wine packages, too (including devel)?
Jonas
Established Member
Posts: 3
Joined: Fri Nov 30, 2018 6:17 pm

Re: Carla: Building issues

Post by Jonas »

@Joermungand
Thank you for your help, full-featured Carla is now up and running.
(I forgot to install wine-devel-32bit)
Joermungand
Established Member
Posts: 276
Joined: Wed Oct 24, 2012 5:19 pm

Re: Carla: Building issues

Post by Joermungand »

You’re welcome. Glad it’s working.
Post Reply