Configuring FFTW3 on Mac OS X 10.6.3

Discussion in 'Mac Programming' started by cturnes, Jun 2, 2010.

  1. cturnes macrumors newbie

    Joined:
    Jun 2, 2010
    #1
    I'm trying to configure the FFTW3 library to use in OS X 10.6.3. I have a machine capable of 64-bit, but I need to configure it as a 32-bit so that a 32-bit program (MATLAB) can interface with it (through mex). I'm trying to pass it the following configure command:

    ./configure CFLAGS="-m32 -b i386" CPPFLAGS="-b i386" LDFLAGS="-arch i386"

    but when I go to run make, I get:
    /usr/bin/ranlib: archive member: libbench2.a(my-getopt.o) cputype (16777223) does not match previous archive members cputype (7) (all members must match)

    Any ideas?
     
  2. Sander macrumors 6502

    Joined:
    Apr 24, 2008
    #2
    Sounds like there were some object files left around which were compiled with the previous setting. Perhaps you've tried to build it first, and then decided to try a different configuration?

    Does it help to do a make clean in the top-level directory?
     
  3. cturnes thread starter macrumors newbie

    Joined:
    Jun 2, 2010

Share This Page