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
Install Irrlicht on OSX 10.7
Re: Install Irrlicht on OSX 10.7
Ok, so no one has installed irrlicht?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Install Irrlicht on OSX 10.7
I'd say it's more likely that no one has OSX 10.7
Re: Install Irrlicht on OSX 10.7
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...
"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...
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Install Irrlicht on OSX 10.7
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.
Re: Install Irrlicht on OSX 10.7
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)
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)
Re: Install Irrlicht on OSX 10.7
have the same problem with the last nightly build.
Does anybody have a solution to fix it?
Thanx
Edwart
Does anybody have a solution to fix it?
Thanx
Edwart
Re: Install Irrlicht on OSX 10.7
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.
Re: Install Irrlicht on OSX 10.7
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 , I'll give it another go and post up the results later.
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 , I'll give it another go and post up the results later.