OS X - Xcode 3.2.3 - Setup SDL?

OS X - Xcode 3.2.3 - Setup SDL?

Hi,

I am trying to setup:

  • SDL 1.2 + OpenGL
  • SDL_image
  • SDL_mixer
  • SDL_ttf
    under Mac OS X 10.6.2 using Xcode 3.2.3.

I’ve downloaded all the images for each SDL library
and followed directions to install to Xcode 3.2.3,
but when I create a new Xcode project, there are no SDL templates?

Can someone using SDL with Xcode 3.2.3 tell me how to make it work?
(or give web page that explains this process)

I’ve Googled for days, but still can not make it work!
Thanks!

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

Hey Jesse,

In Xcode 3.2.3 templates are gone (I think since version 3), so what you
need to do is:

Put the SDL framework (SDL.framework) in Xcode folder (/library/frameworks)
and what you need to do is: use one of the xcode projects found in the
’Template and Documenation’ dmg filet to create your application.

That xcode project is a already working ‘game’. Just change what you need to
change, and have fun.

C!On Tue, Jul 13, 2010 at 8:00 AM, Jesse Palser wrote:

OS X - Xcode 3.2.3 - Setup SDL?

Hi,

I am trying to setup:

  • SDL 1.2 + OpenGL
  • SDL_image
  • SDL_mixer
  • SDL_ttf
    under Mac OS X 10.6.2 using Xcode 3.2.3.

I’ve downloaded all the images for each SDL library
and followed directions to install to Xcode 3.2.3,
but when I create a new Xcode project, there are no SDL templates?

Can someone using SDL with Xcode 3.2.3 tell me how to make it work?
(or give web page that explains this process)

I’ve Googled for days, but still can not make it work!
Thanks!

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,

I put all the SDL frameworks into /library/frameworks.

I am confused what to do next.
I run Xcode and choose “Create a new Xcode project”.
Then “New Project” dialog window opens, but what do I select now?

Sorry, I’ve been using OS X for about a week now.

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com http://www.16BitSoft.comOn 07/13/2010 07:23 AM, Celso Dantas wrote:

Hey Jesse,

In Xcode 3.2.3 templates are gone (I think since version 3), so what
you need to do is:

Put the SDL framework (SDL.framework) in Xcode folder
(/library/frameworks) and what you need to do is: use one of the xcode
projects found in the ‘Template and Documenation’ dmg filet to create
your application.

That xcode project is a already working ‘game’. Just change what you
need to change, and have fun.

C!

On Tue, Jul 13, 2010 at 8:00 AM, Jesse Palser <SLNTHERO at aol.com <mailto:SLNTHERO at aol.com>> wrote:

 OS X - Xcode 3.2.3 - Setup SDL?

Hi,

I am trying to setup:
- SDL 1.2 + OpenGL
- SDL_image
- SDL_mixer
- SDL_ttf
under Mac OS X 10.6.2 using Xcode 3.2.3.

I've downloaded all the images for each SDL library
and followed directions to install to Xcode 3.2.3,
but when I create a new Xcode project, there are no SDL templates?

Can someone using SDL with Xcode 3.2.3 tell me how to make it work?
(or give web page that explains this process)

I've Googled for days, but still can not make it work!
Thanks!

Jesse
16BitSoft(R)
Video Game Design Studio
www.16BitSoft.com <http://www.16BitSoft.com>
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,

Nevermind, I figured it out, thanks!

JesseOn 07/13/2010 10:44 AM, Jesse Palser wrote:

Hi,

I put all the SDL frameworks into /library/frameworks.

I am confused what to do next.
I run Xcode and choose “Create a new Xcode project”.
Then “New Project” dialog window opens, but what do I select now?

Sorry, I’ve been using OS X for about a week now.

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com http://www.16BitSoft.com

On 07/13/2010 07:23 AM, Celso Dantas wrote:

Hey Jesse,

In Xcode 3.2.3 templates are gone (I think since version 3), so what
you need to do is:

Put the SDL framework (SDL.framework) in Xcode folder
(/library/frameworks) and what you need to do is: use one of the
xcode projects found in the ‘Template and Documenation’ dmg filet to
create your application.

That xcode project is a already working ‘game’. Just change what you
need to change, and have fun.

C!

On Tue, Jul 13, 2010 at 8:00 AM, Jesse Palser <SLNTHERO at aol.com <mailto:SLNTHERO at aol.com>> wrote:

 OS X - Xcode 3.2.3 - Setup SDL?

Hi,

I am trying to setup:
- SDL 1.2 + OpenGL
- SDL_image
- SDL_mixer
- SDL_ttf
under Mac OS X 10.6.2 using Xcode 3.2.3.

I've downloaded all the images for each SDL library
and followed directions to install to Xcode 3.2.3,
but when I create a new Xcode project, there are no SDL templates?

Can someone using SDL with Xcode 3.2.3 tell me how to make it work?
(or give web page that explains this process)

I've Googled for days, but still can not make it work!
Thanks!

Jesse
16BitSoft(R)
Video Game Design Studio
www.16BitSoft.com <http://www.16BitSoft.com>
_______________________________________________
SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,

I’ve gotten farther, but still am having problems with linking my SDL game.

Please look at this screenshot of link errors on Mac OS X Xcode:
http://16bitsoft.com/images/beta/LF2-Mac-OS-X-Errors.png

Hope someone can help me!------------------------
JeZ+Lee
JessePalser <AT> Gmail <DOT> com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

