The Npic library and tools Copyright (C) 2003 Edouard Thiel 9 dec 2010 The Npic library provides types and functions in C language to memorize and manipulate bitmap images of dimension 2 to 6, different pixel types, external border, linear access and cartesian coordinates access. The Npic tools are a set of command-line utilities that give access to the library functions, like drawing in images, computing distance transforms, converting file formats, and more. This document explain how to compile libNpic and tools. ______________________________________________________________________ INSTALL: a) Download lastest release with your favorite browser: http://pageperso.lif.univ-mrs.fr/~edouard.thiel/npic/ b) Open a terminal and untar with : tar xvfz Npic-x.xx.tgz c) Go into directory : cd Npic-x.xx d) Run : ./Configure e) Respond to questions; to accept a [default response] hit return. f) Then "make all" is run g) When finished, try command-line tools in tools/ h) Read the tutorial and the reference manual ______________________________________________________________________ FREQUENTLY ASKED QUESTIONS : 1) Which platforms are tested - Linux on i386 (intel 32 bits), - Linux on x86_64 (intel Xeon / AMD, 64 bits) - MacOS X 10.5, 10.6 on i386 - Solaris on sparc - Solaris 5.10 on i86pc - Cygwin on windows XP 2) Which packages are needed on Ubuntu (i386 or x86_64 architecture) ? Since gcc is already installed, simply type: sudo apt-get install libc6-dev linux-libc-dev 3) What is needed on MacOS X ? You need to install X-Code from your "MacOS X install DVD" 4) How can I get Configure options ? Type: ./Configure -h 5) How can I enable multi-threaded parallel computations with OpenMP ? Type: make distclean && ./Configure -omp If using gcc, you need gcc version >= 4.2 for OpenMP 2.5 and gcc version >= 4.4 for OpenMP 3.0. 5) Problems while compiling Please send me back your problems.