install the FreeImage.h header
create a symlink from libfreeimage.so.# to libfreeimage.so
and another issue
where FreeImage_Initialise/DeInitialise not being called
automatically
Can you explain me how works your patch ?
Especially the void FreeImage_SO_Initialise() attribute((constructor)); / void
FreeImage_SO_Initialise() stuff ?
If you put
ifndef FREEIMAGE_LIB
if 0
This code is never called ???
Hervé
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
linux install/bug fix
Logged In: YES
user_id=613758
Can you explain me how works your patch ?
Especially the void FreeImage_SO_Initialise()
attribute((constructor)); / void
FreeImage_SO_Initialise() stuff ?
If you put
ifndef FREEIMAGE_LIB
if 0
This code is never called ???
Hervé
Logged In: NO
oops, my bad, can remove the #if 0
it was from testing to make sure that
FreeImage was not initializing correctly before the patch
as for
void FreeImage_SO_Initialise() attribute((constructor));
when the shared library is loaded the shared libraries
constructor/deconstructor will be called before main/after exit
documentation here:
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Function-Attributes.html#Function-Attributes
discussions which lead me to the problem,
http://www.ogre3d.org/phpBB2/viewtopic.php?t=21073&start=25&postdays=0&postorder=asc&highlight=
Logged In: YES
user_id=613758
Your patch has been commited to the CVS and will be
available in the next FreeImage release.
Thanks for your help :)
Best regards,
Hervé Drolon
FreeImage Project Manager
Logged In: YES
user_id=1312539
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).