... | ... | @@ -55,10 +55,12 @@ On other platforms, or if you just want to compile FLTK from source (here from t |
|
|
```bash
|
|
|
git clone https://github.com/fltk/fltk.git
|
|
|
cd fltk
|
|
|
./configure
|
|
|
mkdir build
|
|
|
cd build
|
|
|
# Notes:
|
|
|
# * by default FLTK is compiled as a static library, which has been reported to cause issues with OpenGL libraries on some systems; to build a shared library, add --enable-shared
|
|
|
# * if you don't have root access, add --prefix==path-to-install
|
|
|
# * by default FLTK is compiled as a static library, which has been reported to cause issues with OpenGL libraries on some systems; to build a shared library, add -DOPTION_BUILD_SHARED_LIBS=ON
|
|
|
# * if you don't have root access, add -DCMAKE_INSTALL_PREFIX=path-to-install
|
|
|
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON
|
|
|
make
|
|
|
sudo make install
|
|
|
# Notes:
|
... | ... | |