vst-bridge icon indicating copy to clipboard operation
vst-bridge copied to clipboard

Issues compiling vst-bridge-host-32.exe

Open wallacewinfrey opened this issue 11 years ago • 3 comments

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?

wallacewinfrey avatar Aug 23 '13 03:08 wallacewinfrey

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

abique avatar Aug 27 '13 11:08 abique

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

mindbeat avatar Feb 16 '14 19:02 mindbeat

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!

ghost avatar Aug 04 '14 16:08 ghost