High Performance SDK V1.2.0 =========================== Full version: With the full version you can build the complete SDK and examples from source. Evaluation version: This version does not contain the SDK sources, but pre-compiled binaries for the chosen target architecture. The example sources are also included, so you can build the examples from source and create your own test applications. The resulting binaries are time limited and will stop working after one hour. Building on Linux ================= Prerequisites: -------------- * GCC or Clang compiler * GNU Make * Ninja (optional, instead of GNU Make) * CMake Optional libraries: * OpenSSL Development Headers (for security) (Instead of OpenSSL it is also possible to use mbedTLS, or Mocana NanoCrypto library) Debian: sudo apt-get install build-essential cmake libssl-dev optional: cmake-curses-gui, cmake-qt4-gui, ccache, ninja Native Build ------------ Building the SDK and examples (full version): $ ./build.sh Building the examples (evaluation version): $ ./buildExamples.sh Cross-compiling for Raspberry Pi -------------------------------- Note, you need to install the raspberry pi toolchain into $HOME/work/gcc-linaro-arm-linux-gnueabihf-raspbian, or you need to adapt toolchains/raspberrypi/toolchain-linux-pi.cmake to your configuration. Instructions: $ ./buildExamples.sh -t raspberrypi -d $PWD Cross-compiling for Beagle Bone Black ------------------------------------- Note, you need to install the Beagle Bone Black toolchain into $HOME/work/beaglebone/gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux, or you need to adapt toolchains/beagleboneblack/toolchain-linux-arm-bbb.cmake to your configuration. Instructions: $ ./buildExamples.sh -t bbb -d $PWD Building on Windows =================== Prerequisites: -------------- * Visual Studio 2010 or 2012 (VS2017 now supports also CMake basde projects) * CMake - Download CMake from http://www.cmake.org * Git Bash - for using the provided convenience build scripts. Optional libraries: * OpenSSL Development Headers (for security) (Instead of OpenSSL it is also possible to use mbedTLS, or Mocana NanoCrypto library) Quick Build Instructions (automatic batch build): 1) Using the same Bash script as on Linux: This gives you the same options and flexibility * Open the Git Bash in your SDK directory (from VS Command Prompt, so that the compilers work) * execute build.sh or buildExamples.sh script as described above in the Building on Linux section 2) Using a Windows BAT file: This is an example which shows how to use cmake on the Windows commandline. It uses a hardcoded configuration without the flexibility of build.sh. * Open Visual Studio Command Prompt, so that your compilers can be used from commandline. * Execute build.bat Manual SDK Build Instructions: (full version) * Open CMake (cmake-gui) from the start menu * Select SDK top level folder as source folder (full version only) * Select bldVS as build folder * Click the Configure button and choose your Visual Studio version * Click the Generate button * Open the generated solution in the build folder with Visual Studio * Use Visual Studio to build the solution Manual Examples Build Instructions: (evaluation version) * Open CMake (cmake-gui) from the start menu * Select SDK examples folder as source folder * Select bldExamplesVS as build folder * Click the Configure button and choose your Visual Studio version * Click the Generate button * Open the generated solution in the build folder with Visual Studio * Use Visual Studio to build the solution