Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

FreeImage Configure error. Linux

Charles Bradshaw's picture

The file configure.ac contains the following check for libfreeimageplus

AC_CHECK_LIB( [freeimageplus], [FreeImage_OpenMemory],

This fails because the symbol FreeImage_OpenMemory is an external symbol in libfreeimageplus:
$ nm -D libfreeimageplus.so | grep FreeImage_OpenMemory
U FreeImage_OpenMemory

Whereas, FreeImage_OpenMemory is defined in libfreeimage:
$ nm -D libfreeimage.so | grep FreeImage_OpenMemory
0001b0e0 T FreeImage_OpenMemory

If the c++ wrapper is required something like:
AC_CHECK_LIB( [freeimageplus], [_init], ..

Is required instead. Otherwise freeimage support cannot be configured.

Forum supervisor's picture

Dear Charles,
It seems you are using 'freeimage' from RPM for FEDORA 17 and naturally we know nothing about version of 'freeimage' and building procedure.

We compile FreeImage 3.14.1 from source files and both freeimage.so and freeimageplus.so contain FreeImage_OpenMemory symbol.
Compilation procedure is available on dev.opencascade.org site.
We suggest you to try this way.