More Carla Questions

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

More Carla Questions

Post by jerdboyd »

Hello all, first time posting here.

Im a fedora linux 64bit user using Mixbus 32c for my DAW.

I've been messing around with carla the last couple of weeks and have had moderate success. when compiling the program from source with all the proper dependencies installed i get functioning standalone, lv2 and vst plugins. the standalone unit does not recognize windows vsts but can use linux vsts (overtoneDSP for example). the LV2 plugin works great in mixbus with the same features available.

i also downloaded a linux 64bit binary of carla from the kxstudio site here http://kxstudio.linuxaudio.org/Applications:Carla. the standalone binary gives me access to windows vsts, so far only 32 bit dlls will load but thats not a problem. the LV2 plugin that came with the binary does not function well in Mixbus, presumably because it was compiled for kxstudio.

my question is this; since i've installed all dependencies why is my carla install not showing the vst bridges in its settings panel? also, if i can get that to work should windows vsts also be accessible from the lv2 plugin or are they only available from the stand-alone.

thanks for your time.

jeremy boyd
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

firstoff, thank you so much for this software. i cant imagine the headache of trying to make something like this work.

so, i've installed the mingw dependencies that were on that list and the carla plugin search dialogue still doesn't show that i have the vst bridge installed. do i need to do something to set up mingw? i tried re-making carla but nothing changed and my make features still shows that i have the bridges configured.

thanks again
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

i was able to get make win32 and make win64 to finish after installing the needed devel files but now im stuck on make wine32. im getting this error and have not been able to find out how to proceed

