/usr/include/mrpt/mrpt-config/mrpt/config.h is in libmrpt-dev 1:1.5.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
| See: http://www.mrpt.org/Authors - All rights reserved. |
| Released under BSD License. See details in http://www.mrpt.org/License |
+---------------------------------------------------------------------------+ */
#ifndef MRPT_CONFIG_H
#define MRPT_CONFIG_H
/** Tell Eigen libray to include MRPT's plugin for Eigen::MatrixBase
*/
#define EIGEN_MATRIXBASE_PLUGIN <mrpt/math/eigen_plugins.h>
/** Implementation of the methods declared above, if needed
*/
#define EIGEN_MATRIXBASE_PLUGIN_POST_IMPL <mrpt/math/eigen_plugins_impl.h>
/** If defined, security checks (ASSERT_'s) will be performed in many MRPT classes even
* if "_DEBUG" is not declared, which is then the default behavior.
*/
#define MRPT_ALWAYS_CHECKS_DEBUG 0
#define MRPT_ALWAYS_CHECKS_DEBUG_MATRICES 0
/** MRPT_BUILT_AS_DLL is defined only if MRPT has been built
* as a shared library (.dll/.so) vs. a static library (.lib/.a).
* Additionally, MRPT_EXPORTS will be defined only when compiling
* the DLLs, not when the user imports them.
*/
#define MRPT_BUILT_AS_DLL
/** Includes the OpenCV library, required for image manipulation. */
#define MRPT_HAS_OPENCV 1
// Version as text:
#define MRPT_OPENCV_VERSION "3.2.0"
// Version as hexadecimal number: eg. 1.0.0 -> 0x100
#define MRPT_OPENCV_VERSION_NUM 0x320
/** Includes OpenGL & GLUT libraries, required for CDisplayWindows3D to work. */
#define MRPT_HAS_OPENGL_GLUT 1
/** Has PGR Fly Capture 2? */
#define MRPT_HAS_FLYCAPTURE2 0
/** Has PGR Triclops? */
#define MRPT_HAS_TRICLOPS 0
/** Define for including Phidget interface kit interface through the vendor's proprietary API (libPhidget). \sa CStereoGrabber_SVS */
#define MRPT_HAS_PHIDGET 0
/** Define for including SVS interface through the vendor's proprietary API. \sa CStereoGrabber_SVS */
#define MRPT_HAS_SVS 0
/* do we have MESA Imaging SwissRange 3D camera driver? */
#define MRPT_HAS_SWISSRANGE 0
/* do we have support for XBox Kinect? */
#define MRPT_HAS_KINECT 1
/** Define for including DUO3D interface through the vendor's proprietary API, which enables the definition of some classes in the MRVL namespace. \sa CDUO3DCamera */
#define MRPT_HAS_DUO3D 0
/* Kinect SDK variants: */
#define MRPT_HAS_KINECT_FREENECT 1
#define MRPT_HAS_KINECT_FREENECT_SYSTEM 1
/* OpenNI2 lib: */
#define MRPT_HAS_OPENNI2 1
/* PCL (The pointclouds library): */
#define MRPT_HAS_PCL 0
/* TBB (Intel threading lib): */
#define MRPT_HAS_TBB 0
/** The file ftdi.h exists (Linux only) */
#define MRPT_HAS_FTDI 1
#define MRPT_FTDI_VERSION 0x140
/** Support for the liblas library (A standard for LiDAR data format) */
#define MRPT_HAS_LIBLAS 0
/** wxWidgets is present in the system (required for UTILS::CDisplayWindow, etc.) */
#define MRPT_HAS_WXWIDGETS 1
/** Has MRPT libjpeg? And whether it's in the system (Linux) or built-in (Windows, some rare cases in Linux). */
#define MRPT_HAS_JPEG 1
#define MRPT_HAS_JPEG_SYSTEM 1
/** Matlab wrapper is available */
#define MRPT_HAS_MATLAB 0
/** VTK libs are available */
#define MRPT_HAS_VTK 0
/** liboctomap, ROS octomap pkg, or octomap external project available */
#define MRPT_HAS_OCTOMAP 1
/* Automatic definition of OS-macros */
#if defined(_WIN32) || defined(_WIN32_) || defined(WIN32) || defined(_WIN64)
#define MRPT_OS_WINDOWS
#elif defined(unix) || defined(__unix__) || defined(__unix)
#define MRPT_OS_LINUX
#elif defined(__APPLE__)
#define MRPT_OS_APPLE
#else
#error Unsupported platform (Found neither _WIN32_, __unix__ or __APPLE__)
#endif
/** The size of cells in mrpt::maps::COccupancyGridMap2D */
#define OCCUPANCY_GRIDMAP_CELL_SIZE_8BITS
/** Set to 0 to disable MRPT_TRY_START/MRPT_TRY_END blocks. Not recommended but for intensively tested programs only. */
#define MRPT_HAS_STACKED_EXCEPTIONS 1
/** Enable Katakana, Hiragana & Kanji character sets in CMRPTCanvas.
* Disable this to save executable sizes if these fonts will be not used. */
#define MRPT_HAS_ASIAN_FONTS 1
/** Set to 0 to disable ASSERT_ statements. Not recommended but for intensively tested programs only. */
#define MRPT_HAS_ASSERT 1
/** Only for Linux: the inotify kernel module has been found. Requires kernel 2.6.13. */
#define MRPT_HAS_INOTIFY 1
/** The architecture is 32 or 64 bit wordsize: */
#define MRPT_WORD_SIZE 64
/** Use optimized functions with the SSE2 machine instructions set */
#if defined WIN32 && (!defined WIN64 || defined EM64T) && \
(_MSC_VER >= 1400) || (defined __SSE2__ && defined __GNUC__ && __GNUC__ >= 4)
#define MRPT_HAS_SSE2 1 // This value can be set to 0 from CMake with DISABLE_SSE2
#else
#define MRPT_HAS_SSE2 0
#endif
/** Use optimized functions with the SSE3 machine instructions set */
#if defined WIN32 && (!defined WIN64 || defined EM64T) && \
(_MSC_VER >= 1500) || (defined __SSE3__ && defined __GNUC__ && __GNUC__ >= 4)
#define MRPT_HAS_SSE3 0 // This value can be set to 0 from CMake with DISABLE_SSE3
#else
#define MRPT_HAS_SSE3 0
#endif
/** Use optimized functions with the SSE4 machine instructions set */
#define MRPT_HAS_SSE4_1 0 // This value can be set to 0 from CMake with DISABLE_SSE4_1
#define MRPT_HAS_SSE4_2 0 // This value can be set to 0 from CMake with DISABLE_SSE4_2
#define MRPT_HAS_SSE4_A 0 // This value can be set to 0 from CMake with DISABLE_SSE4_A
/** Whether to include RoboPeak LIDAR: */
#define MRPT_HAS_ROBOPEAK_LIDAR 1
/** Whether to include the xSens MTi device interface: */
#define MRPT_HAS_xSENS_MT3 1
#define MRPT_HAS_xSENS_MT4 1
/** Whether to include the Intersense device interface: */
#define MRPT_HAS_INTERSENSE 0
/** Whether to include the NITE2 library: */
#define MRPT_HAS_NITE2 0
/** Whether to compile support for .gz compressed I/O streams: */
#define MRPT_HAS_GZ_STREAMS 1
/** Whether ZLIB is present. */
#define MRPT_HAS_ZLIB 1
#define MRPT_HAS_ZLIB_SYSTEM 1
/** lib3ds present? */
#define MRPT_HAS_LIB3DS 0
/** Whether libassimp is present. */
#define MRPT_HAS_ASSIMP 1
#define MRPT_HAS_ASSIMP_SYSTEM 1
/** Whether libdc1394-2 is installed in the system. */
#define MRPT_HAS_LIBDC1394_2 1
/** Whether libudev-dev is installed in the system. */
#define MRPT_HAS_LIBUDEV 1
/** Whether ffmpeg C libraries are installed in the system or (in win32), their precompiled libraries.
*/
#define MRPT_HAS_FFMPEG 1
/** Whether MRPT is compiled with the "mrpt-sift-hess" library.
* This is always 0 in Debian due to a legal issue with the SIFT
* descriptor and its pending patent.
*/
#define MRPT_HAS_SIFT_HESS 0
/** Are we in a big-endian system? (Intel, amd, etc.. are little-endian) */
#define MRPT_IS_BIG_ENDIAN 0
/** Use MRPT global profiler? */
#define MRPT_ENABLE_EMBEDDED_GLOBAL_PROFILER 0
/** Has SuiteSparse sublibs? */
#define MRPT_HAS_SUITESPARSE 1
/** Has NationalInstruments headers/libraries? */
#define MRPT_HAS_NIDAQMXBASE 0
#define MRPT_HAS_NIDAQMX 0
/** Do we have yaml-cpp? */
#define MRPT_HAS_YAMLCPP 0
#define MRPT_HAS_YAMLCPP_SYSTEM 0
/** Do we have PCAP? */
#define MRPT_HAS_LIBPCAP 1
/** Standard headers */
#ifndef HAVE_INTTYPES_H
#define HAVE_INTTYPES_H 1
#endif
#ifndef HAVE_STDINT_H
#define HAVE_STDINT_H 1
#endif
#ifndef HAVE_WINSOCK2_H
/* #undef HAVE_WINSOCK2_H */
#endif
#ifndef HAVE_ALLOCA_H
#define HAVE_ALLOCA_H 1
#endif
#ifndef HAVE_LINUX_SERIAL_H
#define HAVE_LINUX_SERIAL_H 1
#endif
#ifndef HAVE_LINUX_INPUT_H
#define HAVE_LINUX_INPUT_H 1
#endif
// Has <malloc.h>?
#ifndef HAVE_MALLOC_H
#define HAVE_MALLOC_H 1
#endif
// Has <malloc/malloc.h>?
#ifndef HAVE_MALLOC_MALLOC_H
/* #undef HAVE_MALLOC_MALLOC_H */
#endif
#ifndef HAVE_FREEGLUT_EXT_H
#define HAVE_FREEGLUT_EXT_H 1
#endif
/** Standard functions */
#ifndef HAVE_TIMEGM
#define HAVE_TIMEGM
#endif
#ifndef HAVE_MKGMTIME
/* #undef HAVE_MKGMTIME */
#endif
#ifndef HAVE_ALLOCA
#define HAVE_ALLOCA
#endif
#ifndef HAVE_GETTID
/* #undef HAVE_GETTID */
#endif
#ifndef HAVE_SINCOS
#define HAVE_SINCOS
#endif
#ifndef HAVE_LRINT
#define HAVE_LRINT
#endif
#ifndef HAVE_OPENTHREAD
/* #undef HAVE_OPENTHREAD */
#endif
#ifndef HAVE_ERF
#define HAVE_ERF
#endif
#ifndef HAVE_POSIX_MEMALIGN
#define HAVE_POSIX_MEMALIGN
#endif
#ifndef HAVE_ALIGNED_MALLOC
/* #undef HAVE_ALIGNED_MALLOC */
#endif
#ifndef HAVE_STRTOK_R
#define HAVE_STRTOK_R
#endif
/* Standard types */
#ifndef HAVE_LONG_DOUBLE
#define HAVE_LONG_DOUBLE
#endif
/* Backwards compatibility of MRPT APIs: */
/* #undef MRPT_BACKCOMPATIB_08X */
/* Defined only if MRPT is being build/was built with precompiled
headers enabled */
#define MRPT_ENABLE_PRECOMPILED_HDRS 1
// -------------------------------
// Some checks:
// -------------------------------
#if !defined(MRPT_OS_WINDOWS) && !defined(MRPT_OS_LINUX) && !defined(MRPT_OS_APPLE)
#error Neither OS detected from MRPT_OS_LINUX, MRPT_OS_APPLE or MRPT_OS_WINDOWS!
#endif
#endif
|