Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

FLARE, Polymorphable, and XCode

makrohn
Tuesday, July 24, 2012 - 09:34
makrohn's picture

So I've been doing all of my polymorphable development in Ubuntu (on a dedicated box at work, or on a VM on a Mac host at home).  I want to build a polymorphable.app for my brother to test (he's using Lion), but XCode is thwarting me left and right.

I know I have all of the SDL_image/ttf/mixer in my /Library/Frameworks, and I added the SDLmain.h and SDLmain.m files to my XCode project (just cloned from the polymorphable repo).  I am ready to beat my computer up, though - XCode keeps giving me architecture errors and sourcode.c.h not found errors.  I tried following the steps here, but sometimes they weren't clear or seemed outdated.  http://www.meandmark.com/sdlopenglpart2.html

Any help would be appreciated.  I'd love an .xcodeproj from FLARE to study, or I'll supply whatever screenshots you want.  I'd be even more indebted if you could just throw a polymorphable.app my way.

Thanks for anything!

  • Log in or register to post comments
Clint Bellanger
joined 15 years 10 months ago
Tuesday, July 24, 2012 - 10:52
Clint Bellanger's picture

I may have time tonight to hop onto my OSX machine and send you my project file. I'm still on Snow Leopard and XCode 3 though.

  • Log in or register to post comments
makrohn
joined 13 years 2 months ago
Tuesday, July 24, 2012 - 10:58
makrohn's picture

I also forgot to mention - the architecture errors seem to come even from using cmake or g++, since SDL_gfxBlitFunc was added.  The error mentions that file specifically.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 10 months ago
Tuesday, July 24, 2012 - 11:00
Clint Bellanger's picture

Weird. Maybe try renaming that file from .c to .cpp to see if you can trick OSX's compiler into accepting it.

  • Log in or register to post comments
makrohn
joined 13 years 2 months ago
Tuesday, July 24, 2012 - 11:19
makrohn's picture

that did it.  I even made sure I had src/*.c included and I got the architecture error - switched to .cpp, smooth sailing.

Smooth sailing with really WEIRD colors, but smoother sailing.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 10 months ago
Tuesday, July 24, 2012 - 11:23
Clint Bellanger's picture

I had weird colors too. I did a color calibration on OSX and disabled the gamma option on Flare and it helped.

  • Log in or register to post comments