FLTK logo

STR #3419

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 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | SVN ⇄ GIT ]

STR #3419

Application:FLTK Library
Status:2 - Closed w/o Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:Build Files
Summary:examples/OpenGL*.cxx needs Makefile entries
Version:1.4-current
Created By:greg.ercolano
Assigned To:AlbrechtS
Fix Version:Will Not Fix
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 greg.ercolano
15:47 Oct 25, 2017
examples_Makefile_v1.patch
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 greg.ercolano
15:47 Oct 25, 2017
The examples/OpenGL* examples don't have a Makefile target,
so they can't be built using 'make'.

Attaching an experimental patch for testing that will build
the tools *if* the user explicitly specifies building them with make.

I purposefully /excluded them from the default build/, since
the demos as currently written would fail to build if either GLEW
or GLUT aren't present.

The demos should probably be adjusted to test for e.g. HAVE_GL,
and whatever the equivalent is for GLEW and GLUT, so that it can
successfully build without them, posting a dialog similar to
what we currently have in the test/cube program.
 
 
#2 AlbrechtS
11:18 Mar 13, 2024
This will not be fixed because Makefile support will be removed in 1.5.0 anyway.

The OpenGL*.cxx example programs build fine with CMake. They are NOT built if FLTK is configured w/o CMake support.

Building these example programs if GL support is not found to display an error dialog (as suggested) would be an option but this should be addressed in a GitHub Issue - if necessary (I don't think it's worth the effort).
 
 
#3 AlbrechtS
11:38 Mar 13, 2024
Correction: the sentence "They are NOT built if FLTK is configured w/o CMake support." should read:

They are NOT built if FLTK is configured w/o GL support.
 
     

Return to Bugs & Features ]

 
 

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'.