Dying on Linux

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

Post Reply
tailormade
Posts: 15
Joined: Fri Jun 24, 2005 6:08 pm

Dying on Linux

Post by tailormade »

I need to use GFL 3.40 for a project where FreeImage will not read a particular form of TIFF, but GFL will. Unfortunately when I create a new executable (using GCC 4.4.7) and try to read any format (well, I have just tried JPG, PNG, and TIFF) it dies (segmentation fault) in reading the input file. I have not used GFL for a while on Linux, but it used to work with a previous version of CentOS (and hence, GCC). Is there something I need to do to use GFL on Linux?

I need to upgrade to GCC 4.7+ soon and is that going to make things better or worse? Well, I guess it can't get worse...
tailormade
Posts: 15
Joined: Fri Jun 24, 2005 6:08 pm

Re: Dying on Linux

Post by tailormade »

We upgraded to GCC 8.3 and that made no difference. It still dies in reading any format.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Dying on Linux

Post by xnview »

where do you have the crash?
Pierre.
emartirequena
Posts: 1
Joined: Wed Feb 28, 2024 5:29 am

Re: Dying on Linux

Post by emartirequena »

I have the same problem.
When I run the gfl_example or the gflc_example applications on any linux flavor, it raise a segmentation fault error on the funciontios:

gflLoadBitmap()

for gfl_example, and

bitmap.loadFromFile()

for gflc_example.

Has someone any idea of what is wrong with this?
Post Reply