Page 1 of 1

Running openvibe on Ubuntu

Posted: Sat Oct 28, 2017 7:50 pm
by claytonidestae
Hello, earlier today I was installing the stable source code on my computer (ubuntu 64-bit, v.16.04) and the build was successful, but I cannot find a dist/ folder that contains the scripts needed to launch the components of openvibe (such as the designer or acquisition server). Instead, the build created a directory called "openvibe-sdk-build", and I cannot find any scripts mentioned there. Can anyone tell me where are the scripts that I would need to run to get this to work properly?

In case you need to know, the directory that this is all in is called "openvibe-2.0.0-src" and the "openvibe-sdk-build" directory contains two folders called "build-Release" and "dist-Release". Is one of those the one I need to use to find the "openvibe-[application-name].sh" that was mentioned in the build instructions?

And yes, I did try to search for them but nothing popped up

Re: Running openvibe on Ubuntu

Posted: Mon Oct 30, 2017 9:18 am
by tgaugry
Hi,

to me, it looks like you used the scripts inside sdk/scripts to build the SDK.
From what you write it seems you want is the "full" OpenViBE.
The process to do that is documented in the "README.md" file in main folder.

Can you tell me which process you followed ?

Cheers

Re: Running openvibe on Ubuntu

Posted: Mon Oct 30, 2017 1:45 pm
by gqueneherve
Hello,
I have the same kind of experience.

This morning, I tried to install OpenVIBE on Ubuntu 16.04 (on VMware Workstation 12 player).
I downloaded http://openvibe.inria.fr/pub/src/openvi ... src.tar.xz
I followed the instructions of http://openvibe.inria.fr/openvibe/build-instruction
I successfully managed to build the dependencies
But the script "build.sh" ended with errors
the directories "./dist/designer-Release", "./dist/sdk-Release" have been created but are almost empty (only content a doc-tmp folder)
Could you please help me investigate what went wrong with the compiling process ?

Regards
Gilles

Re: Running openvibe on Ubuntu

Posted: Tue Oct 31, 2017 1:23 pm
by tgaugry
Hi,

I unfortunately cannot answer without you telling me which error you got.
I suggest you remove dist and build folders (to start from a clean state) then launch build.sh again. This time, copy the output and post it here as an attachment.

Cheers,

Re: Running openvibe on Ubuntu

Posted: Wed Nov 01, 2017 10:06 am
by gqueneherve
Hello,

Please find enclosed the required output.

Best regards,
Gilles

Re: Running openvibe on Ubuntu

Posted: Thu Nov 02, 2017 9:38 am
by tgaugry
Hi,

Something is breaking at the very beginning (see line 8 : "build.sh: 9: build.sh: [[: not found").
To solve this problem, i would ask you to :
  • Check that you have a correct bash : Can you tell me the ouput of "if [[ 5 -gt 2 ]]; then echo $BASH; fi" ? If this spit any error (anything else than "/bin/bash"), then the problem is likely comming from your shell. In that case, can you post the output ?
  • Re download the code - this may not be the latest version (judging from your post date).
Cheers,

Re: Running openvibe on Ubuntu

Posted: Thu Nov 02, 2017 11:52 am
by jtlindgren
One thing I can see is that the versioning hurdle doesn't work as the source archive doesn't contain any of the .git stuff.

I didn't actually test if the .tar.xz itself compiles, I merely tested that the folder its based on compiles. But I realize the two are not the same thanks to filtering out .git.

We'll investigate.

Cheers,
J.

Re: Running openvibe on Ubuntu

Posted: Thu Nov 02, 2017 3:13 pm
by tgaugry
Hi,

Problem found.
An update to the archive will be provided. In the meantime, you can comment (or remove) the line "find_package(Git)" in sdk/cmake-modules/Utilities.cmake and designer/cmake-modules/Utilities.cmake.
You 'll also have to replace line 62 of build.sh by "./unix-build --build-type=${BuildType} --build-dir=${build_dir_base}/designer-${BuildType} --install-dir=${install_dir_base}/designer-${BuildType} --sdk=${install_dir_base}/sdk-${BuildType} --userdata-subdir=${user_data_subdir}"

After that, remove build and dist folder, and relaunch build.sh

Cheers,

Re: Running openvibe on Ubuntu

Posted: Sun Nov 05, 2017 9:13 pm
by gqueneherve
Hi,
This correction works.

I'm using the scripts located in the "/dist/extras-Release/" folder : openvibe-acquisition-server.sh and openvibe-designer.sh.

Thanks a lot,

Cheers

Problems installing Openvibe on Ubuntu 16.04

Posted: Tue Nov 07, 2017 2:37 pm
by Bancherd
Hi:
I successfully installed dependencies, but had errors during the build:
EDIT : Moved Logs to a file.
Not sure of what's going on with "git" errors.

Regards.

Re: Running openvibe on Ubuntu

Posted: Tue Nov 07, 2017 2:42 pm
by tgaugry
Hello,

I took the liberty of adding this post to this topic.
Fix can be found in my previous post.

Cheers,

Re: Running openvibe on Ubuntu

Posted: Wed Nov 08, 2017 8:30 am
by Bancherd
tgaugry wrote:Hello,

I took the liberty of adding this post to this topic.
Fix can be found in my previous post.

Cheers,

Got it working. Thank you very much! :D

Re: Running openvibe on Ubuntu

Posted: Wed Nov 08, 2017 2:10 pm
by jtlindgren
We've ninja-replaced the 2.0.0 src archive with a new one that should fix the git-related compilation issues. This archive corresponds to the 2.0.0-1 tag in the openvibe meta repo.


Cheers,
Jussi