Lmms 0.4.13-12+vst on Ubuntu 12.04 LTS

Having trouble with LMMS? Ask about it here.
Hello guys! I have some problems.Now i have Ubuntu 12.04.The pefromance of 12.04 is the better that 11.10 and 11.04.
But i have problem with installing lmms with vst support.I used all ways to compile, to used the deb,but unfortunally i have errors.

So lets get started.First Step --> compiling
Compiled wine 1.5(wine 1.5-dev install package) + Lmms 0.4.12-13

Before compiling the lmms i install all Requires for lmms compiling.
Terminal-->
cd /home/stanislav/lmms-0.4.13/cmake
cmake ../

Code: Select all

stanislav@stanislav-desktop:~/lmms-0.4.13/cmake$ cmake ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
PROCESSOR: x86_64
Machine: x86_64-linux-gnu
-- Target host is 64 bit
-- Looking for include files LMMS_HAVE_STDINT_H
-- Looking for include files LMMS_HAVE_STDINT_H - found
-- Looking for include files LMMS_HAVE_STDLIB_H
-- Looking for include files LMMS_HAVE_STDLIB_H - found
-- Looking for include files LMMS_HAVE_PTHREAD_H
-- Looking for include files LMMS_HAVE_PTHREAD_H - found
-- Looking for include files LMMS_HAVE_SEMAPHORE_H
-- Looking for include files LMMS_HAVE_SEMAPHORE_H - found
-- Looking for include files LMMS_HAVE_UNISTD_H
-- Looking for include files LMMS_HAVE_UNISTD_H - found
-- Looking for include files LMMS_HAVE_SYS_TYPES_H
-- Looking for include files LMMS_HAVE_SYS_TYPES_H - found
-- Looking for include files LMMS_HAVE_SYS_IPC_H
-- Looking for include files LMMS_HAVE_SYS_IPC_H - found
-- Looking for include files LMMS_HAVE_SYS_SHM_H
-- Looking for include files LMMS_HAVE_SYS_SHM_H - found
-- Looking for include files LMMS_HAVE_SYS_TIME_H
-- Looking for include files LMMS_HAVE_SYS_TIME_H - found
-- Looking for include files LMMS_HAVE_SYS_WAIT_H
-- Looking for include files LMMS_HAVE_SYS_WAIT_H - found
-- Looking for include files LMMS_HAVE_SYS_SELECT_H
-- Looking for include files LMMS_HAVE_SYS_SELECT_H - found
-- Looking for include files LMMS_HAVE_STDARG_H
-- Looking for include files LMMS_HAVE_STDARG_H - found
-- Looking for include files LMMS_HAVE_SIGNAL_H
-- Looking for include files LMMS_HAVE_SIGNAL_H - found
-- Looking for include files LMMS_HAVE_SCHED_H
-- Looking for include files LMMS_HAVE_SCHED_H - found
-- Looking for include files LMMS_HAVE_SYS_SOUNDCARD_H
-- Looking for include files LMMS_HAVE_SYS_SOUNDCARD_H - found
-- Looking for include files LMMS_HAVE_SOUNDCARD_H
-- Looking for include files LMMS_HAVE_SOUNDCARD_H - not found.
-- Looking for include files LMMS_HAVE_FCNTL_H
-- Looking for include files LMMS_HAVE_FCNTL_H - found
-- Looking for include files LMMS_HAVE_SYS_IOCTL_H
-- Looking for include files LMMS_HAVE_SYS_IOCTL_H - found
-- Looking for include files LMMS_HAVE_CTYPE_H
-- Looking for include files LMMS_HAVE_CTYPE_H - found
-- Looking for include files LMMS_HAVE_STRING_H
-- Looking for include files LMMS_HAVE_STRING_H - found
-- Looking for include files LMMS_HAVE_PROCESS_H
-- Looking for include files LMMS_HAVE_PROCESS_H - not found.
-- Looking for include files LMMS_HAVE_LOCALE_H
-- Looking for include files LMMS_HAVE_LOCALE_H - found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.1", required is "4.3.0;COMPONENTS;QtCore;QtGui;QtXml")
-- Found Qt translations in /usr/share/qt4/translations
-- checking for module 'sndfile>=1.0.11'
--   found sndfile, version 1.0.25
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found STK: /usr/lib/x86_64-linux-gnu/libstk.so
-- checking for module 'portaudio-2.0'
--   found portaudio-2.0, version 19
-- Found Portaudio: portaudio;asound;m;pthread
-- checking for module 'libpulse'
--   found libpulse, version 1.1
-- Found PulseAudio Simple: /usr/lib/x86_64-linux-gnu/libpulse.so
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/lib/x86_64-linux-gnu/libogg.so;/usr/lib/x86_64-linux-gnu/libvorbis.so;/usr/lib/x86_64-linux-gnu/libvorbisfile.so;/usr/lib/x86_64-linux-gnu/libvorbisenc.so
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so
-- Looking for include files LMMS_HAVE_MACHINE_SOUNDCARD_H
-- Looking for include files LMMS_HAVE_MACHINE_SOUNDCARD_H - not found.
-- Looking for include files LMMS_HAVE_LINUX_AWE_VOICE_H
-- Looking for include files LMMS_HAVE_LINUX_AWE_VOICE_H - not found.
-- Looking for include files LMMS_HAVE_AWE_VOICE_H
-- Looking for include files LMMS_HAVE_AWE_VOICE_H - not found.
-- Looking for include files LMMS_HAVE__USR_SRC_SYS_I386_ISA_SOUND_AWE_VOICE_H
-- Looking for include files LMMS_HAVE__USR_SRC_SYS_I386_ISA_SOUND_AWE_VOICE_H - not found.
-- Looking for include files LMMS_HAVE__USR_SRC_SYS_GNU_I386_ISA_SOUND_AWE_VOICE_H
-- Looking for include files LMMS_HAVE__USR_SRC_SYS_GNU_I386_ISA_SOUND_AWE_VOICE_H - not found.
-- Looking for C++ include sys/asoundlib.h
-- Looking for C++ include sys/asoundlib.h - found
-- Looking for C++ include alsa/asoundlib.h
-- Looking for C++ include alsa/asoundlib.h - found
-- Looking for snd_pcm_resume in asound
-- Looking for snd_pcm_resume in asound - found
-- checking for module 'jack>=0.77'
--   found jack, version 1.9.8
-- checking for module 'fftw3f>=3.0.0'
--   found fftw3f, version 3.3
-- checking for module 'fluidsynth>=1.0.7'
--   found fluidsynth, version 1.1.5
-- Looking for wine_init in wine
-- Looking for wine_init in wine - found
-- Looking for C++ include windows.h
-- Looking for C++ include windows.h - found
-- checking for module 'samplerate>=0.1.8'
--   package 'samplerate>=0.1.8' not found
-- Performing Test HAVE_LRINT
-- Performing Test HAVE_LRINT - Success
-- Performing Test HAVE_LRINTF
-- Performing Test HAVE_LRINTF - Success
-- Performing Test CPU_CLIPS_POSITIVE
-- Performing Test CPU_CLIPS_POSITIVE - Failed
-- Performing Test CPU_CLIPS_NEGATIVE
-- Performing Test CPU_CLIPS_NEGATIVE - Failed
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so 

