[Motmot] Motmot FastImage Package Problem

Andrew Straw astraw at caltech.edu
Mon Aug 24 23:08:00 UTC 2009


Chris Durst wrote:
> I am having some trouble installing the packages though. Currently,
> I'm using MacOS 10.5.8 and have followed your instructions to get most
> of the packages installed, however I cannot get FastImage to work. I
> have attached a copy of the errors that I get when attempting to use
> easy_install on motmot.FastImage. Any help you could give me would be
> greatly appreciated.

Hi Chris,

(I'm CCing this to the motmot email list so others might find it.)

The trouble is that the framewave library cannot be found. I have had to
install framewave (I cannot remember how I did this on the Mac, but the
headers ended up in /usr/include and the .dylib files in /usr/lib) and
then I had to do this to the FastImage source:

--- a/setup.py
+++ b/setup.py
@@ -19,6 +19,8 @@ setup(name="motmot.FastImage",
                              sources=['src/FastImage.pyx',
                                       'src/fic.c','src/fic_sobel.c'],
                              libraries=['fwBase','fwImage'],
+                             include_dirs=['/usr/include'],
+                             library_dirs=['/usr/lib'],
                              ),
                    ],
       **kws)

-- 
Andrew D. Straw, Ph.D.
California Institute of Technology
http://www.its.caltech.edu/~astraw/



More information about the Motmot mailing list