|
|
| Using XCode and C++ |
|
Ethan Trevino
Member #6,740
December 2005
|
Hey all, This provides me with the following questions: Is there anything special I need to do in XCode to add the library path to a C++ project? I'm sorry, I have more experience programming on a PC. Thanks. |
|
Ultio
Member #1,336
April 2001
|
Try following these directions. While they're slightly old, they should still hold: http://alleg.sourceforge.net/onlinedocs/en/build/macosx.html. There are instructions for building a template that will create a default XCode project that should compile right off the bat. One thing to note: the last time I did a build using this setup the template it created catered to an older version of XCode. That means that if you have the latest version, even after creating the default Allegro application this template process provides, you'll have to upgrade the actual project to native. There's an option in the Project menu in XCode to do so. --- |
|
relay01
Member #6,988
March 2006
|
I'm not sure about how to use the xcode environment but I got it to work on tiger using the compiler through the terminal app... let me try and find my old thread and send it to you... searching through threads... Damn... couldn't find it... _____________________________________ |
|
Thomas Harte
Member #33
April 2000
|
Quote: One thing to note: the last time I did a build using this setup the template it created catered to an older version of XCode. It's worse than that - it's a Project Builder template! Someone probably needs to update that, but I still haven't been willing to install Allegro on my new Intel Mac because it insists on dumping stuff into /usr and other such UNIX places that I'll very quickly forget about. Which is not particularly desirable for me personally. Off topic slightly, but does anybody have, or know of a link to, an already built univeral binary Allegro framework? Quote: my C++ example dies with "Sigbus Error 10." I believe that XCode cannot find the header file If Xcode couldn't find your header file then it wouldn't be able to compile. If your program exits with sigbus error 10 then it is crashing so something is probably at fault with your code, but possibly at fault with Allegro. Can you post the code you're using? [My site] [Tetrominoes] |
|
|