-
Notifications
You must be signed in to change notification settings - Fork 44
Building CN24
Clemens-Alexander Brust edited this page Feb 18, 2015
·
10 revisions
CN24 uses the CMake cross-platform build system. You need at least version 2.8 to generate the build files. The following compilers are supported for building CN24:
- GCC >= 4.8
- Clang >= 3.5
- Visual Studio >= 2013
Older versions will probably work as long as they support the C++11 features used by CN24. All other dependencies are optional. Optional dependencies include:
- libjpeg and libpng to read .jpg and .png files
- Intel MKL, AMD ACML or ATLAS for faster calculations
- OpenCL for GPU acceleration
- GTK+ 3 for GUI utilities
First, make sure you have all the required dependencies. Then, clone the CN24 repository:
git clone https://github.com/cvjena/cn24.git
Create a build directory and run CMake:
mkdir build
cmake path/to/cn24
Take a moment and run ccmake to see all the available build options. We highly recommend selecting at least the libpng and/or libjpeg options:
ccmake .
Run your preferred build tool, for example:
make
That's it, you're done!
Copyright © 2015 Clemens-Alexander Brust and all contributors. See LICENSE for details.