Blame doc/how_to_build_bsd.md
Branch: 875bbfc6cb34687d49e94b20d4033af410c3494d
jointri
d3f29c
# Setting up the development environment for BSD operatings systems such as NetBSD, FreeBSD, Dragonfly BSD, or OpenBSD
jointri
d3f29c
jointri
d3f29c
## Required software
jointri
d3f29c
jointri
d3f29c
Building OpenToonz from source requires the following dependencies:
jointri
d3f29c
- Git
jointri
d3f29c
- GCC or Clang
jointri
d3f29c
- CMake (3.4.1 or newer).
jointri
d3f29c
- Qt5 (5.9 or newer)
jointri
d3f29c
- Boost (1.55 or newer)
jointri
d3f29c
- LibPNG
jointri
d3f29c
- SuperLU
jointri
d3f29c
- Lzo2
jointri
d3f29c
- FreeType
jointri
d3f29c
- LibMyPaint (1.3 or newer)
jointri
d3f29c
- Jpeg-Turbo (1.4 or newer)
jointri
d3f29c
- OpenCV 3.2 or newer
jointri
d3f29c
jointri
d3f29c
## OpenBSD example
jointri
d3f29c
```
jointri
d3f29c
# pkg_add git cmake pkgconf boost qt5 lz4 usb lzo2 png jpeg glew freeglut freetype json-c mypaint opencv
jointri
d3f29c
```
jointri
d3f29c
For programs such as SuperLU or Jpeg-Turbo, you might need to compile from source.
jointri
d3f29c
jointri
d3f29c
Notes:
jointri
d3f29c
* It's possible we also need `libgsl2` (Called gsl in BSD systems or maybe `libopenblas-dev` (called just blas in BSD.))
jointri
d3f29c
* We may also need `libegl1-mesa-dev libgles2-mesa-dev libglib2.0-dev liblzma-dev` Install the BSD equivilency to those GNU/Linux packages. They might not be available as precompiled packages, so compiling from source might be required.
jointri
d3f29c
* If your BSD operating system doesn't have the up to date packages such as gsl, you may install them by compiling from source.
jointri
d3f29c
jointri
d3f29c
jointri
330cb9
Continue the instructions as stated in [the linux guide](https://github.com/opentoonz/opentoonz/blob/master/doc/how_to_build_linux.md) to finish the compilation.