[SDL] Getting the system resolution
Nuno Santos
developer at imaginando.net
Tue Dec 5 04:17:36 PST 2006
Hi,
No. I built my own sources and i'm including them in a standard way,
but curiosly i can only get things that use SDL_tff with frameworks.
I'm doing something wrong for sure.
Em Dec 5, 2006, às 10:08 AM, Peter Mulholland escreveu:
> Hello Nuno,
>
> Tuesday, December 5, 2006, 9:20:19 AM, you wrote:
>
>> Hi Artem,
>
>> I have found it on my sources as well.
>
>> I also discovered that what was being linked was the framework.
>
>> Well, but its kind of useless now since i cant make it work on OSX.
>
>> With this story of the framework linking, i deleted all the
>> frameworks (SDL and SDL ttf) to link against the built sources.
>
>> I have SDL ttf installed just like SDL and Xcode is not finding SDL
>> ttf lib file.
>
>> Its says that its referenced by a certain file that doesnt not exist,
>> but the file exists! :S
>
>> Does any one has a tip for this problem?
>
> First off, the versions of SDL etc you installed, did you build your
> own frameworks, or did you build them from Terminal using ./configure
> and make ?
>
> If you are using frameworks, make sure you have SDL.framework etc in
> ONE PLACE ONLY and make sure this is the copy you want to use. I
> normally use my Home folders Library/Frameworks/ for this.
>
> Finally, if you use frameworks, they expect all headers to be referred
> to by #include <FrameworkName/header.h>, so for SDL this would be
> #include <SDL/SDL.h>. The problem with this, is the standard headers
> don't adhere to that. The fix is either a) manually adding the path to
> the frameworks Headers folder, or b) correcting the headers in the
> Framework to follow this.
>
> --
> Best regards,
> Peter mailto:darkmatter at freeuk.com
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
More information about the SDL
mailing list