building speex library on iPhone

Discussion in 'iOS Programming' started by techgentsia, Jul 19, 2011.

  1. macrumors newbie

    Joined:
    Jul 19, 2011
    #1
    I am trying to build speex library for iphone. I edited the makefile from i386 to ARM but on configuring it automatically changes back to i386. Also i tried to change the host and build in commandline(make --host=arm-apple-darwin10 --build=arm-apple-darwin10). But it says "This program built for i386-apple-darwin10.0". Where should i change to compile for ARM or should i need to write a new makefile for ARM. I am new to makefiles and iOS. Please someone help me to solve this out.
    Thanks in advance.
     
  2. thread starter macrumors newbie

    Joined:
    Jul 19, 2011
    #2
    Solved myself :) .Started an iOS static library project and builded the source code(src, libspeex). Link the header search path to speex.h(/include/speex/speex.h) in project target. Done. Hope this helps someone.
     
  3. macrumors newbie

    Joined:
    Sep 2, 2011
    #3
    How?

    Can you explain me how to compile the library, and how to use?
    I can't compile the library.
    Please help me. And what src you downloaded?
     
  4. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #4
    Did you import the source code into an Xcode project?
     

Share This Page