Skip to content

tecartlab/jit.realsense

 
 

Repository files navigation

jit.realsense

RealSense external for Max/MSP

Building for Windows

Required tools:

  • Last tested with Visual Studio 2017
  • CMake 3.8+

Building

  • Open a shell and run :
mkdir build
cd build
cmake path/to/jit.realsense
cmake --build . --config Release

This will build the 32-bit version; for building the 64 bit version, run cmake with the following command instead:

cmake -G "Visual Studio 15 2017 Win64" path/to/jit.realsense

The jit.realsense.mxe and jit.realsense.mxe64 externals will be in the Release folder created during build.

Building for macOS

Required tools:

  • Last tested with Xcode 8
  • CMake >= 3.8

Building

  • Open a shell, go to folder where you want to download the repo and run :
git clone --recursive https://github.com/tecartlab/jit.realsense.git
mkdir build
cd build
if you want to create a release build without opening XCode:
cmake path/to/jit.realsense -DCMAKE_BUILD_TYPE=Release

for some strange reason you might have error messages. just do it again:

cmake path/to/jit.realsense -DCMAKE_BUILD_TYPE=Release
cmake --build .

Note that the build is optimized for CPUs with at least AVX instructions (basically, any Sandy Bridge i7 or more recent); this can be tweaked on CMakeLists.txt:9. The produced external will be a fat library working with both 32 and 64 bit Max.

If you want to build and debug with XCode, run instead
cmake -G Xcode ..

for some strange reason you might have error messages. just do it again:

cmake -G Xcode ..

for some reason the xcode project Debug configuration has optimizations enabled, so if you want to debug you'll have to manually disable the optimizations setting (Optimization Level setting)

About

RealSense external for Max/MSP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 42.4%
  • Max 41.6%
  • CMake 16.0%