rodlie/airwave

Another Compilation Error

Cordoha opened this issue · 7 comments

Running Ubuntu 18.04
During the make process, this error occurred.

[ 27%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/__/common/vsteventkeeper.cpp.o
[ 28%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/host.cpp.o
[ 30%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/main.cpp.o
[ 32%] Linking CXX executable airwave-host-32
ld: Relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (airwave-host-32.qgK5Yp.o) is not supported
winebuild: ld failed with status 1
winegcc: /usr/lib/wine/winebuild failed
src/host/CMakeFiles/airwave-host-32.dir/build.make:250: recipe for target 'src/host/airwave-host-32' failed
make[2]: *** [src/host/airwave-host-32] Error 2
CMakeFiles/Makefile2:142: recipe for target 'src/host/CMakeFiles/airwave-host-32.dir/all' failed
make[1]: *** [src/host/CMakeFiles/airwave-host-32.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

I am getting the same error

Have you guys installed wine32 bit libraries?

Experiencing the same error, and I do have both 32-bit and 64-bit libraries.
It's just trying to link the 64-bit version instead of the 32-bit one for whatever reason.

Well apparently PR #5 is intended to fix exactly this, but it hasn't been merged for 1.5 years.

Fixed my issue by following the example in #5 - but with my library locations as such:

 LINK_FLAGS "-m32 -L/opt/wine-stable/lib/ -L/opt/wine-stable/lib/wine"

@SmiVan your patch from pull request doesn't change anything

@SmiVan your patch from pull request doesn't change anything

You need to set your particular 32-bit library paths there, as they very well might differ from mine.


Also I'm not sure it actually fixes everything, but at least it compiles and runs for the one VST I'm using it for.