/libosal

libosal is an operating system abstraction layer Library. It's purpose is to write os-independent code for easy portability between different systems and architectures.

Primary LanguageC++GNU Lesser General Public License v3.0LGPL-3.0

libosal

libosal is an operating system abstraction layer Library. It's purpose is to write os-independent code for easy portability between different systems and architectures.

This software was developed and made available to the public by the Institute of Robotics and Mechatronics of the German Aerospace Center (DLR).

Usage

See introduction or gh-pages for reference.

Build from source

libosal uses autotools as build system. To build from source execute something like:

git clone https://github.com/robert-burger/libosal.git
cd libosal
autoreconf -is
./configure
make
sudo make install

This will build and install a static as well as a dynamic library. For use in other project you can you the generated pkg-config file to retreave cflags and linker flags.

Build with CMake

mkdir build
cd build
# You can choose MINGW32, POSIX, WIN32, PIKEOS, or VXWORKS. No cross compile currently supported with CMake
cmake .. -DBUILD_FOR_PLATFORM="POSIX"
cmake --build .
# You can define a specific install path with e.g. cmake --install .  --prefix test
cmake --install .