luispedro / mahotas

Computer Vision in Python
https://mahotas.rtfd.io
Other
844 stars 148 forks source link

OS X 10.7 dependencies and dynamic libs #5

Closed ijstokes closed 12 years ago

ijstokes commented 12 years ago

A few discoveries from trying to get mahotas to compile on OS X 10.7:

  1. It would be great if the README.osx file were updated to tell users to install from source the FreeImage package
  2. the Makefile.osx contains PPC packages that can't be compiled on 10.7. If I pull out all references it is OK.
  3. the FreeImage dynamic library that is installed is called "dylib" or similar, but the numpy dynamic package loader requires a .so extension for mahotas.freeimage to work. By creating a symlink I could get it working.
luispedro commented 12 years ago

There is no README.osx. Do you mean I should create one :)

luispedro commented 12 years ago

We now use imread by default for reading images (partially because of these issues).

Go bug the imread author! (which also happens to be me ;-)