Re: Could not successfully built FLTK1.4 (latest commit) on Manjaro Linux
Albrecht Schlosser
Oct 04, 2021
On 10/4/21 1:21 PM Albrecht Schlosser wrote:
On 10/3/21 2:08 PM Charalampos Rempas wrote:
I got FLTK from the final commit on master (git clone https://...)
and I tried to build it on Manjaro linux. I use the following
configuration settings: `./configure --disable-gl --disable-xinerama
--enable-shared`. Then I built the library with `make -j8` and there
was no shared libraries to be found.
For historical reasons the shared libraries are built in the 'src'
folder if you're using configure/make. IMHO a bad choice, but that's
how it is.
I updated the README file 'lib/README.txt' to clarify this.
The examples using 'CC' or 'gcc' are only that: examples. I admit that
using 'c++', 'g++', 'clang++' in these examples would have been a
better choice, but this part of the docs is very old and not updated
frequently. That said, yes, you need a C++ compiler to build FLTK.
I also updated the docs which can be found within about an hour on our
GitLab mirror:
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.