make -C source/jackbridge wine32
make[1]: Entering directory '/home/jeremy/bin/Carla/source/jackbridge'
Compiling JackBridge1.cpp (wine32)
JackBridge1.cpp:22:11: fatal error: windows.h: No such file or directory
# include <windows.h>
^~~~~~~~~~~
compilation terminated.
winegcc: g++ failed
make[1]: *** [Makefile:184: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Error 2
make[1]: Leaving directory '/home/jeremy/bin/Carla/source/jackbridge'
make: *** [Makefile:208: wine32] Error 2

edit: i ran "dnf provides */windows.h" and installed all the packages that looked pertinent but still have no luck.

edit: i know that windows.h is in the wine headers directory so i think i just need to point to it somehow. im not familiar enough with make to know how to do that so any help would be appreciated.

thx
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

wine devel files are in /usr/include/wine/wine/windows/
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

Hello Again.

just an update on my progress.

i hit a brick wall with make wine32 so i deleted my source and downloaded the source from the kxstudio site rather than the git repo. this source didn't seem to have any trouble finding my wine devel files so make win32 win64 and wine32 went well. i also made posix32 and 64 with no issues but im not having any success with the make wine64. here's the error i get.

make -C source/jackbridge wine64
make[1]: Entering directory '/home/jeremy/bin/Carla/source/jackbridge'
Linking jackbridge-wine64.dll.so
ld: Relocatable linking with relocations from format elf32-i386 (/usr/lib/wine/libwinecrt0.a(dll_entry.o)) to format elf64-x86-64 (jackbridge-wine64.ILqCYt.o) is not supported
winebuild: ld failed with status 1
winegcc: winebuild failed
make[1]: *** [Makefile:133: ../../build/modules/Release/jackbridge-wine64.dll.so] Error 2
make[1]: Leaving directory '/home/jeremy/bin/Carla/source/jackbridge'
make: *** [Makefile:212: wine64] Error 2

i have zlib-devel package installed

i installed the program despite wine64 not compiling. i figured i would still be able to load 32 bit vsts in the meantime but i get a plugin-bridge timeout and this log error

wine: Bad EXE format for Z:\usr\local\lib\carla\carla-bridge-win32.exe.

just to confirm, i am running on 64 bit fedora 26.

any help is appreciated.
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

im not sure what has to be done to setup mingw. i added a couple more mingw packages thinking that maybe i didnt have the right ones installed. here is my step by step process.

from the carla directory
make ( no errors )
make features
--------------------------------
---> Main features
Front-End: YES (Using Qt5)
LV2 plugin: YES
VST plugin: YES
Link support: YES
OSC support: YES
Binary detect: YES

---> Engine drivers
JACK: YES
ALSA: YES
PulseAudio: YES
CoreAudio: NO [MacOS only]
ASIO: NO [Windows only]
DirectSound: NO [Windows only]
WASAPI: NO [Windows only]

---> Plugin formats:
Internal: YES
LADSPA: YES
DSSI: YES
LV2: YES
VST: YES (with UI)

---> LV2 UI toolkit support:
External: YES (direct)
Gtk2: YES (bridge)
Gtk3: YES (bridge)
Qt4: YES (bridge)
Qt5: YES (bridge)
X11: YES (direct+bridge)
Cocoa: NO [MacOS only]
Windows: NO [Windows only]

---> File formats:
GIG: NO [LinuxSampler missing or too old]
SF2: YES
SFZ: NO [LinuxSampler missing or too old]

---> Internal plugins:
Basic Plugins: YES
Carla-Patchbay: YES
Carla-Rack: YES
External Plugins: NO
-------------------------------------------
make win32
make wine32
make posix32
make posix64
(all with no errors)
su
make install

after this i get the same error as before. the same plugin works fine with the binary supplied from the kxstudio site.

here are all the mingw packages that i have installed

mingw32-winpthreads-5.0.2-1.fc26.noarch
mingw-filesystem-base-101-1.fc25.noarch
mingw32-binutils-2.27-2.fc26.x86_64
mingw32-wine-gecko-2.47-2.fc26.noarch
mingw32-gcc-c++-7.2.0-1.fc26.x86_64
mingw64-pkg-config-0.28-7.fc26.x86_64
mingw32-gcc-gfortran-7.2.0-1.fc26.x86_64
mingw-binutils-generic-2.27-2.fc26.x86_64
mingw32-cpp-7.2.0-1.fc26.x86_64
mingw64-filesystem-101-1.fc25.noarch
mingw64-gcc-7.2.0-1.fc26.x86_64
mingw32-gcc-7.2.0-1.fc26.x86_64
mingw32-gcc-objc-7.2.0-1.fc26.x86_64
mingw64-winpthreads-5.0.2-1.fc26.noarch
mingw32-pkg-config-0.28-7.fc26.x86_64
mingw64-wine-gecko-2.47-2.fc26.noarch
mingw64-binutils-2.27-2.fc26.x86_64
mingw32-headers-5.0.2-1.fc26.noarch
mingw64-crt-5.0.2-1.fc26.noarch
mingw32-filesystem-101-1.fc25.noarch
mingw32-gcc-objc++-7.2.0-1.fc26.x86_64
mingw64-cpp-7.2.0-1.fc26.x86_64
mingw64-headers-5.0.2-1.fc26.noarch
mingw32-crt-5.0.2-1.fc26.noarch
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

i solved the issue with make wine64. i didnt have the 64 bit wine devel package installed. as far as mingw i followed the instructions on this page and went through the whole process again. still no luck
http://fedoraproject.org/wiki/MinGW/Configure_wine
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

make win32 HAVE_LIBLO=false
gave me an error but after installing mingw32 and 64 pthreads-static it finished making.

after install carla discovers and loads 32 bit dlls in both the plugin and stand alone.
can i repeat the final command for make win64 by exporting a different set of paths? this isnt a big deal for me since my dlls are all 32 bit.

thank you so much for your help, i would like to make this available for other fedora users but im not sure how.
on another note. do you have a "buy me a coffee" button anywhere for me to make a donation for your hard work?

edit: FYI the export function worked as well
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

Hello again. i've recently upgraded my system to the latest fedora and i'm having issues with re-installing carla.

i've got all the wine-devel packages installed but im still getting this error when running make wine32

JackBridge1.cpp:22:11: fatal error: windows.h: No such file or directory
# include <windows.h>

any thoughts?
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

[jeremy@localhost ~]$ sudo locate */windows.h
/usr/include/wine/wine/windows/windows.h

thx.

if you cant get to it for a while just let me know which file to put it in and i can do that.
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

still no luck after a fresh clone and make. here is the whole error

make -C source/jackbridge wine32
make[1]: Entering directory '/home/jeremy/bin/Carla/source/jackbridge'
Compiling JackBridge1.cpp (wine32)
JackBridge1.cpp:22:11: fatal error: windows.h: No such file or directory
# include <windows.h>
^~~~~~~~~~~
compilation terminated.
winegcc: g++ failed
make[1]: *** [Makefile:210: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Error 2
make[1]: Leaving directory '/home/jeremy/bin/Carla/source/jackbridge'
make: *** [Makefile:224: wine32] Error 2

is it possible im missing some gcc component?
jerdboyd
Established Member
Posts: 12
Joined: Wed Mar 07, 2018 7:31 pm

Re: More Carla Questions

Post by jerdboyd »

well i've tried everything that i can think of and it just doesn't want to find that windows.h file.

ill keep trying and let you know if i have any luck.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: More Carla Questions

Post by lilith »

Is there a way to open Carla in the terminal and to automatically load a plugin (which is located in a folder)? Then open Catia and change some connections. I want to make a script that automatizes all these steps.

edit: Starting works with

carla /home/marco/Carla_Projects/EQ10.carxp

Is it also possible to make connections inside Catia via the terminal?
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: More Carla Questions

Post by lilith »

falkTX wrote:use jack_connect to manage connections in the terminal.
Wow... that's great. Thanks!

Description is here:
http://mkctbbq.blogspot.com/2014/12/con ... mmand.html
User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: More Carla Questions

Post by bluebell »

lilith wrote:
falkTX wrote:use jack_connect to manage connections in the terminal.
Wow... that's great. Thanks!

Description is here:
http://mkctbbq.blogspot.com/2014/12/con ... mmand.html
You can use jack-plumbing as well. It has to be active permanently and reads a file with rules to connect/disconnect clients. The rules file may contain regular expressions.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

Post Reply