Running openvibe on Ubuntu
-
- Posts: 3
- Joined: Sat Oct 21, 2017 7:13 pm
Running openvibe on Ubuntu
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
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
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
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
-
- Posts: 8
- Joined: Sun Oct 29, 2017 9:54 am
Re: Running openvibe on Ubuntu
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
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
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,
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,
-
- Posts: 8
- Joined: Sun Oct 29, 2017 9:54 am
Re: Running openvibe on Ubuntu
Hello,
Please find enclosed the required output.
Best regards,
Gilles
Please find enclosed the required output.
Best regards,
Gilles
- Attachments
-
- OpenVIBE build output.txt
- (60.75 KiB) Downloaded 485 times
Re: Running openvibe on Ubuntu
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 :
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).
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Running openvibe on Ubuntu
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.
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
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,
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,
-
- Posts: 8
- Joined: Sun Oct 29, 2017 9:54 am
Re: Running openvibe on Ubuntu
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
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
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.
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 467 times
Re: Running openvibe on Ubuntu
Hello,
I took the liberty of adding this post to this topic.
Fix can be found in my previous post.
Cheers,
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
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!
![Very Happy :D](./images/smilies/icon_biggrin.gif)
-
- Posts: 775
- Joined: Tue Dec 04, 2012 3:53 pm
- Location: INRIA Rennes, FRANCE
Re: Running openvibe on Ubuntu
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
Cheers,
Jussi