When building plugins for Linux there are two options and one problem:
- Link to the system libraries
- Build all your dependencies and statically link to them
- Can't use gtk or qt.
require 'benchmark' | |
def is_it_true? | |
true | |
end | |
CONSTANT = 1 | |
BenchTimes = 1_000_000 | |
Benchmark.bm(20) do |bm| |
/** | |
* william light <[email protected]> wrote this in 2012 | |
* | |
* released under creative commons CC0 | |
* http://creativecommons.org/publicdomain/zero/1.0/ | |
*/ | |
#include <sys/stat.h> | |
#include <stdlib.h> | |
#include <fcntl.h> |
When building plugins for Linux there are two options and one problem:
#!/bin/bash | |
# Usage: sudo install_unflatpaked_bitwig.sh ["Bitwig Studio <version>.flatpak"] | |
# Check if running the script as root. | |
if [ "$EUID" -ne 0 ]; then | |
echo "Please run as root" | |
exit 0 | |
fi |