How to install/compile OpenViBE in Windows

In this article we are going to explore how to install and compile OpenViBE source code in Windows. Of course, if you don’t want to implement any extra Module in OpenViBE for any purpose related to your research, you just need to download the OpenVibe installer and follow the instructions to install it and start to create new scenarios. For the purpose of implementing new module or edit the existing module you need to install and compile the OpenViBE source code. In below we explain some few easy steps to do it in short time and correctly.

Step 1: Installing Visual Studio:

For compiling OpenViBE source code you need a compiler on your system, because OpenViBE by itself doesn’t have any compiler and use the default compiler of system to compile its code. In Windows operating based systems they recommend to use Visual Studio 2008 or 2010 which provides CL compiler.

Step 2: Installing CMake:

After finishing the installation of Visual Studio on your system, you need to install CMake (Cross Platform Make) too. They used CmakeList file in OpenVIBe, so in this way compiler needs CMake, surprisingly, in time of installing of dependencies of OpenVIBE you can see that, they provide CMake there also, but in some cases it doesn’t work and in time of compile it gives some error related CMake.

Step 3: Installing OpenViBE source code:

First make sure that, you download the latest stable version of OpenViBE source code. Then extract the ZIP file to a location which you want to keep OpenViBE in your system. Then open the OpenViBE folder and open the “scripts” folder, you should see the below picture:

OpenViBE also has some prerequisites which should be install before being compile. For this purpose double click on “win32-install_dependencies.exe”. In the “OpenViBE dependencies Setup” window, click on “Compilation platform” to be expand.

 

You will see by default the Visual C++ 2010 is selected, so, for not having further error in compilation select the one which you installed in your system too. Then click on “Install” button.

In the “scripts” folder there are two files with names: “win32-build.cmd” for building the OpenViBE source code and “win32-clean.cmd” for cleaning all built data. For compiling OpenViBE source code double click on “win32-build.cmd”, depend to your system performance, it will takes few minutes to finish compilation process. After finishing the compilation, if you check the OpenViBE folder, there two more folders “dependencies” and “dist” added.

For the first run, open the “dist” folder and double click on “ov-designer.cmd” file and the “OpenViBE Designer” window will show up.

In the menu bar, click on the File >> New, then from the right side of the OpenViBE Designer, in the “Boxes”,  click on “Samples” folder to be expand and drag “Sinus oscillator” and drop it in the left side of window. This module will generate sinus signal. For display the sinus signal, click on the “Visualisation” >> “Basic” , then drag “Single display” module and drop it in left side of window under “Sinus oscillator” module. Then connect the pink triangle of Sinus oscillator to green triangle of Signal display and from the menu bar click on start scenario button with (play). you should see the following window:

 

 

This entry was posted in Development, Software. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>