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.1KB

2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # OpenViBE Designer
  2. This repository contains the Designer graphical interface, based on OpenViBE SDK. It also contains various visualization plugins.
  3. ## Build
  4. In order to compile this project you will need to have the openvibe-sdk dependency compiled somewhere. You can install the last released version
  5. via dependencies or use a folder compiled locally folder.
  6. Let us call this path `PATH_OPENVIBE_SDK`. The other requirement is to know where Certivibe dependencies can be found, let us call this path
  7. `PATH_OPENVIBE_SDK_DEPENDENCIES`. Finally, let us call the location of the source code `PATH_DESIGNER_SOURCE`.
  8. ### Pre-requisites
  9. In order to build Designer, you need a compiler installed. On Windows you need to have Visual Studio 2013 installed, the build system is based on CMake and Ninja,
  10. if you don't want to install it on your system, then you can unzip it locally with command by:
  11. Going to `PATH_DESIGNER_SOURCE\scripts` and open command terminal, set variable PROXYPASS with `username:passwd` and run (or use `windows-install-dependencies-auth.cmd` -> see below):
  12. ```
  13. powershell.exe -NoProfile -ExecutionPolicy Bypass -file "windows-get-dependencies.ps1" -manifest_file .\windows-build-tools.txt
  14. ```
  15. ### Windows
  16. #### Installing Designer Dependencies
  17. The simplest way to install dependencies, is, in folder `scripts`:
  18. * copy `windows-install-dependencies-auth.cmd-skeleton`
  19. * rename it to `windows-install-dependencies-auth.cmd`
  20. * edit line `set PROXYPASS=XXX:XXX` with appropriate usernamee and password
  21. * run it whenever you want to update dependencies.
  22. This file is ignored by Git, since credentials should not be commited to repository.
  23. This script install build tools, SDK dependencies and Designer dependencies. If you have your own CMake install and want to use a local version of openvibe-sdk
  24. you can comment the lines build-tools.txt.
  25. #### Compile the source code via the script
  26. The build script can be found in `PATH_DESIGNER_SOURCE\scripts`
  27. To build Designer in Release mode run:
  28. windows-build.cmd --sdk PATH_OPENVIBE_SDK --dep PATH_OPENVIBE_SDK_DEPENDENCIES
  29. #### Creating a Visual Studio project
  30. A Visual Studio project can be created using scripts. A generator can be found in the `PATH_DESIGNER_SOURCE\scripts` folder.
  31. windows-generate-vs-project.cmd --sdk "PATH_OPENVIBE_SDK" --dep "PATH_OPENVIBE_SDK_DEPENDENCIES"
  32. In order to open the visual studio with the correct paths:
  33. windows-launch-visual-studio.cmd --sdk "PATH_OPENVIBE_SDK"
  34. Note that currently, only building the project in Release mode is supported if you are using Visual Studio.
  35. ### Linux
  36. #### Installing Designer Dependencies
  37. This installation guide supposes that you have already installed the OpenViBE SDK dependencies.
  38. Go to `PATH_DESIGNER_SOURCE/scripts` and run
  39. perl linux-install-dependencies.pl
  40. You will be asked for your root password which you have to grant to the script.
  41. #### Compile the source code via the script
  42. The build script is in `PATH_DESIGNER_SOURCE/scripts`
  43. Run it as so:
  44. ./unix-build --sdk=PATH_OPENVIBE_SDK
  45. This will build and install Designer in release mode into `PATH_DESIGNER_SOURCE/build/dist`