You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 3.8KB

2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # |OpenViBE meta repository| |README|
  2. [![Website](https://img.shields.io/badge/Web-Website-informational)](http://openvibe.inria.fr/)
  3. [![Doxygen Documentation](https://img.shields.io/badge/Doc-Doxygen%20Documentation-informational)](http://openvibe.inria.fr/documentation/latest/)
  4. [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
  5. |Build Status :| |
  6. |:-------------|:-:|
  7. |Ubuntu 18.04 x64|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Ubuntu18.04&style=plastic)](https://ci.inria.fr/openvibe/job/OV-Nightly-Ubuntu18.04/)|
  8. |Fedora 31 x64|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Fedora31&style=plastic)](https://ci.inria.fr/openvibe/job/OV-Nightly-Fedora31/)|
  9. |Windows 10 x64|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Win10-x64&style=plastic)](https://https://ci.inria.fr/openvibe/job/OV-Nightly-Win10-x64/)|
  10. |Windows 10 x86|[![Build Status](https://ci.inria.fr/openvibe/buildStatus/icon?job=OV-Nightly-Win10-x86&style=plastic)](https://ci.inria.fr/openvibe/job/OV-Nightly-Win10-x86/)|
  11. OpenViBE project is now divided into 3 parts :
  12. - SDK, that contains the certifiable core and plugins of OpenViBE
  13. - Designer, the graphical interface for OpenViBE
  14. - Extras, for community plugins and contributions
  15. The current repository, OpenViBE-meta, exist to ease the task of building these repositories together.
  16. To build OpenViBE, follow these instructions :
  17. - Pull this repository
  18. - Pull its submodules
  19. - Install the dependencies using install_dependencies.cmd or .sh script, depending on your platform
  20. - Build the project using build.cmd or build.sh script
  21. - OPTIONNAL : if you need a solution that can be opened in visual studio, add --vsbuild-all flag. Generated solution will be outputted in build folder
  22. ## Pulling this repository
  23. This can be done using `git pull git@gitlab.inria.fr:openvibe/meta.git` from command line, or with any GUI for git, like GitKraken.
  24. ## Pulling the submodules
  25. Please note that you will require a recent version of git for this step; we advise to use versions above 2.0, but git 1.7 should work.
  26. Use `git submodule update --init --recursive` to fetch all submodules.
  27. ## Installing the dependencies
  28. Call install_dependencies.cmd or install_dependencies.sh, depending on your system.
  29. A "dependencies" folder will be created on main directory.
  30. If you wish to use visual studio, it will be more handy to install python and jinja2 library with :
  31. `c:\python3X\Scripts\pip.exe install jinja2`
  32. If you want to use the pygame examples, you will need python and pygame library. Pygame can be installed with
  33. `pip install jinja2`
  34. ## Building the project
  35. To build the whole project, execute `build.cmd` (windows) or `build.sh` (linux).
  36. You will require at least version 2013 of Visual Studio, or GCC 4.8
  37. ## Bu#ilding the project for Visual Studio
  38. To build the project for visual studio with both debug and release, use `build.cmd --vsbuild-all`.
  39. After building the project, the script will attempt to generate a merged solution of the 3 projects.
  40. This requires python3 and jinja2.
  41. If you use stock python3, you can install jinja2 like so :
  42. `c:\python3X\Scripts\pip.exe install jinja2`
  43. The merged sln will be generated in the build directory.
  44. If you do not wish to install python, you can also use the `launchvc.cmd` or `launchvc_debug.cmd` scripts (Legacy)
  45. ## Updating the repository
  46. ### WARNING : I HAVE NO IDEA HOW IT BEHAVE IF YOU HAVE PERSONNAL COMMIT/UNCOMMITED FILES
  47. You can update the whole directory (including submodules) with :
  48. ```bash
  49. git pull
  50. git submodule sync --recursive
  51. git submodule update -–init --recursive
  52. ```
  53. Aliases can be created to ease the global update process :
  54. `git config --global alias.spull '!git pull && git submodule sync --recursive && git submodule update --init --recursive'`
  55. ### END WARNING