Some updates in the unix readme would be much welcome indeed (or additional clarifications in the present issue).
So far I've gathered 3 different ways to install FLTK (on linux), all tested, FLTK builds fine.
- using the instructions in the README_Unix.txt
That is
NOCONFIGURE=1 ./autogen.sh
./configure --help
./configure
make
sudo make install
I've tested this, builds fine (ubuntu 18.04)
you can always use make clean; ./configure ... (options)
That is:
After cloning the repo and checked out the proper branch or tag,
make
An exectuable configure is created an can be used to configure the build, which implies to first:
make clean
Then ./configure [options]
make
sudo make install
- using cmake
Create a build directory (from the fltk root)
cd build
cmake ..
make
sudo make install
No ./configure is available with this approach.
The examples in test/demo have to be build and will be in build/bin/test/examples
It'd be good someone elaborate on the above approaches, clarifies and correct me if needed.
Worth noting, there's also the approach to download a tar.gz archive from e.g. https://www.fltk.org/software.php?SOFTWARE=v1_1&LOCATION=SourceForge, the extracted archive does contain a ./configure executable which can be used to setup some custom configuration.
Cheers,
Ludo
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] |