Re: [fltk/fltk] windows+fltk1.3.x+1.4.x: "fluid -c somefile.fl" fails without error if .fl file unreadable (#224)

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] windows+fltk1.3.x+1.4.x: "fluid -c somefile.fl" fails without error if .fl file unreadable (#224) Albrecht Schlosser 12:28 Apr 27 top right image
 

Regarding the CMake warnings:

-- Warning: Header file GL/glu.h was not found.         <<<<
-- The FLTK team recommends to rerun CMake from a       <<<<
-- "Developer Command Prompt for Visual Studio xxxx"    <<<<

This is only a recommendation, but I think it's not necessary. The reason is that GL/glu.h may not be found by CMake but is nevertheless available somewhere in the Windows SDK. This ought to be found when you run CMake from a developer command prompt but meanwhile I think we should remove it because the build works fine anyway. Magic.

Side note: even though CMAKE_BUILD_TYPE was set to "Release" on the cmake command line, still had to change the VS IDE pulldown menu from Debug -> Release ...

FYI: CMAKE_BUILD_TYPE is ignored in VS build generators because these are "multi-config" generators, i.e. you can select the build type in the IDE. It's only relevant to set a particular build type for Makefiles, Ninja, and other single-config generators. I'd like it to set the default build type for MSVC rather than being ignored but that's IIRC something the CMake guys can't do (or don't want to do) for some reason.


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 ]
 
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]
 
 

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