Airwave - yet another WINE VST bridge for Linux (April 12 update)

Official support for: bitwig.com
Post Reply New Topic
RELATED
PRODUCTS

Post

You have very strange wine installation. The path to wineg++ should be in your PATH environment variable. I can only suggest to do this trick again (substitute your path inside of angle brackets):

Code: Select all

export PATH=$PATH:<dir_which_contains_wineg++_file>

Post

Well that worked. But then this happened.

Code: Select all

:~/airwave/build$ make
Linking CXX executable airwave-host-32
[ 12%] Built target airwave-host-32
Linking CXX executable airwave-host-64
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386 (/usr/lib/i386-linux-gnu/wine/wine/libwinecrt0.a(exe_entry.o)) to format elf64-x86-64 (airwave-host-64.gJx4xL.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed
host/CMakeFiles/airwave-host-64.dir/build.make:235: recipe for target 'host/airwave-host-64' failed
make[2]: *** [host/airwave-host-64] Error 2
CMakeFiles/Makefile2:112: recipe for target 'host/CMakeFiles/airwave-host-64.dir/all' failed
make[1]: *** [host/CMakeFiles/airwave-host-64.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2
 
I think this is beyond me.

:cry:

Maybe I should switch to Arch Linux =|

Post

I added an option to disable building the 64-bit version. To do so you need to add -DBUILD_64_BIT=OFF at the end of your cmake line. Checkout the new version from develop git branch and try to build again.
I repeat my full instructions with the necessary changes in order not to confuse you:

Code: Select all

git clone -b develop https://github.com/phantom-code/airwave.git
cd airwave
unzip ~/vstsdk360_22_11_2013_build_100.zip -d .
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/airwave -DCMAKE_BUILD_TYPE="Release" -DVSTSDK_PATH="../VST3 SDK" -DBUILD_64_BIT=OFF
make
sudo make install
Please note the changes in line 1 and 6 ("git clone -b develop https://github.com/phantom-code/airwave.git" and "-DBUILD_64_BIT=OFF")

Post

I have to add a super huge Thank You! for all your hard work. The latest versions of Airwave are actually working on my system!

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hi there! First of all thank you for your hard work! Linux really needs an easy Wine VST bridge. Tried to install it on Ubuntu 14.04 but I'm having some issues. CMake went well but make gives me this error:

Code: Select all (#)

zeljko@ubuntu-desktop:~/airwave/build$ make
Scanning dependencies of target airwave-host-32
[  1%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/dataport.cpp.o
[  3%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/eventsignal.cpp.o
[  5%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/filesystem.cpp.o
[  7%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/logger.cpp.o
[  8%] Building CXX object host/CMakeFiles/airwave-host-32.dir/__/common/vsteventkeeper.cpp.o
[ 10%] Building CXX object host/CMakeFiles/airwave-host-32.dir/host.cpp.o
[ 12%] Building CXX object host/CMakeFiles/airwave-host-32.dir/slaveunit.cpp.o
Linking CXX executable airwave-host-32
[ 12%] Built target airwave-host-32
Scanning dependencies of target airwave-host-64
[ 14%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/dataport.cpp.o
[ 15%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/eventsignal.cpp.o
[ 17%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/filesystem.cpp.o
[ 19%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/logger.cpp.o
[ 21%] Building CXX object host/CMakeFiles/airwave-host-64.dir/__/common/vsteventkeeper.cpp.o
[ 22%] Building CXX object host/CMakeFiles/airwave-host-64.dir/host.cpp.o
[ 24%] Building CXX object host/CMakeFiles/airwave-host-64.dir/slaveunit.cpp.o
Linking CXX executable airwave-host-64
[ 24%] Built target airwave-host-64
Scanning dependencies of target airwave-plugin-32
[ 26%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/dataport.cpp.o
[ 28%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/eventsignal.cpp.o
[ 29%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/filesystem.cpp.o
[ 31%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/linkmanager.cpp.o
[ 33%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/logger.cpp.o
[ 35%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/__/common/vsteventkeeper.cpp.o
[ 36%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/masterunit.cpp.o
/home/zeljko/airwave/plugin/masterunit.cpp: In member function ‘intptr_t Airwave::MasterUnit::dispatch(Airwave::DataPort*, int32_t, int32_t, intptr_t, void*, float)’:
/home/zeljko/airwave/plugin/masterunit.cpp:331:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   rect_ = *reinterpret_cast<ERect*>(frame->data);
                                                ^
/home/zeljko/airwave/plugin/masterunit.cpp:331:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   rect_ = *reinterpret_cast<ERect*>(frame->data);
         ^
/home/zeljko/airwave/plugin/masterunit.cpp:364:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   rect_ = *reinterpret_cast<ERect*>(frame->data);
                                                ^
/home/zeljko/airwave/plugin/masterunit.cpp:364:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   rect_ = *reinterpret_cast<ERect*>(frame->data);
         ^
[ 38%] Building CXX object plugin/CMakeFiles/airwave-plugin-32.dir/plugin.cpp.o
Linking CXX shared library airwave-plugin-32.so
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
make[2]: *** [plugin/airwave-plugin-32.so] Error 1
make[1]: *** [plugin/CMakeFiles/airwave-plugin-32.dir/all] Error 2
make: *** [all] Error 2
Any suggestions?

Post

I think you need to install 32-bit xlib. It is strange, that cmake stage is passed successfully, it should detect the absence of the lib32-xlib.

Post

Yep, that was the problem. I've installed the 32-bit xlib and it works! Thank you and keep up the great work! :tu:

Post

Alright I'm back. Since every solved issue in Debian ran into another issue, I decided to give it a shot in Fedora. And of course, I'm hitting some whole new error now.

Code: Select all

@localhost build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/airwave -DCMAKE_BUILD_TYPE="Release"
-- VSTSDK_PATH is set to /home/devon/airwave/vstsdk2.4
-- VST SDK headers are found in /home/devon/airwave/vstsdk2.4/pluginterfaces/vst2.x
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindThreads.cmake:166 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  host/CMakeLists.txt:35 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/devon/airwave/build/CMakeFiles/CMakeOutput.log".
See also "/home/devon/airwave/build/CMakeFiles/CMakeError.log".
I've tried solving this on Google but other similar errors seem to indicate a missing package, where as far as I can tell this one doesn't.

I know some folks have got this running on Fedora. Any idea what this means?

On another note, do you take donations on this project phant0m? I feel I owe you after all the time you've spent on me here.

Post

This error message means that cmake did not find posix threads library. Do you have 32-bit libraries installed? lib32-glibc, lib32-xlib and lib32-libmagic (bin32-file) are needed. Note, that the package names may differ on Fedora.
On another note, do you take donations on this project phant0m? I feel I owe you after all the time you've spent on me here.
I don't take donations, don't worry about this. I'm doing this project for fun and because I need it by myself. I want to use VSTs in Linux and I will try to reach my goal. It's not difficult for me to help you. In turn, you can find my errors and this can make the project better. Feedback is always welcome. ;-)
Last edited by psycha0s on Sat Jul 26, 2014 7:18 am, edited 2 times in total.

Post

Haha well it looks like I'm running into the same problem in Fedora.

Code: Select all

[ 16%] Building CXX object host/CMakeFiles/airwave-host-32.dir/slaveunit.cpp.o
Linking CXX executable airwave-host-32
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib64/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (airwave-host-32.Sku9kV.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed
make[2]: *** [host/airwave-host-32] Error 2
make[1]: *** [host/CMakeFiles/airwave-host-32.dir/all] Error 2
make: *** [all] Error 2
I get that with or without 64 build disabled in make.

At least I'm learning lots about compiling in GNU/Linux. :tu:

Post

Devigenes, could you do a fresh build and instead of

Code: Select all

make
write command with additional argument

Code: Select all

make VERBOSE=1
and paste the output to some service, like pastebin.com? Maybe I did something wrong with cmake.

Post

@Devogenes - What version of Fedora are you running ? I'm on Fedora 19, perhaps my binaries will work for you ?

I've wrapped them in a tarball, you can get it here:

http://linux-sound.org/misc/4devo.tar.gz

The contents install to /usr/bin and /usr/share. Good luck, and let us know if it works.

Best,

dp

Post

Results of make VERBOSE:
http://pastebin.com/t14f8XiL


StudioDave: I'm using Fedora 20. I'll give your tarball a shot, thanks much.

Post

Devogenes wrote:Results of make VERBOSE:
http://pastebin.com/t14f8XiL
As I anticipated, the 32-bit code is trying to link with a 64-bit library. I will try to fix it, thanks for the detailed information.
Last edited by psycha0s on Sun Jul 27, 2014 7:49 am, edited 1 time in total.

Post

Devigenes, do you have 32-bit libwinecrt0.a file? Please, post the output of

Code: Select all

rpm -ql wine | grep libwinecrt0.a
here. If I googled it right, this command should list all libwinecrt0.a occurrences in wine package.

That's what I see when I run a similar command on Arch Linux:

Code: Select all

$ pacman -Ql wine | grep libwinecrt0.a
wine /usr/lib/wine/libwinecrt0.a
wine /usr/lib32/wine/libwinecrt0.a
So you should also have two occurrences of that file.

Post Reply

Return to “Bitwig”