Installation Summary
--------------------
* Install Directory           : /usr/local
* Use system's libsamplerate  : 

Supported audio interfaces
--------------------------
* ALSA                        : OK
* JACK                        : OK
* OSS                         : OK
* PortAudio                   : OK
* PulseAudio                  : OK
* SDL                         : OK

Supported MIDI interfaces
-------------------------
* ALSA                        : OK
* OSS                         : OK
* WinMM                       : <not supported on this platform>

Supported file formats for project export
-----------------------------------------
* WAVE                        : OK
* OGG/VORBIS                  : OK

Optional plugins
----------------
* SoundFont2 player           : OK
* Stk Mallets                 : OK
* VST-instrument hoster       : OK
* VST-effect hoster           : OK
* SpectrumAnalyzer            : OK
* CALF LADSPA plugins         : OK
* CAPS LADSPA plugins         : OK
* CMT LADSPA plugins          : OK
* TAP LADSPA plugins          : OK
* SWH LADSPA plugins          : OK
* ZynAddSubFX                 : OK


-----------------------------------------------------------------
IMPORTANT:
after installing missing packages, remove CMakeCache.txt before
running cmake again!
-----------------------------------------------------------------



-- Configuring done
-- Generating done
-- Build files have been written to: /home/stanislav/lmms-0.4.13/cmake
stanislav@stanislav-desktop:~/lmms-0.4.13/cmake$ 
next step
make
\\In this step i have problem with the library.On 87% i have a crash

Code: Select all

[ 87%] Building CXX object plugins/triple_oscillator/CMakeFiles/tripleoscillator.dir/TripleOscillator.o
Linking CXX shared module libtripleoscillator.so
[ 87%] Built target tripleoscillator
[ 87%] Generating moc_VstPlugin.cxx
[ 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.ucYYuf.o) is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed
make[2]: *** [plugins/vst_base/RemoteVstPlugin] Ошибка 2
make[1]: *** [plugins/vst_base/CMakeFiles/vstbase.dir/all] Ошибка 2
make: *** [all] Ошибка 2
So....Then i cant go forward....


Next situatuion.Deb package.
In official package of lmms --> https://launchpad.net/ubuntu/precise/+package/lmms
i have only 2 variants for amd64


lmms 0.4.10-1ubuntu3 in amd64 (Release) (only one package http://launchpadlibrarian.net/76653387/ ... _amd64.deb)
lmms 0.4.10-2ubuntu1 in amd64 (Release) (only one package http://launchpadlibrarian.net/94546994/ ... _amd64.deb)


Okay, when you go forward , you just have the only one deb package.So, the common package,lmms-dev package, and lmms-vst package are not avaible....So sad...

Okaaay, searching more inside....

Next repositary for lmms precise amd64

https://launchpad.net/~irie/+archive/lm ... ld/3324813
(Just have only one package, same situation without vst supporting)
https://launchpad.net/~irie/+archive/lm ... _amd64.deb
Image

On the pkgs.org have no package for 12.04 lmms absolutely.




So......Guys, can you help me???? Because i cant write a music without lmms and vst supporting, for me it's very important!
+1 to this, I'm having the same problem
At least the unstable dev branch compiles and runs fine on my Ubuntu 12.04 64-bit comp, if I don't try to compile VST.

I found this in the huge output log:

Code: Select all

* VST-instrument hoster       : not found, please install (lib)wine-dev (or similiar) - 64 bit systems additionally need gcc-multilib and g++-multilib
* VST-effect hoster           : not found, please install (lib)wine-dev (or similiar) - 64 bit systems additionally need gcc-multilib and g++-multilib
Installed them

Code: Select all

$ sudo apt-get install wine-dev gcc-multilib g++-multilib
Then came this:

Code: Select all

[ 88%] Generating RemoteVstPlugin
/usr/bin/ld: error: /usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a(exe_entry.o): incompatible target
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


But I'm also having big problems with wine otherwise, so I don't know whether this is relevant.
http://bugs.winehq.org/show_bug.cgi?id=24402
@Alexandre Julliard:

The specific problem is that I try to compile 32bit code using an 64bit host
(with both wine versions available). Only using winegcc test.c -o test -m32
(and well, -m32 is crucial here) results in the following error message:

/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/lib/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (test.ayxZu1.o)
is not supported
winebuild: /usr/bin/ld failed with status 1
winegcc: winebuild failed


Also adding the 32bit search path for ld using -Wb,-L /usr/lib32 does not
change anything here. I'd also like to add that this error (more precise,
building lmms vst plugin which uses the following extra cflags "-m32
-Wb,--as-cmd='as --32',--ld-cmd='ld -melf_i386' -L/usr/lib32") does not occur
with wine 1.2.
-m32 should be all you need
After that you run into the lib problem:
/usr/bin/ld: Relocatable linking with relocations from format elf64-x86-64
(/usr/local/lib64/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386
(my32bitapp.Yz5Piu.o) is not supported

but thats another bug and i filed it:
http://bugs.winehq.org/show_bug.cgi?id=24470
-->
Closing bugs fixed in 1.3.6.
Which obviously doesn't apply to this. So yeah, any ideas?
Actually, I managed to recreate the bug with some really simple code.

Code: Select all

#include <windows.h>

int main()
{
	;
}

Code: Select all

wineg++ -m32 -c main.cpp

Code: Select all

wineg++ -m32 -o main main.o
Remove the -m32, and it works fine. With it, it complains at that last step (the linking) with the error we all get.
I conclude it's a wineg++ bug. Now trying to see whether I can get the libs somewhere else.
So thanks to smjms in IRC who pointed me towards https://launchpad.net/~dns/+archive/sou ... 5&start=75 , we found a solution.

The ppa itself is up to date, but the precise vst packet is broken. Instead, download manually the oneiric package and open it with an archive manager. Then take the stuff in your_extracted_files/usr/lib64/lmms and put it in /usr/lib64/lmms of your system. VST support ftw.
Hi

I'm new to Linux and wanted to install LMMS because I'd read it was similar to FLStudio. I've been wrackin' my brains trying to get it all set up correctly, and hit this snag. However, upon copying the lmms filter in the lib64 folder, I'm still getting this error:

Code: Select all

/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.YFbw9l.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
Also it's worth noting that I've read a lot that you should run sudo apt-get build-dep lmms, but when I do that it tells me that it can't find the package?
Today I encountered the same problem (in Mint 13 based on Ubuntu).

In our distris the 32 bit libs are located in /usr/lib/i386-linux/gnu, but winebuild expect them in /usr/lib32.

Just create symlinks in /usr/lib32/ to libwine.so and the wine subdirectory by typing (as root):

Code: Select all

ln -s /usr/lib/i386-linux-gnu/wine /usr/lib32/
ln -s /usr/lib/i386-linux-gnu/libwine.so /usr/lib32/libwine.so
Everything should work fine, then.