FLTK logo

Re: [fltk/fltk] Build instructions for Unix seem out of date (#67)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] Build instructions for Unix seem out of date (#67) diplodocuslongus Apr 16, 2021  
 

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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.