Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: MentalPower on July 31, 2011, 12:04:56 pm

Title: XCode4 Complains about missing SDL.h
Post by: MentalPower on July 31, 2011, 12:04:56 pm
Hi all,

I'm trying to compile FS2_Open in OSX Lion using XCode4, but it complains about a missing SDL.h in the config.h header file around line 62. I already installed the SDL Framework on my machine, but still no joy. Any ideas?

Thanks!
Title: Re: XCode4 Complains about missing SDL.h
Post by: chief1983 on July 31, 2011, 12:30:36 pm
You don't need to install the SDL framework on OS X.  Just extract the Frameworks.tgz file in the Xcode folder in place.
Title: Re: XCode4 Complains about missing SDL.h
Post by: MentalPower on July 31, 2011, 07:51:40 pm
Woot! Thanks that worked. Perhaps that little tidbit should be added to the INSTALL file?
Title: Re: XCode4 Complains about missing SDL.h
Post by: chief1983 on August 01, 2011, 12:08:52 am
It should be in the Wiki.  The README/INSTALL do need updating.
Title: Re: XCode4 Complains about missing SDL.h
Post by: Echelon9 on August 07, 2011, 10:11:22 am
It should be in the Wiki.
See Mac Development Guide (http://www.hard-light.net/wiki/index.php/Mac_Development_Guide) -- that wiki page also tracks the known status of compilation on a given Xcode version