libximc  2.14.20
How to rebuild library

Building on Windows

Requirements: 64-bit windows (build script builds both architectures), cygwin (must be installed to a default path).

Invoke a script:

./build.bat

Grab packages from ./deb/win32 and ./deb/win64

To build debug version of the library set environment variable "DEBUG" to "true" before running the build script.

Building on debian-based linux systems

Requirement: 64-bit and 32-bit debian system, ubuntu Typical set of packages:

sudo apt-get install build-essential make cmake curl git ruby1.9.1 autotools-dev automake autoconf libtool doxygen bison flex debhelper lintian texlive texlive-latex-extra texlive-latex texlive-fonts-extra texlive-lang-cyrillic java-1_7_0-openjdk java-1_7_0-openjdk-devel default-jre-headless default-jdk openjdk-6-jdk rpm-build rpm-devel rpmlint pkg-config check dh-autoreconf hardening-wrapper libfl-dev lsb-release

For ARM cross-compiling install gcc-arm-linux-gnueabihf from your ARM toolchain.

It's required to match library and host architecture: 32-bit library can be built only at 32-bit host, 64-bit library - only at 64-bit host. ARM library is built with armhf cross-compiler gcc-arm-linux-gnueabihf.

To build library and package invoke a script:

./build.sh libdeb

For ARM library replace 'libdeb' with 'libdebarm'.

Grab packages from ./ximc/deb and locally installed binaries from ./dist/local.

Building on MacOS X

To build and package a script invoke a script:

./build.sh libosx

Built library (classical and framework), examples (classical and .app), documentation are located at ./ximc/macosx, locally installed binaries from ./dist/local.

Building on generic UNIX

Generic version could be built with standard autotools.

./build.sh lib

Built files (library, headers, documentation) are installed to ./dist/local directory. It is a generic developer build. Sometimes you need to specify additional parameters to command line for your machine. Please look to following OS sections.

Building on redhat-based linux systems

Requirement: 64-bit redhat-based system (Fedora, Red Hat, SUSE) Typical set of packages:

sudo apt-get install build-essential make cmake curl git ruby1.9.1 autotools-dev automake autoconf libtool doxygen bison flex debhelper lintian texlive texlive-latex-extra texlive-latex texlive-fonts-extra texlive-lang-cyrillic java-1_7_0-openjdk java-1_7_0-openjdk-devel default-jre-headless default-jdk openjdk-6-jdk rpm-build rpm-devel rpmlint pkg-config check dh-autoreconf hardening-wrapper libfl-dev lsb-release

It's possible to build both 32- and 64-bit libraries on 64-bit host system. 64-bit library can't be built on 32-bit system.

To build library and package invoke a script:

./build.sh librpm

Grab packages from ./ximc/rpm and locally installed binaries from ./dist/local.

Source code access

The source codes of the libximc library can be found on github.