VemsTune on Linux
Connected to VEMS ECU via TCP/IP at the time the screenshot was captured:
2015-10
Vemstune version is being prepared on Linux
- compiled on Debian x86 jessie, but libraries included (LD_LIBRARY_PATH=...), so might run on other distros
- on x86_64 i386 libraries needed
- for now, will be provided "as is" (the fully supported version is the windows vemstune)
- planned to be used as a stepping-stone for raspberry-PI, beaglebone, (and other "embedded") compiles
- theoretically only framebuffer is required, but for some time GTK + opengl systems will be targeted
Old: [linux version]
Run the linux version with "sh vemstune_start.sh" IMPORTANT: ./vemsTune won't work.
- It's not a real package yet
- I just zipped the binary + all required libraries which made it 30+Mbyte and vemstune_start.sh wrapper to set up LD_LIBRARY_PATH variable (the library installs below should NOT be needed).
- it was compiled on debian squeeze, but it should run "almost anywhere" (TM)
- at least it was running on several ubuntu systems (even when not installed, just booted off ubuntu 10 from an USB stick)
- ubuntu 12.04 sounds like a good target (LTS = long term support means it's supported till 2017)
- we intend to make a live CD/USB (likely debian based ubuntu or mepis )
- For anyone with prolific windows driver problem a live-boot vemstune would be a great tool to try.
If "sh vemstune_start.sh" does not run for you, do the following:
- take note of the error message
- cd vemstune
- export LD_LIBRARY_PATH=usr/lib
- ldd ./vemsTune
- the output of this command is very important
- also take note of what system it was (including version), installed or booted from live-CD, live-USB.
- for now, make sure vemstune/ is on a writeable filesystem. In the future, we'll allow it to run from squashfs readonly filesystem.
- Installing wxWidgets On Debian More detail can be found on: http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
- On debian put deb http://apt.wxwidgets.org/ DIST-wx main to '/etc/apt/sources.list Replace the "DIST" text with whatever is appropriate for your system (etch, lenny, etc)
- apt-get update
- apt-get install libwxbase2.8-0 libwxgtk2.8-0 wx-common wx2.8-headers
dpkg -l | grep wx
ii libwxbase2.8-0 2.8.9.2-1
ii libwxgtk2.8-0 2.8.9.2-1
ii wx-common 2.8.9.2-1
ii wx2.8-headers 2.8.9.2-1
</pre>
I installed the library's but still got the error messages about some library's that i cant find...:
goran@goran-Vostro-1015:~/Documents/Vems/v3GUI-linux-release$ ./v3GUI
./v3GUI: error while loading shared libraries: libwxctb-0.8.so: cannot open shared object file: No such file or directory
Notes:
- if you get "missing symbol ...." than it's incompatible library. If "cannot open shared object file: No such file or directory", than library is not installed,
- or perhaps running ldconfig was forgotten
- helpful: ldd ./v3GUI
- we're considering a statically linked (bloatware) binaries, but we want to map which libraries satisfy the dependencies on certain systems (like debian / ubuntu / redhat) so that a 1-liner recommendation can be given
- something like apt-get install audacity libctb...
- yes, audacity has very similar dependencies (eg. wx, libportaudio) so installing audacity is a very good step (useful anyway)
on Debian, dpkg -s audacity
Depends: audacity-data (= 1.3.7-1), libasound2 (>> 1.0.16), libc6 (>= 2.7-1), libexpat1 (>= 1.95.8), libflac6, libflac8, libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.12.0), libid3tag0 (>= 0.15.1b), libjack0 (>= 0.109.2), libmad0 (>= 0.15.1b-3), libogg0 (>= 1.0rc3), libsamplerate0, libsndfile1, libsoundtouch1c2 (>= 1.3.1), libstdc6 (>= 4.2.1), libtwolame0, libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2), libwxbase2.8-0 (>= 2.8.7.1), libwxgtk2.8-0 (>= 2.8.7.1)
Goran:
Ok,i installed audacity,no progress...i`m running Ubuntu 10.10 (i`m not an expert,but not completely noob)
Here is ldd from v3GUI:
oran@goran-Vostro-1015:~/vemstune$ ldd v3GUI
linux-gate.so.1 => (0x00203000)
libwx_gtk2u_xrc-2.6.so.0 => /usr/lib/libwx_gtk2u_xrc-2.6.so.0 (0x003f6000)
libwx_gtk2u_qa-2.6.so.0 => /usr/lib/libwx_gtk2u_qa-2.6.so.0 (0x007ef000)
libwx_gtk2u_html-2.6.so.0 => /usr/lib/libwx_gtk2u_html-2.6.so.0 (0x00b4d000)
libwx_gtk2u_adv-2.6.so.0 => /usr/lib/libwx_gtk2u_adv-2.6.so.0 (0x00f6c000)
libwx_gtk2u_core-2.6.so.0 => /usr/lib/libwx_gtk2u_core-2.6.so.0 (0x00472000)
libwx_baseu_xml-2.6.so.0 => /usr/lib/libwx_baseu_xml-2.6.so.0 (0x00110000)
libwx_baseu_net-2.6.so.0 => /usr/lib/libwx_baseu_net-2.6.so.0 (0x00a6c000)
libwx_baseu-2.6.so.0 => /usr/lib/libwx_baseu-2.6.so.0 (0x00204000)
libwxctb-0.8.so => not found
libstdc.so.6 => /usr/lib/libstdc.so.6 (0x0080b000)
libm.so.6 => /lib/libm.so.6 (0x00119000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0013f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0015b000)
libc.so.6 => /lib/libc.so.6 (0x008f6000)
libz.so.1 => /lib/libz.so.1 (0x00db4000)
libdl.so.2 => /lib/libdl.so.2 (0x00175000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00fff000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00322000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00179000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00bd0000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x001c2000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x001e8000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0072a000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0076c000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x003b9000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00a96000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00194000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00b01000)
librt.so.1 => /lib/librt.so.1 (0x00198000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00cbc000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x003e9000)
libpng12.so.0 => /lib/libpng12.so.0 (0x00ad8000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00b06000)
libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00dc9000)
libexpat.so.1 => /lib/libexpat.so.1 (0x00d8b000)
/lib/ld-linux.so.2 (0x001a4000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00a53000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x007e3000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00b27000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x003ed000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00b35000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00b3f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00e24000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00a63000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00a67000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00f41000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x163df000)
libpcre.so.3 => /lib/libpcre.so.3 (0x1947d000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00f47000)
libselinux.so.1 => /lib/libselinux.so.1 (0x11d1b000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x09a8e000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x0b181000)
libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00afd000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00f5b000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00f63000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x071b8000)
Guilherme Buonfiglio
I have the following error when trying to open a config or log file with vemstune-linux-2011-01-13:
./vemsTune: symbol lookup error: /usr/lib/gio/modules/libgiozeitgeist.so: undefined symbol: g_desktop_app_info_launch_handler_get_type
Run the linux version with "sh vemstune_start.sh" IMPORTANT: ./vemsTune won't work. The wrapper is important because LD_LIBRARY_PATH=usr/lib (not /usr/lib !) will let it load the compatible libraries.
Ubuntu 10.10 uses at least for today update libzeitgeist-gio 0.2.10-0ubuntu1 that is incompatible with VemsTuneLinux.
To discover which package owns the .so file:
dpkg -S /usr/lib/gio/modules/libgiozeitgeist.so
output: libzeitgeist-gio: /usr/lib/gio/modules/libgiozeitgeist.so
To check for the installed package version I've did:
dpkg -l | grep libzeitgeist-gio
output: ii libzeitgeist-gio 0.2.10-0ubuntu1 library to access Zeitgeist - gio integration
I really would like to see a live linux distribution dedicated to vemstune. Is there someone currently working on this?
- Would be good! I have tested vemstunelinux on ubuntu 11.04 but there are boxes against of the menu, dialog box charachters, and program exit when I want to load some config...
Linux candidates: (to make VT package for):
- kubuntu12.04
- puppylinux
ARM compile Aaron Van Blarcom
I have made it work on CentOS, but I was trying to install it on my raspberry pi which uses ARM architecture and can't run the vemsTune since it was compiled on Intel. Is there a place to grab the source or any chance someone there will compile it for ARM.
Steps:
- catch up with linux-ia32 (it's a shame but it hasn't been compiled for some time and needs some work)
- check that the target platform is min 700 MHz, min 512 MByte and min 1024*768 display (otherwise it would be a waste of time to port VT)
- see [Android] for display
- compile audacity on the target platform
- audacity uses some of the base libraries like wx and libportaudio. If audacity won't compile or run well, there is no chance VT could be run
- even if audacity runs, other libraries like [agg] are needed (and can be a problem). Get an idea of the ldd listing above.
- If we get a tar.bz2 of a crosscompile environment that is tested to compile audacity and dependencies (wx, libportaudio, agg and others) on recent debian or kubuntu 12.04 (64 bit or 32 bit), and produces a target that is usable on chosen ARM target (we cannot test this), we'll try to compile VT with that and cooperate to make a binary (beware, this can be a lot of work).
- test it on target platform
Awesome thank you very much for the information I will start working on compiling audacity and getting the other libraries working.
VemsTuneDragInstall - proposal to install fw and some config modifications in one step (based on a .zip file prepared by an experienced installer)
To run on Ubuntu 12.10 64 bits:
apt-get install libpango1.0-dev libwxbase2.8-0 libwxgtk2.8-0
mkdir -p /etc/pango
pango-querymodules > /etc/pango/pango.modules
sed -i 's/x86_64/i386/g' /etc/pango/pango.modules
Is there any new build planned? Specific builds for ARM and amd64 would be nice. I too plan to add a RaspberryPi to my cars.