Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork701
Build for OpenEmbedded
OpenEmbedded is a flavour of Linux used on some embedded computers. You need tocross-compile for the platform, having built the compiler.These notes are very old !
If you do not want to compile these yourselves, here are packaged binariesfor OpenEmbedded distributions. These were built using a Gumstix runningthe Ångström distro and installvips
&nip2
7.20.7 (latest versionat the time of writing) using the/usr
prefix. These are quite minimaland do not link against many of the optional libraries likeFFTW
.
These were generated following the instructions outlined here:http://handhelds.org/moin/moin.cgi/BuildingIpkgs?action=highlight&value=BuildingIpkgs
Having setup the OE environment configure VIPS src (I use an alias to remindme its:
/usr/src/oe/tmp/deploy/glibc/addons/arm-angstrom-linux-gnueabi-angstrom-gumstix-custom-connex-devshell
As JPEG and TIFF libraries are pretty much essential they needbuilding/cross-compiling locally first then pointing to in the config line
--host
option to tell it to use crosscompiler, prefix to point to your special area, stop it using liboil (tricky)
./configure --host=arm-angstrom-linux-gnueabi --prefix=/home/km/armvips --without-liboil
The following were the packages that I had to install to get the buildenvironment setup on the Gumstix.
opkg install flexopkg install bisonopkg install pkgconfig opkg install gtk+-devopkg install libxml2-devopkg install libgthread-2.0-0opkg install pango-devopkg install libpangomm-1.4-dev opkg install libpng opkg install libexif-devopkg install liboil-devopkg install pkgconfigopkg install m4-dev opkg install gettext-devopkg install g++-symlinksopkg install bison-devopkg install cpp-symlinksopkg install g++-symlinks
Then the following configure command was used
./configure --prefix=/usr
Somehow thebison
installed throughopkg
(2.3-r1.5) would not workcorrectly, so I compiled and installed the newest version ofbison
(2.4).
Furthermore, vips would not compile unless I commented outim_icc_export
fromim_icc_transform.c
. This is probably not a final solution as itcould lead to unwanted behavior...