libximc  2.12.5
How to rebuild library

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 debian-based linux systems

Requirement: 64-bit and 32-bit debian system, ubuntu Typical set of packages: gcc, autotools, autoconf, libtool, dpkg-dev, flex, bison, doxygen, texlive, mercurial Full set of packages: apt-get install ruby1.9.1 debhelper vim sudo g++ mercurial git curl make cmake autotools-dev automake autoconf libtool default-jre-headless default-jdk openjdk-6-jdk dpkg-dev lintian texlive texlive-latex-extra texlive-lang-cyrillic dh-autoreconf hardening-wrapper bison flex doxygen lsb-release pkg-config check For ARM cross-compiling install gcc-arm-linux-gnueabihf from your ARM toolchain.

It's required to match library and host architecture: 64-bit library can be built only at 64-bit host, 32-bit library - only at 32-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 redhat-based linux systems

Requirement: 64-bit redhat-based system (Fedora, Red Hat, SUSE) Typical set of packages: gcc, autotools, autoconf, libtool, flex, bison, doxygen, texlive, mercurial Full set of packages: autoconf automake bison doxygen flex gcc gcc-32bit gcc-c++ gcc-c++-32bit java-1_7_0-openjdk java-1_7_0-openjdk-devel libtool lsb-release make mercurial rpm-build rpm-devel rpmlint texlive texlive-fonts-extra texlive-latex

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.

Buliding on Mac OS 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.

Buliding on Windows

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

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.

Source code access

XIMC source codes are given under special request.