Running openvibe on Ubuntu

Post Reply
claytonidestae
Posts: 3
Joined: Sat Oct 21, 2017 7:13 pm

Running openvibe on Ubuntu

Post 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

tgaugry
Posts: 68
Joined: Thu Feb 09, 2017 10:17 am

Re: Running openvibe on Ubuntu

Post 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

gqueneherve
Posts: 8
Joined: Sun Oct 29, 2017 9:54 am

Re: Running openvibe on Ubuntu

Post 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

tgaugry
Posts: 68
Joined: Thu Feb 09, 2017 10:17 am

Re: Running openvibe on Ubuntu

Post 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,

gqueneherve
Posts: 8
Joined: Sun Oct 29, 2017 9:54 am

Re: Running openvibe on Ubuntu

Post by gqueneherve »

Hello,

Please find enclosed the required output.

Best regards,
Gilles
Attachments
OpenVIBE build output.txt
(60.75 KiB) Downloaded 475 times

tgaugry
Posts: 68
Joined: Thu Feb 09, 2017 10:17 am

Re: Running openvibe on Ubuntu

Post 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,

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Running openvibe on Ubuntu

Post 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.

tgaugry
Posts: 68
Joined: Thu Feb 09, 2017 10:17 am

Re: Running openvibe on Ubuntu

Post 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,

gqueneherve
Posts: 8
Joined: Sun Oct 29, 2017 9:54 am

Re: Running openvibe on Ubuntu

Post 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

Bancherd
Posts: 2
Joined: Tue Nov 07, 2017 2:20 pm
Location: Thailand

Problems installing Openvibe on Ubuntu 16.04

Post 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.
Attachments
error-log.txt
(11.27 KiB) Downloaded 451 times

tgaugry
Posts: 68
Joined: Thu Feb 09, 2017 10:17 am

Re: Running openvibe on Ubuntu

Post by tgaugry »

Hello,

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

Cheers,

Bancherd
Posts: 2
Joined: Tue Nov 07, 2017 2:20 pm
Location: Thailand

Re: Running openvibe on Ubuntu

Post 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

jtlindgren
Posts: 775
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Running openvibe on Ubuntu

Post 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

Post Reply