summaryrefslogtreecommitdiffstats
path: root/INSTALL.md
blob: 5eca51c6d7cee06479d8e03d691ea020dcc378df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Installation Instructions

Frei0r can be built using either Autoconf or CMake.

The choice is open, CMake is mandatory only on Windowz.

The presence of optional libraries on the system will trigger compilation
of extra plugins. These libraries are:

  + [Gavl](http://gmerlin.sourceforge.net) required for scale0tilt and vectorscope filters

  + [OpenCV](http://opencvlibrary.sourceforge.net) required for facebl0r filter

  + [Cairo](http://cairographics.org) required for cairo- filters and mixers

## Autoconf build

```
./configure
make
```

## CMake build

```
cmake .
make
```

## Proceed with install

Default prefix is `/usr/local`, target directory is `frei0r-1`

A default `make install` as root will put the plugins into `/usr/local/lib/frei0r-1` unless the prefix path is specified. Most applications will look into that directory on GNU/Linux, or it should be possible to configure where to look for frei0r plugins.

When using Apple/OSX, the `dlopen()` mechanism (in FFMpeg for instance) will look for `.dylib` extensions and not the `.so` that frei0r plugins have by default. To fix this problem one can rename the plugins simply so:

```
for file in /usr/local/lib/frei0r-1/*.so ; do
  cp $file "${file%.*}.dylib"
done
```