[SDL] build trouble on OS X

Andrew Straw andrew.straw at adelaide.edu.au
Tue Aug 5 19:52:04 PDT 2003


> Here's the build problems I have...  I pulled fresh from the CVS of
> 1.2.6, did ./autogen.sh,  ./configure, make, make install, all working
> perfectly.  And now to finish it off from within' PB am trying to 
> compile
> the framework.  I get the same error if I compile as Deployment or
> Development.  Any one had a problem like this?  I have a feeling it 
> might
> be the PB building?  If so, how do I do command line builds of the
> framework?  I'm on a 12" G4 PB with OS-X 10.2.6.  Thanks guys...

Use "pbxbuild" from the command line.

It sounds like the below isn't fixed in CVS, although I'm not enough of 
a Project Builder whiz to really know if this is the cause of the 
problem.  Any opinions?

Begin forwarded message:

> From: Andrew Straw <andrew.straw at adelaide.edu.au>
> Date: Thu Jul 24, 2003  11:55:29 Europe/Berlin
> To: sdl at libsdl.org
> Subject: Re: [SDL] build trouble on OS X
> Reply-To: sdl at libsdl.org
>
> On Wednesday, July 23, 2003, at 04:55  AM, Ryan C. Gordon wrote:
>
>>
>>> I get linking errors also when trying to compile from CVS.  Alas... I
>>> don't know THAT much about compiling and linking to be able to fix 
>>> it by
>>> hand if it is a simple error somewhere.  I have always used the 
>>> release
>>> 1.2.5 for the last 6 months on my projects because CVS builds have 
>>> never
>>> worked for me.  Anyone had any luck on OS-X building from the latest 
>>> CVS
>>> of 1.2.5?
>>
>> Are you using Project Builder? The command line builds from CVS are
>> working fine for me...
>
> OK, I've succeeded in getting SDL to build on OS X.  (My problems were 
> with both "pbxbuild" and the Project Builder GUI.)  Here's what I did 
> to fix it.  I'm not sure if this is the "proper" thing to do, but it 
> solved the problem and the latest SDL runs great!
>
> Cheers!
> Andrew
>
> Index: src/main/macosx/exports/SDL.x
> ===================================================================
> RCS file: 
> /home/sdlweb/libsdl.org/cvs/SDL12/src/main/macosx/exports/SDL.x,v
> retrieving revision 1.6
> diff -c -w -r1.6 SDL.x
> *** src/main/macosx/exports/SDL.x       10 Jul 2003 07:46:19 -0000     
>  1.6
> --- src/main/macosx/exports/SDL.x       23 Jul 2003 09:44:57 -0000
> ***************
> *** 74,82 ****
>         _SDL_GetModState
>         _SDL_SetModState
>         _SDL_GetKeyName
> -       _SDL_LoadObject
> -       _SDL_LoadFunction
> -       _SDL_UnloadObject
>         _SDL_GetMouseState
>         _SDL_GetRelativeMouseState
>         _SDL_WarpMouse
> --- 74,79 ----
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>





More information about the SDL mailing list