FLTK logo

[fltk.general] Re: Strange Fl::screen_... results in 1.4

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

Re: Strange Fl::screen_... results in 1.4 Manolo Nov 29, 2022  
 

Le mercredi 30 novembre 2022 à 01:50:12 UTC+1, Tigercat a écrit :
BTW, the xinerama setting in config.h is set:
/*
* HAVE_XINERAMA
*
* Do we have the Xinerama library to support multi-head displays?
*/

#define HAVE_XINERAMA 1
That was the problem.  HAVE_XINERAMA was 0 in the faulty FLTK <3> situation above.

At the moment I'm using configure+make to build in the FLTK tree. My main project uses autotools.

I'm under the impression CMake is the 'future' for FLTK. Would the developers recommend that I migrate the build of FLTK to CMake? As I'm on Gentoo access to build systems is not a problem :-)
Yes, CMake is expected to progressively supplant configure as  building tool.
But configure remains supported by FLTK.

Building FLTK from source with CMake can be as simple as

cd <FLTK source tree>
mkdir build
cd build
cmake ..
make -j4

and you get libraries in <FLTK source tree>/build/lib/
headers in <FLTK source tree>/FL/ and test apps in <FLTK source tree>/bin/test/
 

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/b9e5a3c5-c67d-4cc7-877b-ed02bdffe497n%40googlegroups.com.
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'.