-
Notifications
You must be signed in to change notification settings - Fork 5
Library usage
This page is dedicated to library usage that is linkded with compilation options. This page contains a generic documentation that apply for several FOXEL developments.
By default, library compilation trigger static library building. Shared library can be built by editing the following line in the Version file :
STATIC=[true|false]
setting the static flag to false. In both cases, the installation copies the library header files in the following directory :
/usr/include/example/X.Y.Z
where X, Y and Z are the major, minor and revision increments, revision increment being omitted when zero. The library itself is installed in :
/usr/lib/libexample.[a|so].X.Y.Z
Soft link edition is left to end user according to its necessities.
After library installation, its usage involves library main header inclusion in client modules :
# include <example-all.[h|hpp]>depending on C or C++ library. The compilation of a C library client code is made as follows :
gcc -o client client.c -l:libexample.[a|so].X.Y.Z
This way of linking the library is due to the soname of the built shared library that is identical to the installation name. In order to use standard linkage specification :
gcc -o client client.c -lexample
the following soft link has to be created :
ln -sf /usr/lib/libexample.[a|so].X.Y.Z /usr/lib/libexample.[a|so]
Those practices of library versioning can differ from a distribution to another.
Documentation under CC BY-SA license (c) 2013-2014 FOXEL SA
[Home](Home)
Section : projections
- [Equirectangular to rectilinear projection](Equirectangular to rectilinear projection)
- [Rectilinear to equirectangular projection](Rectilinear to equirectangular projection)
Section : transformations
- [Equirectangular mapping transformation](Equirectangular mapping transformation)
Section : definitions
- [Equirectangular mapping frame](Equirectangular mapping frame)
Section : parallelization
- [Parallel processing](Parallel processing)
Section : standards
- [Image memory format](Image memory format)
Section : Library usage
- [Library usage](Library usage)
Development : logs