Skip to content

Instantly share code, notes, and snippets.

View jfrey-xx's full-sized avatar

Jérémy Frey jfrey-xx

View GitHub Profile
@jfrey-xx
jfrey-xx / HOWTO_openvibe-3.2.0_compile-ubuntu-20.04.md
Last active January 11, 2023 23:37
How-to compile OpenViBE 3.2.0 on Linux Ubuntu 20.04.

Instructions to compile OpenViBE 3.2.0 beta on Ubuntu 20.04

Get the sources: wget http://openvibe.inria.fr/pub/src/openvibe-3.2.0-src.tar.xz

Uncompress: tar xvf openvibe-3.2.0-src.tar.xz

Apply patch: patch -p0 < openvibe-3.2.0_compile-ubuntu-20.04.patch

Then proceed with usual install steps:

@jfrey-xx
jfrey-xx / MCLK.cpp
Last active November 15, 2022 12:50
MCLK for I2S arduino-pico using PIO -- see https://github.com/earlephilhower/arduino-pico/issues/647
#include <Arduino.h>
#include "MCLK.h"
#include "mclk.pio.h"
MCLK::MCLK() {
_running = false;
_pin = 29;
_freq = 48000;
}
@jfrey-xx
jfrey-xx / HOWTO_openvibe-2.0.0-beta.md
Last active July 29, 2017 13:53
How-to compile first beta of OpenViBE 2 on Linux Ubuntu 16.04 -- see http://openvibe.inria.fr/openvibe-2-0-soon-to-appear/

Instructions to compile OpenViBE 2.0.0 beta on Ubuntu 16.04

Get the sources: wget http://openvibe.inria.fr/pub/src/openvibe-beta-2.0.0-src.tar.xz

Uncompress: tar xvf openvibe-beta-2.0.0-src.tar.xz

Apply patch: patch -p0 < openvibe-2.0.0-beta_compile.patch

Install dependencies for the 3 modules:

@jfrey-xx
jfrey-xx / ov-1.2.2_pi2-raspbian8.patch
Last active September 3, 2016 15:02
Patch OpenViBE 1.2.2 to run it on a Rasbperry with Raspbian 8 (Jessie), unleash brain-computer interfaces on a 35$ computer. Use "patch -p1 < ov-1.2.2_pi2-raspbian8.patch" on the sources http://openvibe.inria.fr/downloads/
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4bb6846..980efc7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -100,7 +100,7 @@ ELSEIF(UNIX)
ENDIF(OPENMP_FOUND)
# Switch -msse2 enables vectorization. Remove if your CPU/compiler doesn't support it.
- SET(OV_EIGEN_FLAGS "-msse2")
+ # SET(OV_EIGEN_FLAGS "-msse2")