123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- This document is outdated. While some informations in this document may still be relevant, you should exert caution while reading it.
- You can find an up to date version of this document in the meta repo, see https://gitlab.inria.fr/openvibe/meta/blob/master/README.md
-
- *========================================*
- |OpenViBE| |INSTALL|
- *========================================*
-
- |Introduction|
-
- This document explains how to build the OpenViBE platform from the sources.
- More up-to-date information may be available at
-
- http://openvibe.inria.fr/build-instructions/
-
- |Repository.organisation|
-
- Please refer to the README file to have information on the repository
- organisation.
-
- |Build.target|
-
- Windows: OpenViBE should compile on x86 / x86_64 architecture running Microsoft
- Windows 2k/XP/Vista/7 with Visual C++ 2008 or 2010 Express Edition (take care
- of having the up-to-date platform SDK from Microsoft installed).
-
- Linux: OpenViBE should compile on x86 / x86_64 architectures running Linux with gcc 4.*
-
- Please consider that trying to compile OpenViBE on other hardware/OS/compiler
- is experimental and has not been tested. If you wish to try and get OpenViBE
- to run on other hardware/OS/compilers, your efforts are welcome
- but you should not expect to get support on the short term.
-
- |Building.on.Windows|
-
- 1. Short story:
-
- For command line -style building using NMake, double-click:
-
- # win32-install_dependencies
- # win32-build
-
- For IDE style building using Visual Studio, double-click:
-
- # win32-install_dependencies
- # win32-generate-vcproj
- # win32-launch-vc
-
- You may have to tweak the last script to find your particular version of Visual Studio.
-
- The built openvibe should now be in "dist\" folder. If it didn't work, read the longer description for hints.
-
- |Detailed.building.instructions.for.Windows|
-
- 1. Install dependencies
-
- In order to build the software, you must install several dependencies.
- This may be done using the provided installation scripts which will automatically
- set up your environment. Run the following *inside* the scripts/ directory:
-
- <win32-install_dependencies> installs the dependencies under Windows.
-
- The Windows installer uses prebuilt packages and is quite fast.
-
- 2. Prepare the environment
-
- The 'scripts' directory contains the necessary files to build the whole platform and plugins.
- The <win32-init_env_command> sets the build environment. You may have to tune this
- and other scripts by hand due to installation specifics such as Visual Studio paths.
-
- 3a. Build using NMake
-
- If you want to build all projects without an IDE, you can use the <win32-build> script.
- The script calls <win32-init_env_command>, which must be able to set the development
- environment correctly.
-
- 3b. Build using Visual Studio
-
- Use <win32-generate-vc-proj> in scripts\ directory to generate a Visual Studio
- solution to "local-tmp\visual\". The script calls <win32-init_env_command>,
- which must be able to set up the development environment correctly.
-
- Script <win32-launch-vc> can then be used to launch Visual Studio 2010 Express
- while taking care that all the environment variables have been set. To use other
- version of Visual Studio, change the path on the last line of the script to
- point to your version.
-
- Note the following when using Visual Studio with OpenViBE:
-
- - When launching Visual Studio, the OpenViBE environment variables must have
- already been set (as done by <win32-launch-vc>)
- - Always compile the INSTALL target to get everything copied under "dist\". This
- is required so that the compiled OpenViBE applications can find the DLL files.
- - When debugging an OpenViBE executable in Visual Studio, you may have to set the
- correct Properties->Debugging->Working Directory by finding "dist\bin\" with browse.
- - All Visual Studio projects are created by CMake, so any changes to the project
- configurations should be made to the CMake scripts.
- - If you want to add any files to the build tree, delete "local-tmp\visual\CMakeCache.txt"
- and run the <win32-generate-vc-proj> again.
-
- 4. If you made it this far, congratulations : you should now have OpenViBE working,
- and the freshly built OpenViBE in "dist\".
-
-
- |Building.on.Linux|
-
- 1. Short story
-
- # cd scripts
- # ./linux-install_dependencies
- # ./linux-build
-
- The built OpenViBE should be in "dist/". If not, please read the longer description for hints.
-
- |Detailed.building.instructions.on.Linux|
-
- 1. Install dependencies
-
- In order to build the software, you must install several dependencies. This may be
- done using a provided script. Run the following *inside* the scripts/ directory:
-
- <linux-install_dependencies> installs dependencies under Linux.
-
- The Linux installer processes a few source packages and builds them from scratch. Most
- of the packages are installed from your Linux distribution. Hence this script requires
- root access. If you don't have one, please ask your IT support to install the OpenViBE
- dependencies for you as listed in the script.
-
- 2. Build the platform
-
- To build OpenViBE, you can use the <linux-build> script while in the scripts/ directory.
-
- Finally, the <linux-test> script will launch the most interesting applications for you.
-
- If you want to build only some specific subtree, first build the whole OpenViBE
- and then change to the appropriate subtree under local-tmp/. There you can call
- "make" and "make install" to build only that component.
-
- 3. If you made it this far, congratulations : you should now have OpenViBE freshly
- built to "dist/".
-
- |Elementary Linux packaging|
-
- To build an elementary Debian/Ubuntu/Mint package from the official tarball (>= 0.16.0)
- using debhelper, do the following:
-
- # mv openvibe-X.Y.Z.tar.gz openvibe_X.Y.Z.orig.tar.gz
- # tar xzvf openvibe_X.Y.Z.orig.tar.gz
- # cd openvibe-X.Y.Z
- # debuild -uc -us
-
- |Contribution.rules|
-
- Please see
-
- http://openvibe.inria.fr/contribution-rules/
-
-
- |End.of.file|
-
- vim:tw=78:ts=8:ft=help:norl:
|