aboutsummaryrefslogtreecommitdiff
path: root/compile.sh
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-02 17:08:21 +0200
committerThomas White <taw@physics.org>2021-05-02 18:38:41 +0200
commitf040a936d8f39148e81b9cd7716b1b0c466b65dd (patch)
treeab9394c95739f796f985047a3fc2a5881b45876c /compile.sh
parentc0399a0a1b4c309bbf6f39ea461687cd3e87a5e2 (diff)
Use wrapper for OLA's C++ API instead of the web API
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh
new file mode 100755
index 0000000..a66ccf7
--- /dev/null
+++ b/compile.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -x
+g++ guile-ola.cpp -o libguile-ola.so -lola --shared -fPIC \
+ `pkg-config --cflags --libs guile-3.0`
+
+echo Now run: sudo cp libguile-ola.so /usr/local/lib64/