Your screenshot only shows the build warnings, not the errors.
The warnings are strange. It looks like you added source files to your
link stage?On 7/13/10, JeZ-l-Lee wrote:

Hi,

I’ve gotten farther, but still am having problems with linking my SDL game.

Please look at this screenshot of link errors on Mac OS X Xcode:
http://16bitsoft.com/images/beta/LF2-Mac-OS-X-Errors.png

Hope someone can help me!


JeZ+Lee
JessePalser <AT> Gmail <DOT> com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

Hi,

Thank you for responding to my post.

Here is the complete build log:---------------------------------------------------------------------------
http://pastebin.com/gkfHSDUZ

Any help would be appreciated!
Thanks!

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

On 07/14/2010 07:12 PM, Eric Wing wrote:

Your screenshot only shows the build warnings, not the errors.
The warnings are strange. It looks like you added source files to your
link stage?

On 7/13/10, JeZ-l-Lee wrote:

Hi,

I’ve gotten farther, but still am having problems with linking my SDL game.

Please look at this screenshot of link errors on Mac OS X Xcode:
http://16bitsoft.com/images/beta/LF2-Mac-OS-X-Errors.png

Hope someone can help me!


JeZ+Lee
JessePalser Gmail com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Okay, let’s ignore the warnings for now and come back to those later.
The errors mean that the linking process can’t find the symbols to the
external libraries like SDL_mixer. This probably means you forgot to
add these libraries to your project.

To do that, in the Groups & Files pane (left side of Xcode), look for
a group called Frameworks or External Frameworks or something similar.
Open up the group and sometimes you see sub groups like Linked
Frameworks.

If you are using a typical template, you will usually see
Cocoa.framework in there. If you are using our template, you will also
see SDL.framework.

You need to add the other SDL satellite frameworks you are using (e.g.
SDL_mixer, SDL_net, SDL_image, SDL_ttf).

Right click (or control-click) on that group containing the Cocoa and
SDL.frameworks, and select Add->Existing Frameworks. You should see a
list of lots of frameworks including the missing SDL satellite
frameworks assuming you already installed them to /Library/Frameworks.
If you don’t see them, you may need to try the Add Other button and
navigate directly to /Library/Frameworks.

Once you selected all the frameworks, you might be prompted which
targets to add (link) the frameworks to. Your application should be
checked. (I’ll assume you only have one application to build in your
Xcode project.)

Once you hit ok, you should be ready to build. Just build and
hopefully the link errors will go away.

-EricOn 7/15/10, Jesse Palser wrote:

Hi,

Thank you for responding to my post.

Here is the complete build log:

http://pastebin.com/gkfHSDUZ

Any help would be appreciated!
Thanks!

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

On 07/14/2010 07:12 PM, Eric Wing wrote:

Your screenshot only shows the build warnings, not the errors.
The warnings are strange. It looks like you added source files to your
link stage?

On 7/13/10, JeZ-l-Lee wrote:

Hi,

I’ve gotten farther, but still am having problems with linking my SDL
game.

Please look at this screenshot of link errors on Mac OS X Xcode:
http://16bitsoft.com/images/beta/LF2-Mac-OS-X-Errors.png

Hope someone can help me!


JeZ+Lee
JessePalser Gmail com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,

Thank you for your response!
I’ll give it another try over the weekend…

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.comOn 07/16/2010 05:41 AM, Eric Wing wrote:

Okay, let’s ignore the warnings for now and come back to those later.
The errors mean that the linking process can’t find the symbols to the
external libraries like SDL_mixer. This probably means you forgot to
add these libraries to your project.

To do that, in the Groups& Files pane (left side of Xcode), look for
a group called Frameworks or External Frameworks or something similar.
Open up the group and sometimes you see sub groups like Linked
Frameworks.

If you are using a typical template, you will usually see
Cocoa.framework in there. If you are using our template, you will also
see SDL.framework.

You need to add the other SDL satellite frameworks you are using (e.g.
SDL_mixer, SDL_net, SDL_image, SDL_ttf).

Right click (or control-click) on that group containing the Cocoa and
SDL.frameworks, and select Add->Existing Frameworks. You should see a
list of lots of frameworks including the missing SDL satellite
frameworks assuming you already installed them to /Library/Frameworks.
If you don’t see them, you may need to try the Add Other button and
navigate directly to /Library/Frameworks.

Once you selected all the frameworks, you might be prompted which
targets to add (link) the frameworks to. Your application should be
checked. (I’ll assume you only have one application to build in your
Xcode project.)

Once you hit ok, you should be ready to build. Just build and
hopefully the link errors will go away.

-Eric

On 7/15/10, Jesse Palser wrote:

Hi,

Thank you for responding to my post.

Here is the complete build log:

http://pastebin.com/gkfHSDUZ

Any help would be appreciated!
Thanks!

Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com

On 07/14/2010 07:12 PM, Eric Wing wrote:

Your screenshot only shows the build warnings, not the errors.
The warnings are strange. It looks like you added source files to your
link stage?

On 7/13/10, JeZ-l-Lee wrote:

Hi,

I’ve gotten farther, but still am having problems with linking my SDL
game.

Please look at this screenshot of link errors on Mac OS X Xcode:
http://16bitsoft.com/images/beta/LF2-Mac-OS-X-Errors.png

Hope someone can help me!


JeZ+Lee
JessePalser Gmail com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org