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) erco77 12:05 Apr 27 top right image
 

OK, found a minute to apply your patch to 1.4.x git. Short answer: It works!
Shows the error in the console, and definitely does not background itself. (Easy to test by giving it a UNC path to a nonexistent file server, e.g. fluid -c \\google.org\some\where.fl which causes fluid to hang trying to find it)

FWIW, here's what I did after applying the patch:

First I created a new build dir, cd'ed to it, and ran:

C:\\fltk-1.4.x-git\build-albrecht-vs2017>cmake -D CMAKE_BUILD_TYPE=Release ..

Side note: not sure what this warning was about, but I think I always see it. I did run cmake from the "VS 2017 DOS Command Prompt" window:

[..]
-- Check size of long long - done
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- 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"    <<<<
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found OpenGL: opengl32
[..]

Then loaded fltk.sln into VS 2017's IDE (which takes about 5mins.. I guess 8gig of ram is apparently not enough for Win8+VS)

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 (which on my slow machine takes around 5 minutes to complete, lol)

Trying not to get sidetracked, built the entire solution, then tested the generated fluid on a file I didn't have permission to read, and it gave a proper error message.


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