Requirements
For the C library:
- C89 compliant compiler
- CMake (www.cmake.org)
For the Python bindings:
- Python 2.7 development files
For the C++ wrapper:
- C++11 compliant compiler (gcc 4.7 recommended)
Building the library from source (Linux)
- Download the tar.gz source archive
- Extract it with
tar -xvf gdcp.tar.gz
cd gdcp/lib/build
cmake ..
make && make install
Building the library from source (Windows)
- Download the zip source archive and extract it
- Start the CMake GUI
- Open gdcp/lib/CMakeLists.txt with CMake
- In the "Generator" dropdown, select either "Visual Studio Project" or "mingw - Unix Makefiles", depending on your build environment
- Click "Configure" and proceed according to your build setup
Building the Python bindings
The Python bindings come with a distutils setup.py. As long as your build environment can find the GDCP® C-library headers and DLLs, building the Python bindings should be as simple aspython setup.py install