11-02-2022, 05:43 PM
On Windows the easy escape is to call something from Win API.
It's quite possible one of those functions is returning zero, despite the pre-processor arrangements. Now we know other functions within "freeglut" don't like taking in zero for any screen dimension.
Why do I have to "DECLARE LIBRARY" something so it works on Linux? Do it to what? My temporary fix is bad, it's just temporary. As far as "DECLARE LIBRARY" is concerned, I'm a beginner.
The seg-fault thing is always at the end of program run, while the program tries to clean up. It could just happen, destructors getting cranky in a desktop that gobbles up RAM. On another computer just updated Fedora 36 which included Wine, and it seg-faults after every single Windows program that exited. It makes them look bad they postponed release date three times of Fedora 37.
It's quite possible one of those functions is returning zero, despite the pre-processor arrangements. Now we know other functions within "freeglut" don't like taking in zero for any screen dimension.
Why do I have to "DECLARE LIBRARY" something so it works on Linux? Do it to what? My temporary fix is bad, it's just temporary. As far as "DECLARE LIBRARY" is concerned, I'm a beginner.
The seg-fault thing is always at the end of program run, while the program tries to clean up. It could just happen, destructors getting cranky in a desktop that gobbles up RAM. On another computer just updated Fedora 36 which included Wine, and it seg-faults after every single Windows program that exited. It makes them look bad they postponed release date three times of Fedora 37.