Problem compiling 0.4.14-RC1

Having trouble with LMMS? Ask about it here.
When I downloaded lmms-0.4.14-rc1.tar.bz2 and tried to build it I got this error...

Code: Select all

[ 87%] Generating RemoteVstPlugin
/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 (RemoteVstPlugin.KuHLr9.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed
make[2]: *** [plugins/vst_base/RemoteVstPlugin] Error 2
make[1]: *** [plugins/vst_base/CMakeFiles/vstbase.dir/all] Error 2
make: *** [all] Error 2
I have almost never used cmake so even thou the problem in itself seem trivial I don't know where to begin fixing it. Also I guess this might very well be a bug in the build system that should be fixed before rerelease, I believe my system to be fairly sane. ;)

I'm using Ubuntu 12.10 64bit version.

//Brainz
Hi brainz,

At first glance it looks like you have a mix of 32/64 bits packages installed on your system.

Check the list of packages you installed for building lmms.
I had this kind of problem while builing an other app some time ago and I realized I installed a 32 bits accessory package later on.

My 2 cents...
midi-pascal wrote:Hi brainz,

At first glance it looks like you have a mix of 32/64 bits packages installed on your system.

Check the list of packages you installed for building lmms.
I had this kind of problem while builing an other app some time ago and I realized I installed a 32 bits accessory package later on.

My 2 cents...
Yes, but it is supposed to be like that. I will look into it again but if I remember correctly we need to use a 32bit version of wine, or perhaps it was only for the VSTPlugin.
I think what happens is that gcc is correctly configured with cmake and applies the 32bit argument but ld is not. But I might be completely of too. :roll:

//Brainz