Install Irrlicht on OSX 10.7

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
gahl
Posts: 3
Joined: Mon Sep 05, 2011 5:29 pm

Install Irrlicht on OSX 10.7

Post by gahl »

I want to install Irrlicht on OSX 10.7 using xcode 4.1. The instructions given in the wiki guide does not seem to apply anymore, http://www.irrlicht3d.org/wiki/index.ph ... .Macintosh,

Does anyone know to do this and which steps I need to go through?

Best
gahl
Posts: 3
Joined: Mon Sep 05, 2011 5:29 pm

Re: Install Irrlicht on OSX 10.7

Post by gahl »

Ok, so no one has installed irrlicht?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Install Irrlicht on OSX 10.7

Post by hybrid »

I'd say it's more likely that no one has OSX 10.7
gahl
Posts: 3
Joined: Mon Sep 05, 2011 5:29 pm

Re: Install Irrlicht on OSX 10.7

Post by gahl »

When trying to build in Xcode 4.1, after setting building config. to release on libirrlicht I get the following error message.
"The scheme 'libIrrlicht.a' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode."
Please help really need to urgently get this installed...
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Install Irrlicht on OSX 10.7

Post by hybrid »

Well, you have all the code. Just set up a new project if the current one is not working. Or go back to XCode 3. Do you have the usual SDK, or the latest SVN/trunk code? There could be a better working XCode project (still ver 3, though, I guess). You could even try from command line there, but probably same problem.
Carnafex
Posts: 15
Joined: Wed Sep 05, 2007 1:32 am
Location: Sydney, Australia

Re: Install Irrlicht on OSX 10.7

Post by Carnafex »

Just upgraded to XCode 4 as well, and ran into the same issue.
The fix I found for the ""The scheme 'libIrrlicht.a' contains no buildables..." error is to select the MacOSX project, select libIrrlicht.a target, then change the following settings:

Base SDK: Latest Mac OS X (in my case Mac OS X 10.6)
Architectures: Standard (32/64 bit Intel)

Perhaps that will help? It managed to get me a little further, but now chucks a different error at least for me, where is throws a few "Use of undeclared identifer 'glBindFrameBufferARB'" in COpenGLExtensionHandler.h.
Seems to occur on all the ARB extension calls for some weird reason, and a few of the EXT calls as well. (Oh, this is from the latest SVN branch, not 1.7.2 base)
Edwart
Posts: 46
Joined: Fri Dec 30, 2005 12:29 pm

Re: Install Irrlicht on OSX 10.7

Post by Edwart »

have the same problem with the last nightly build.
Does anybody have a solution to fix it?

Thanx
Edwart
Ricket
Posts: 8
Joined: Thu Nov 06, 2008 7:43 pm
Location: North Carolina, USA

Re: Install Irrlicht on OSX 10.7

Post by Ricket »

I built Irrlicht 1.7.2 with XCode 4.1 on OS X 10.7.2. I think the things Carnafex mentioned were all I did. Haven't touched the nightly or SVN builds though. As for actually installing it, once it built successfully, I switched to the libIrrlicht.a target, did Product > Archive, and then went into the generated archive and grabbed the libIrrlicht.a and copied it into my desired lib location (/usr/local/lib/). This is theoretically a "Release" version of libIrrlicht.a. I feel like there's an easier way to do that, but I'm not very familiar with XCode; after this, I immediately closed XCode and went back to Eclipse+CMake.
Carnafex
Posts: 15
Joined: Wed Sep 05, 2007 1:32 am
Location: Sydney, Australia

Re: Install Irrlicht on OSX 10.7

Post by Carnafex »

Just to throw in a quick note, I didn't have any luck getting the SVN nightly build to work.
However, the base 1.7.2 I could get working though without too much trouble (just like Ricket said), like above but you need to add one more step:

1. Set Base SDK: Latest Mac OS X (in my case Mac OS X 10.6)
2. Set Architectures: Standard (32/64 bit Intel)
3. Set the compiler to LLVM GCC 4.2 in the Build Settings.

The apple one seems to love chucking a whole chunk of errors. Oh and I did manage to build a release / debug version, but I forgot the steps to do so :oops:, I'll give it another go and post up the results later.
Post Reply