Skip to content

Conversation

gnudles
Copy link
Contributor

@gnudles gnudles commented Jan 8, 2017

when compiling on ubuntu 16.10 64bit, the VST compilation succeeds only
when adding -L/usr/lib/i386-linux-gnu/wine/ to the linker flags.

when compiling on ubuntu 16.10 64bit, the VST compilation succeeds only
when adding -L/usr/lib/i386-linux-gnu/wine/ to the linker flags.
@karmux
Copy link
Contributor

karmux commented Jan 8, 2017

Interesting that I have same Ubuntu version but I can compile without this fix. Wine 1.8.5.

@gnudles
Copy link
Contributor Author

gnudles commented Jan 8, 2017

without it I get:
[ 81%] Generating ../RemoteVstPlugin
/usr/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/wine/libwine.so when searching for -lwine
/usr/bin/ld: cannot find -lwine
collect2: error: ld returned 1 exit status
winegcc: g++ failed
plugins/vst_base/CMakeFiles/vstbase.dir/build.make:61: recipe for target 'plugins/RemoteVstPlugin' failed
make[2]: *** [plugins/RemoteVstPlugin] Error 2
CMakeFiles/Makefile2:7587: recipe for target 'plugins/vst_base/CMakeFiles/vstbase.dir/all' failed
make[1]: *** [plugins/vst_base/CMakeFiles/vstbase.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

@tresf
Copy link
Member

tresf commented Jan 8, 2017

So it's finding the 64-bit instead of 32-bit. Is this a bug with pkgconfig perhaps?

@karmux
Copy link
Contributor

karmux commented Jan 8, 2017

@gnudles I run into same issue some time ago. Please see #3142 if that helps.

@gnudles
Copy link
Contributor Author

gnudles commented Jan 8, 2017

karmux: you gave me the wrong thread

@karmux
Copy link
Contributor

karmux commented Jan 8, 2017

@gnudles I edited it few seconds later.

@Umcaruje
Copy link
Member

Umcaruje commented Jan 8, 2017

Do you have libc6-dev-i386 gcc-multilib g++-multilib installed?

@gnudles
Copy link
Contributor Author

gnudles commented Jan 8, 2017

Well, I saw the thread you posted.
I already had all the multilibs installed.
I had wine64-tools so I moved to wine32-tools as karmux suggested, and when I installed wine32-tools, it removed wine64-tools (the packages conflicts)...
and the compilation passed OK with wine32-tools.
This thing is not so intuitive.
Anyway, I've just noticed that the proposed fixed doesn't really works because RemoteVstPlugin.exe.so is not builded.

@Umcaruje
Copy link
Member

Umcaruje commented Jan 8, 2017

I'm going to close this pull request. It's probably an issue with packages on your system. I never had problems with compiling LMMS with VST support on ubuntu, it's always been a matter of copy pasting the commands from our wiki tutorial.

Anyways, feel free to keep us posted if you resolve the issue,

@Umcaruje Umcaruje closed this Jan 8, 2017
@gnudles gnudles deleted the vst_compilation_64bit branch January 9, 2017 17:31
@tresf
Copy link
Member

tresf commented Jun 1, 2017

Superseded by #3593, which has now been merged to stable-1.2. This will eventually need to make it to master with our next synchronization effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants