Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

FreeImage Configure error. Linux

FreeImage Configure error. Linux
Charles Bradshaw 2012/09/28 19:35
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 2012/10/01 12:28
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.
http://dev.opencascade.org/sites/default/files/documents/OCCT_Build3rdParty_Linux_V1.pdf
We suggest you to try this way.

Regards
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map