View Full Version : Got SDL working on intel macs
LWStrike
2006.03.30, 03:03 AM
After messing with HID, getting static lib problems and learning how to make my own static lib and getting it to run (which in turn help me fix that HID static lib problem). I gave SDL another try (many hours later). I got to it work by building the current CVS source and including specific files in the build folder (make install didnt seem to help me).
I want to know 1) How do i see invisible folders? one of the files required was in a folder called .libs which i couldnt see (spotlight found it for me). 2) How do i make a framework with the libs and headers? maybe i can just list the files needed and have somone else make the SDL.framework for me.
Non of my major games uses SDL but my editors sure do :D it is a relief to get it running on my machine :D.
AnotherJake
2006.03.30, 03:30 AM
Glad to see you are finally getting SDL to work for you! :)
There are a few ways to see invisible folders, which are easy enough through the Finder using third party apps. My usual method is through Terminal.app though. Using the command line, the most basic command is `ls -a'. Brutal cudgel as it is, it gets the job done every time. Learning basic navigation using the unix terminal is a very handy skill to pick up if you are going to do any development on the modern Mac. Mastery is definitely not required.
LWStrike
2006.03.30, 05:09 PM
I was hoping for a way that the OS can natively use. Like have an option flipped so when i am browsing with xcode i can add the hears from folders such as /usr. I try to avoid the command line/terminal as often as i can. I do know how to use it (sadly).
AnotherJake
2006.03.30, 05:46 PM
Well, in the Finder you can use `Go->Go to Folder...', and then in the following dialog you can type /usr and hit return and it'll pop up a finder window with that directory. Not that you'll be able to do much more than have a look-see at what's in there because most operations will require special privileges. Like I said, there are 3rd party apps that'll open everything up for you if you really want full access from the Finder.
[edit] Never mind, I had all this stuff typed and I realized you said you *do* know how to use the terminal. You know do and don't look awful close to being the same when you're tired, silly me...
LWStrike
2006.03.31, 01:34 PM
I think i know enough port some libs. I got freeimage (1 small bug), freetype and SDL all working :). Now i want to make framework out of these, how do i do that?
OneSadCookie
2006.03.31, 09:37 PM
Why make a framework? There's nothing wrong with static libraries for FreeType (I don't recall FreeImage's license). SDL comes as a framework by default, but there's no reason you shouldn't use it as a dynamic library if that's what you've made...
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.