Wiki

Clone wiki

XMALab / Instructions for developers

XMALab requires a compiler with C++11 support. In addition several libraries are needed. Please download and install the following libraries

After the libraries have been installed XMALAB can be compiled and setup using CMAKE.

When running cmake you will have to set the properties for levmar, quazip and glew.

Set:

  • LEVMAR_INCLUDE_DIR to the folder containing the levmar headers (lm.h)
  • LEVMAR_LIBRARY to the levmar library file, e.g. liblevmar.a, liblevmar.so or lemar.lib
  • QUAZIP_INCLUDE_DIR to the folder containing the quazip headers (quazip.h)
  • QUAZIP_LIBRARY to the levmar library file, e.g. libquazip.a, libquazip.so or quazip.lib
  • QUAZIP_ZLIB_INCLUDE_DIR to the folder containing the ZLib header (zlib.h)
  • GLEW_INCLUDE_DIR to the folder containing the glew headers (glew.h)
  • GLEW_STATIC_LIBRARY_DEBUG ans GLEW_STATIC_LIBRARY_RELEASE to the glew library file, e.g. libglew.a, libglew.so or glew.lib (or glew32.lib)

OpenCV and Qt should be detected automatically. If you encounter problems with OpenCV set the OpenCV_DIR to the folder containing OpenCVConfig.cmake

More detailed manauals for Windows, OSX and Linux will follow.

If you encounter problems compiling XMALAB please contact Benjamin_Knorlein@brown.edu

Updated