|
|
Long time FLTK user; who has always used 32-bit library with no issues. I successfully compiled ftlk.lib version 1.3.5 with x64 flags in Visual Studio 2017 and have been using the library in my 64-bit software (a GUI that collects API data). However after hours of program execution (1 to 10 hours), inevitably, Fl_Browser::item_height (Fl_Browser.cxx line 409) will eventually throw an exception for a Read Access Violation (a system level exception, not a C++ exception).
I checked some previous versions of FLTK and this function has been unchanged for a long time, so I'm pretty sure this is a 64 bit compilation issue. I'm not all too sure where to begin looking; I've left all the preprocessor definitions as WIN32 as it mentions on the FLTK homepage they are valid for both 32 and 64-bit builds. Also I've set flag /MACHINE:X64.
As this is a system level exception I can't really put a try/catch in the FLTK source code in this area, so looking to find a root cause - my suspicion is a build issue. Any advice/help is greatly appreciated! Thanks.
— 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 ] | |
|
| |