compiling & xcode

Discussion in 'Mac Programming' started by sderenzi, Oct 14, 2007.

  1. sderenzi macrumors newbie

    sderenzi

    Joined:
    Oct 9, 2007
    Location:
    Bolingbrook, IL - USA
    #1
    I've just figured out how to add source files without dependencies to xcode and then compile. I tried doing it with mp3val but get a segmentation fault upon running the application. Also I don't know how to compile it into a single file, the one I had needed to stay in the directory it was placed in :S

    I was interested in compiling this http://gpac.sourceforge.net/home_download.php

    According to the page the libraries are included in a seperate .zip below the main download, so would those be the only dependencies I'd need? I looked at the stuff and it's not just source but more things, it's somewhat confusing. How could I add these to an xcode project and properly compile? If anyone wants make a guide and let me know cuz it'd be useful to alot of mac users.

    Also I'd like to compile this http://mpeg4ip.sourceforge.net/downloads/index.php but since I've no idea what to do thought I could ask, can I add these to xcode and it'll just tell me what I need dependency-wise?

    Well goodnight

    PS Why didn't mp3val work? http://mp3val.sourceforge.net/
     
  2. sderenzi thread starter macrumors newbie

    sderenzi

    Joined:
    Oct 9, 2007
    Location:
    Bolingbrook, IL - USA
    #2
    I found this, I assume it's for linux not OS X

    . Now we need to get MP4Box and compile it. This is used for post processing to allow the feed files to play with the updated iPod firmware.
    Code:
       cd /tmp
       wget http://internap.dl.sourceforge.net/sourceforge/gpac/gpac-0.4.0-rc2.tar.gz 
       wget http://internap.dl.sourceforge.net/sourceforge/gpac/gpac_extra_libs-0.4.0.tar.gz 
       tar -zxf gpac-0.4.0-rc2.tar.gz 
       tar -zxf  gpac_extra_libs-0.4.0.tar.gz 
       cd gpac_extra_libs 
       cp -r * ../gpac/extra_lib
       cd /tmp/gpac 
       chmod +x configure 
       ./configure
       make lib 
       make apps 
       make install
    Any ideas about how to do this on OS X!
     
  3. antibact1 macrumors 6502

    Joined:
    Jun 1, 2006
    #3
    mp3val works for me.

    Try

    Code:
    make -f Makefile.gcc
     

Share This Page