/usr/include/x86_64-linux-gnu/visp/vpConfig.h is in libvisp-dev 2.8.0-4.
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 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | /****************************************************************************
*
* $Id: vpConfig.h.cmake 4308 2013-07-08 08:47:09Z fspindle $
*
* This file is part of the ViSP software.
* Copyright (C) 2005 - 2013 by INRIA. All rights reserved.
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* ("GPL") version 2 as published by the Free Software Foundation.
* See the file LICENSE.txt at the root directory of this source
* distribution for additional information about the GNU GPL.
*
* For using ViSP with software that can not be combined with the GNU
* GPL, please contact INRIA about acquiring a ViSP Professional
* Edition License.
*
* See http://www.irisa.fr/lagadic/visp/visp.html for more information.
*
* This software was developed at:
* INRIA Rennes - Bretagne Atlantique
* Campus Universitaire de Beaulieu
* 35042 Rennes Cedex
* France
* http://www.irisa.fr/lagadic
*
* If you have questions regarding the use of this file, please contact
* INRIA at visp@inria.fr
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* Description:
* ViSP configuration.
*
* Authors:
* Fabien Spindler
*
*****************************************************************************/
#ifndef vpConfig_h
#define vpConfig_h
#if defined _MSC_VER && _MSC_VER >= 1200
#pragma warning( disable: 4100 4127 4251 4514 4668 4710 4820 )
#if _MSC_VER >= 1400 // 1400 = MSVC 8 2005
#pragma warning( disable: 4548 )
#endif
#if _MSC_VER > 1500 // 1500 = MSVC 9 2008
#pragma warning( disable: 4986 )
#endif
// 4100 : undocumented ("unreferenced formal parameter")
// 4127 : conditional expression is constant
// 4251 : 'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2', ie. disable warnings related to inline functions
// 4514 : 'function' : unreferenced inline function has been removed
// 4548 : expression before comma has no effect
// 4668 : 'symbol' is not defined as a preprocessor macro, replacing with '0' for 'directives'
// 4710 : 'function' : function not inlined
// 4820 : 'bytes' bytes padding added after construct 'member_name'
// 4986 : undocumented
#endif
// ViSP major version.
#define VISP_VERSION_MAJOR 2
// ViSP minor version.
#define VISP_VERSION_MINOR 8
// ViSP patch version.
#define VISP_VERSION_PATCH 0
// ViSP version with dots "2.8.0".
#define VISP_VERSION 2.8.0
// ViSP version as an integer
#define VP_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
#define VISP_VERSION_INT VP_VERSION_INT(VISP_VERSION_MAJOR, \
VISP_VERSION_MINOR, \
VISP_VERSION_PATCH)
// ViSP library is either compiled static or shared
// Used to set declspec(import, export) in headers if required under Windows
#define VISP_BUILD_SHARED_LIBS
// Defined if deprecated functionalities are requested to build
#define VISP_BUILD_DEPRECATED_FUNCTIONS
// Defined if MSVC is the compiler
/* #undef VISP_USE_MSVC */
// Defined if X11 library available.
#define VISP_HAVE_X11
// Defined if XML2 library available.
#define VISP_HAVE_XML2
// Defined if pthread library available.
#define VISP_HAVE_PTHREAD
// Defined if YARP available.
/* #undef VISP_HAVE_YARP */
// Defined if OpenCV available.
#define VISP_HAVE_OPENCV
// Defined if OpenCV_nonfree available.
/* #undef VISP_HAVE_OPENCV_NONFREE */
// OpenCV version in hexadecimal (for example 2.1.0 gives 0x020100).
#ifdef VISP_HAVE_OPENCV
# define VISP_HAVE_OPENCV_VERSION (2*65536 + 4*256 + 6)
#endif
// Defined if GTK2 library available
#define VISP_HAVE_GTK
// Defined if GDI (Graphics Device Interface) library available
/* #undef VISP_HAVE_GDI */
// Defined if Direct3D9 library available
/* #undef VISP_HAVE_D3D9 */
// Defined if one of the display device is available
#if defined(VISP_HAVE_X11) || defined(VISP_HAVE_GDI) || defined(VISP_HAVE_OPENCV) || defined(VISP_HAVE_D3D9) || defined(VISP_HAVE_GTK)
# define VISP_HAVE_DISPLAY
#endif
// Defined if GSL library available (-lgsl -lgslcblas).
/* #undef VISP_HAVE_GSL */
// Defined if lapack/blas libraries are available (-lblas -llapack).
#define VISP_HAVE_LAPACK
// Defined the path to the basic scenes used by the simulator
#define VISP_SCENES_DIR "/usr/share/visp/data/wireframe-simulator"
// Defined the path to the robot's arms 3D model used by the robot simulators
#define VISP_ROBOT_ARMS_DIR "/usr/share/visp/data/robot-simulator"
// Defined if Ogre3d is available.
#define VISP_HAVE_OGRE
// Defined if Ogre3d plugins.cfg is available.
#define VISP_HAVE_OGRE_PLUGINS_PATH "/usr/share/visp/data/ogre-simulator"
// Defined if Ogre3d resources.cfg is available.
#define VISP_HAVE_OGRE_RESOURCES_PATH "/usr/share/visp/data/ogre-simulator"
// Defined if OIS (Object Oriented Input System) library available.
#define VISP_HAVE_OIS
// Defined if Coin3D and one of the GUI (SoXt, SoWin, SoQt + Qt)
// libraries are available.
/* #undef VISP_HAVE_COIN_AND_GUI */
// Defined if Coin3D library available.
#define VISP_HAVE_COIN
// Defined if OpenGL library available.
#define VISP_HAVE_OPENGL
// Defined if Qt library available (either Qt-3 or Qt-4).
/* #undef VISP_HAVE_QT */
// Defined if SoQt library available.
/* #undef VISP_HAVE_SOQT */
// Defined if SoWin library available.
/* #undef VISP_HAVE_SOWIN */
// Defined if SoXt library available.
/* #undef VISP_HAVE_SOXT */
// Defined if libjpeg library available.
#define VISP_HAVE_LIBJPEG
// Defined if libpng library available.
#define VISP_HAVE_LIBPNG
// Defined if libfreenect, libusb-1.0 and libpthread libraries available.
/* #undef VISP_HAVE_LIBFREENECT_AND_DEPENDENCIES */
// Defined if libfreenect library available.
#define VISP_HAVE_LIBFREENECT
// Defined if libfreenect library in an old version package for
// ubuntu 10.04 lucid is available.
// This is a workaround useful to initialise vpKinect depending on the
// libfreenect version
//#ifdef VISP_HAVE_LIBFREENECT_OLD
// Freenect::Freenect<vpKinect> freenect;
// vpKinect & kinect = freenect.createDevice(0);
//#else
// Freenect::Freenect freenect;
// vpKinect & kinect = freenect.createDevice<vpKinect>(0);
//#endif
/* #undef VISP_HAVE_LIBFREENECT_OLD */
// Defined if libusb-1.0 library available.
/* #undef VISP_HAVE_LIBUSB_1 */
// Defined if ffmpeg library available.
#define VISP_HAVE_FFMPEG
// Defined if raw1394 and dc1394-1.x libraries available.
/* #undef VISP_HAVE_DC1394_1 */
// Defined if raw1394 and dc1394-2.x libraries available.
#define VISP_HAVE_DC1394_2
// Defined if dc1394_camera_enumerate() is available in dc1394-2.x.
// dc1394_camera_enumerate() was introduced after libdc1394-2.0.0-rc7.
#define VISP_HAVE_DC1394_2_CAMERA_ENUMERATE
// Defined if dc1394_find_cameras() is available in dc1394-2.x
// dc1394_find_cameras() is still present until libdc1394-2.0.0-rc7.
// This function was suppress and replace by dc1394_camera_enumerate()
// in more recent releases.
/* #undef VISP_HAVE_DC1394_2_FIND_CAMERAS */
// Defined if CMU 1394 Digital Camera SDK available.
/* #undef VISP_HAVE_CMU1394 */
// Defined if Video For Linux Two available.
#define VISP_HAVE_V4L2
// Defined if DirectShow library is available (only under Windows).
/* #undef VISP_HAVE_DIRECTSHOW */
// Defined if Irisa's Afma4 robot available.
/* #undef VISP_HAVE_AFMA4 */
// Defined if Irisa's Afma6 robot available.
/* #undef VISP_HAVE_AFMA6 */
// Defined if Biclops pan-tilt head available.
/* #undef VISP_HAVE_BICLOPS */
/* #undef VISP_HAVE_BICLOPS_AND_GET_HOMED_STATE_FUNCTION */
// Defined if Irisa's Ptu-46 pan-tilt head available.
/* #undef VISP_HAVE_PTU46 */
// Defined if Irisa's Viper S650 robot available.
/* #undef VISP_HAVE_VIPER650 */
// Defined if Irisa's Viper S850 robot available.
/* #undef VISP_HAVE_VIPER850 */
// Defined if Irisa's Cycab car-like mobile robot is found.
// If found, either VISP_HAVE_CYCABTK_OLD nor VISP_HAVE_CYCABTK
// is defined.
/* #undef VISP_HAVE_CYCAB */
// Defined if the old cycabtk library is found. CycabTk is used to
// communicate with Irisa's Cycab car-like robot (obsolete).
/* #undef VISP_HAVE_CYCABTK_OLD */
// Defined if the last cycabtk library is found. CycabTk is used to
// communicate with Irisa's Cycab car-like robot (to use).
/* #undef VISP_HAVE_CYCABTK */
// Defined if the Aria library and (pthread, rt, dl libraries under Unix) is found.
// These libraries are used to control Pioneer mobile robots.
/* #undef VISP_HAVE_PIONEER */
// Defined if linux/parport.h is available for parallel port usage.
#define VISP_HAVE_PARPORT
// Defined if Inria's NAS server hosting /udd/ is available
// Used for the moment in vpAfma6 class to check if config files are
// available in /udd/fspindle/robot/Afma6/current/include/
/* #undef VISP_HAVE_ACCESS_TO_NAS */
// Defined if Doxygen documentation tool is found
#define VISP_HAVE_DOXYGEN
// Defined if dot documentation tool used by Doxygen is found
#define VISP_HAVE_DOT
// Defined if we want to compute interaction matrices by combining
// other interaction matrices
/* #undef VISP_MOMENTS_COMBINE_MATRICES */
//Defined if we want to use openmp
#define VISP_HAVE_OPENMP
//Defined if we want to use c++ 11
/* #undef VISP_HAVE_CPP11_COMPATIBILITY */
// Handle portable symbol export.
// Defining manually which symbol should be exported is required
// under Windows whether MinGW or MSVC is used.
//
// The headers then have to be able to work in two different modes:
// - dllexport when one is building the library,
// - dllimport for clients using the library.
//
// On Linux, set the visibility accordingly. If C++ symbol visibility
// is handled by the compiler, see: http://gcc.gnu.org/wiki/Visibility
# if defined _WIN32 || defined __CYGWIN__
// On Microsoft Windows, use dllimport and dllexport to tag symbols.
# define VISP_DLLIMPORT __declspec(dllimport)
# define VISP_DLLEXPORT __declspec(dllexport)
# define VISP_DLLLOCAL
# else
// On Linux, for GCC >= 4, tag symbols using GCC extension.
# if __GNUC__ >= 4
# define VISP_DLLIMPORT __attribute__ ((visibility("default")))
# define VISP_DLLEXPORT __attribute__ ((visibility("default")))
# define VISP_DLLLOCAL __attribute__ ((visibility("hidden")))
# else
// Otherwise (GCC < 4 or another compiler is used), export everything.
# define VISP_DLLIMPORT
# define VISP_DLLEXPORT
# define VISP_DLLLOCAL
# endif // __GNUC__ >= 4
# endif // defined _WIN32 || defined __CYGWIN__
// Under Windows, for shared libraries (DLL) we need to define export on
// compilation or import on use (like a third party project).
// We exploit here the fact that cmake auto set xxx_EXPORTS (with S) on
// compilation.
#if defined(VISP_BUILD_SHARED_LIBS)
// Depending on whether one is building or using the
// library define VISP_EXPORT to import or export.
# ifdef visp_EXPORTS
# define VISP_EXPORT VISP_DLLEXPORT
# else
# define VISP_EXPORT VISP_DLLIMPORT
# endif
# define VISP_LOCAL VISP_DLLLOCAL
#else
// If one is using the library statically, get rid of
// extra information.
# define VISP_EXPORT
# define VISP_LOCAL
#endif
// Add the material to produce a warning when deprecated functions are used
#ifndef vp_deprecated
# if defined (UNIX)
# define vp_deprecated __attribute__((deprecated))
# else
# define vp_deprecated __declspec(deprecated)
# endif
#endif
#endif
|