abique / vst-bridge

VST bridge for Windows vst on Linux
MIT License
272 stars 19 forks source link

Issues compiling vst-bridge-host-32.exe #5

Open wallacewinfrey opened 10 years ago

wallacewinfrey commented 10 years ago

I'm building on a 64-bit machine, and even after installing all the 32-bit compatibility libraries, building vst-bridge-host-32.exe.so bails out with:

/usr/bin/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 (vst-bridge-host-32.ANnAPp.o) is not supported

It looks like it isn't finding /usr/lib/i386-linux-gnu/wine/libwinecrt0.a and is instead trying to use /usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a

Any suggestions?

abique commented 10 years ago

Are you using gcc-multilib? On my system (archlinux) I have gcc-multilib and wine, wine is built 64bits.

mindbeat commented 10 years ago

Hi, I had the same problem on Ubuntu 12.10. wineg++ (1.4) does not compile with the library-path /usr/lib/i386-linux-gnu, it uses /usr/lib32 instead.. by making a link my problem was solved! :dancers:

ln -s /usr/lib/i386-linux-gnu/wine /usr/lib32/ ln -s /usr/lib/i386-linux-gnu/libwine.so /usr/lib32/libwine.so

ghost commented 9 years ago

I had a similar issue when building on 32-bit KXstudio (ubuntu fork), it would complain about "relocatable linking" when attempting to compile the 64-bit vst-bridge. I had to manually remove the 64-bit compilation command from Makefile in the "host" folder in order to have it finish build successfully...

What's the difference between the "master" and "xembed" branches BTW?

Thanks for your hard work!