ViSP frequently asked questionsAbout us
1.1 What is INRIA? Licence issue
2.1 What kind of licenses exist for ViSP? Software modification
3.1 I have found a bug, what should I do? Subversion (svn) access to VISP
4.1 How can I get ViSP by anonymous access to the forge ViSP building using CMake
5.1 Is it mandatory to use CMake to build ViSP? ViSP as a third party library
6.1 How to use ViSP as a third party library? Known problems
7.1 Camera default configuration in DirectShow
1. About us1.1 What is INRIA?The National Institute for Research in Computer Science and Control (in French: Institut national de recherche en informatique et en automatique, INRIA) is a French national research institution focusing on computer science, control theory and applied mathematics. INRIA is a Public Scientific and Technical Research Establishment (EPST) under the double supervision of the French Ministry of National Education, Advanced Instruction and Research and the Ministry of Economy, Finance and Industry. 1.2 What is Lagadic?Lagadic is an INRIA research project located at INRIA Rennes - Bretagne Atlantique. Lagadic research work is concerned with visual servoing, visual tracking, robotics, computer vision, and augmented reality. Lagadic is headed by François Chaumette.
2. Licence issue2.1 What kind of licenses exist for ViSP?The ViSP software is released under a dual licensing model: the GNU GPL version 2 for developing open source software under the terms of the GPL license, and the ViSP Professional Edition License for the development of proprietary software. Don't hesitate to contact visp@inria.fr if you have questions about our licensing model. 2.2 What are the differences between the GNU GPL license and the Professional Edition license of ViSP?The GNU GPL version 2 license is appropriate for the development of applications where you wish to use ViSP in combination with software subject to the terms of the GNU General Public License version 2 or where you are otherwise willing to comply with the terms of the GNU General Public License version 2. The ViSP Professional Edition License is the appropriate version to use for the development of proprietary software. This version is for developers who do not want to share the source code with others, or otherwise do not comply with the terms of the GNU GPL version 2.0. In other terms, with the Professional Edition License you avoid the licensing restrictions of the GPL. If you are interested by this license, contact visp@inria.fr. 2.3 I don't want to give away my source code. What do I do?Then you need the ViSP Professional Edition License. Please contact visp@irisa.fr.
3. Software modification3.1 I have found a bug, what should I do?You should first report the bug, either by using the bug tracker hosted on INRIA's forge or by sending an email at visp@irisa.fr. I you fix the bug we are interested to introduce the fix in the under development version of ViSP. You can report the bug fix using the patch tracking system on Inria's forge. You can also send us the fix by email at visp@irisa.fr. 3.2 Is there a bug tracking system such as bugzilla?Yes. You can use the bug tracker on Inria's forge.
4. Subversion (svn) acces to VISP4.1 How can I get ViSP by anonymous access to the forgeBe aware that if you get ViSP by anonymous access, you are not allowed to commit your changes in the code after. If you think that you will have to commit files in the future, it is suggested to get ViSP by ssh access.
During the checkout, if you want to create a directory called ViSP-code for the working files, instead of using the module name ViSP, use the following command:
4.2 How can I get ViSP by ssh access to the forgeTo have write access (to allow commits for example) you have to be in the ViSP developer list http://gforge.inria.fr/project/memberlist.php?group_id=397.
4.3 How to update my local copy of ViSP using Subversion (svn)Once you have checked out ViSP in a directory (see FAQ 4.2) , you can use the following command in this directory to get the last changes.
4.4 How to commit my local changes to the Subversion server on the forgeOnce you have checked out ViSP (see FAQ 4.2), in the source code directory, you may use the following commands:
These commands will first synchronise your local copy with the server by updating the source code, and next identify all the files that are modified. You can than commit your changes using:
4.5 I can not commit my changes to the Subversion server on the forgeThe ViSP project is only available in read-only mode when using anonymous access. You need to create an account on the forge and to be member of the development team to commit your changes (see see FAQ 4.2).
5. ViSP building using CMake5.1 Is it mandatory to use CMake to build ViSP?Yes. CMake is an open-source cross-platform system used in ViSP to allow ViSP building under Linux, OSX and Windows. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake is very easy to install from http://www.cmake.org/ pages. 5.2 How can I install CMake?On http://www.cmake.org/ pages, you will find binary distributions of CMake that are very easy to install on Windows, Linux, Mac OSX, SunOS, IRIX, HPUX and AIX operating systems. 5.3 How can I build ViSP?Prior to build ViSP, you need to install CMake, see see FAQ 5.2. Then depending on your OS you have to use CMake to create the build material corresponding to your compiler. This stage is easy, and fully described in ViSP getting started documents:
5.4 How can I change the compilation options with CMake?You can change your configuration easily with ccmake GUI.
or
to have the list of all configuration variables. 5.5 How can I do an optimized build with CMake?
or use
to set CMAKE_BUILD_TYPE. Available build types are: Release, Debug, RelWithDebInfo, MinSizeRel. The build process uses specific build variable CMAKE_CXX_FLAGS_*. For example Release build uses CMAKE_CXX_FLAGS_RELEASE, while Debug build uses CMAKE_CXX_FLAGS_DEBUG. The flags according to the different build types can be seen with:
5.6 How can I build ViSP as a static library?
or use
to set BUILD_SHARED_LIBS to OFF. Under Unix platforms it will produce libvisp*.a. Under Windows libvisp*.lib. 5.7 How can I build ViSP as a dynamic library?
or use
to set BUILD_SHARED_LIBS to ON. Under Unix platforms, it will produce libvisp*.so, under Windows libvisp*.lib and libvisp*.dll. 5.8 How can I change the compiler in CMake
5.10 View compiler and linker options used
or set CMAKE_VERBOSE_MAKEFILE to ON using the CMake GUI. This will generate more 'verbose' makefile including compiler calls instead of default "SILENT". 5.11 View all available CMake options/variables
or
5.12 Remove the CMake cache file
5.13 Make a distcleanCMake does not generate a "make distclean" target (see the cmake FAQ). CMake generates many files related to the build system, but since CMakeLists.txt files can run scripts and other arbitrary commands, there is no way it can keep track of exactly which files are generated as part of running CMake. So, for in-source build under Unix platforms, we have developped a distclean shell script (working only under Unix platforms) that removes these files related to the build system. To remove some intermediate files related to the build system: sh ./distclean.sh For out-of-source build, just remove the <visp build dir> tree. 5.14 Where to find documentation about CMakeAlmost complete documentation of cmake commands: cmake --help-full and CMake website. The 250-page book Mastering CMake by Ken Martin and Bill Hoffman, ISBN 1-930934-16-5, published by Kitware, Inc. 5.15 How can I compile ViSP with Parasoft insure++Insure++, a Parasoft product, enables fast, reliable detection and resolution of elusive runtime memory errors. For example, if insure++ is installed on a Linux computer on:
refering to FAQ 5.4 set your options first
Then set the insure++ compiler like
Because CMake separates code compilation and objects link, i.e.
you need to tell Insure what type of linking to use, C or C++. Insure cannot tell from a .o file which linking to use, so C linking is used by default. You can tell Insure to use C++ linking by adding the line:
to your $(HOME)/.psrc file. This option tells Insure to use the default C++ compiler to link, which you can set using the compiler_cpp option. 5.13 How can I compile ViSP with Intel C++ compiler (icpc)If Intel C++ compiler (icpc) is available on your computer, you may build ViSP with it. For example, if icpc is installed on a Linux computer on:
refering to FAQ 5.4 set your options first
Then set the Intel C++ compiler location like
If the following error occurs during compilation
depending on your shell set the LANG environment variable as:
6. ViSP as a third party library6.1 How to use ViSP as a third party library?Once ViSP is build (see FAQ 5.3) you may link your own development with ViSP. ViSP getting started documents describe fully the way to use ViSP as a third party library:
7. Known problems7.1 Camera default configuration in DirectShowDirectShow framegrabber selects automatically the default mode of the connected camera. This mode may be different than the one selected in other programs. 7.2 Marlin camera drivers under WindowsWhen using Marlin camera (from AVT), you may have to install the Direct FirePackage in order to use it under Windows. You may need to desinstall Firepackage drivers before installing the DirectFirePackage drivers. 7.3 ViSP compatibility with Microsoft Visual StudioViSP is not compatible with Microsoft Visual Studio 6 (Visual C++ 6.0 or MSVC6). ViSP compiles with Microsoft Visual Studio 7 (MSVC7), Microsoft Visual Studio 7 .NET 2003 (MSVC71), and Microsoft Visual Studio 8 2005 (MSVC8). |
|
|
| Lagadic
| Map
| Team
| Publications
| Demonstrations
|
Irisa - Inria - Copyright 2012 © Lagadic Project |