I can't get v 1.1 to compile under OSX. The changes list says that OSX was merged with the 1.1 SDK, so I guess we will not see any special OSX SDK for 1.1.
I'm compiling using the included Xcode project. Using Xcode 2.4. First I get some errors in CImageLoaderPCX.c because a lot of variables are not declared in this scope. I also get an error because CStaticMeshOBJ files are missing in 1.1. Then I get errors in COpenGLSLMaterialRenderer.cpp because of invalid conversion. There seems to be multiple issues.
My question: have anyone managed to compile 1.1 in OS X? If not, is anyone working on a fix for this?
MacOSX Irrlicht 1.1 not compiling
Thanks for this info. Thanks also to borky89 for his advice. Unfortunately I have never been able to figure out how to use SVN. Hopefully someone will release a working 1.1 SDK download soon.hybrid wrote:Due to a lag in the updates of the OSX part the 1.1 SDK version was not compileable. Please use the SVN version of Irrlicht which should be ready to use.
By the way, I'm trying to port Darkwynd, our CRPG, to Irrlicht, because it looks like such a promising engine. I have it up and running in irr 1.0, but the support for 3D model file formats seems a bit lacking. Most of my models are B3D and 3DS. They don't load, although 3DS should be supported already. That is why I'm interested in 1.1.
First: Install svn
Unfortunately there is only 1.3.1 prebuilt, but you could install the latest version with fink.
Second: Type into the terminal:
Georg
Unfortunately there is only 1.3.1 prebuilt, but you could install the latest version with fink.
Second: Type into the terminal:
Code: Select all
svn checkout https://svn.sourceforge.net/svnroot/irrlicht ~/Desktop/irrlicht
borky89 thanks a million! That was just the kind of point in the right direction that I needed to get going.
I encountered some problems that I solved along the way and just in case someone else is banging thier head agaist the same problems instead of writing code here are some things you might want to know.
Downloading and installing svn is very easy, just double click the pkg file. Then type this in the Terminal:
If that test fails ("command not found") you might need to add "/usr/local/bin" to your executable search path. Type this in the Terminal:
However, chances are that this will not work either, i.e. you will get another "command not found". It turns out that at least on my machine bash was not the default shell. I had to open Preferences and change it to "/bin/bash" before I could add the PATH. There is also the option of typing the full filepath to svn each time, but that is just inconvenient.
Next I had some problem with svn complaining "Error validating server certificate". Then in the middle of fetching files I got this error:
What I did was just retype the command and it seems like svn started to download where it left off. This happened twice! Then after some trouble I had Checked out revision 174.
Jonas
I encountered some problems that I solved along the way and just in case someone else is banging thier head agaist the same problems instead of writing code here are some things you might want to know.
Downloading and installing svn is very easy, just double click the pkg file. Then type this in the Terminal:
Code: Select all
svn cat http://svn.collab.net/repos/svn/trunk/README
Code: Select all
PATH="/usr/local/bin:/usr/local/subversion/bin:$PATH"
export PATH
Next I had some problem with svn complaining "Error validating server certificate". Then in the middle of fetching files I got this error:
Code: Select all
subversion/libsvn_ra_dav/util.c:826: (apr_err=175002)
svn: REPORT request failed on '/svnroot/irrlicht/!svn/vcc/default'
subversion/libsvn_ra_dav/util.c:296: (apr_err=175002)
svn: REPORT of '/svnroot/irrlicht/!svn/vcc/default': Could not read response body: Secure connection truncated (https://svn.sourceforge.net)
Jonas
Thanks a lot for this great tutorial. I think a lot of people will need it.
Georg
A friend of mine has exactly the same problem. I don't know if it has to do with sourceforge or svn. Which version are you using?jonasled wrote:Next I had some problem with svn complaining "Error validating server certificate". Then in the middle of fetching files I got this error:What I did was just retype the command and it seems like svn started to download where it left off. This happened twice! Then after some trouble I had Checked out revision 174.Code: Select all
subversion/libsvn_ra_dav/util.c:826: (apr_err=175002) svn: REPORT request failed on '/svnroot/irrlicht/!svn/vcc/default' subversion/libsvn_ra_dav/util.c:296: (apr_err=175002) svn: REPORT of '/svnroot/irrlicht/!svn/vcc/default': Could not read response body: Secure connection truncated (https://svn.sourceforge.net)
Jonas
Georg