Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build for OpenEmbedded

Kirk Martinez edited this pageSep 19, 2019 ·3 revisions

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 !

Arm Packages for OpenEmbedded

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.

vips_7.20.7_arm.ipk

nip2_7.20.7_arm.ipk

These were generated following the instructions outlined here:http://handhelds.org/moin/moin.cgi/BuildingIpkgs?action=highlight&value=BuildingIpkgs

Cross Compiling for OpenEmbedded

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

Build Natively on OpenEmbedded

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_exportfromim_icc_transform.c. This is probably not a final solution as itcould lead to unwanted behavior...

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp