Hi,
After the upgrade to OS X 10.10 Yosemite Irrlicht 1.8.1 does not build. I am building it using irrlicht-1.8.1/source/Irrlicht/MacOSX/MacOSX.xcodeproj. I am using Xcode 6.1.
It fails with the following error:
irrlicht-1.8.1/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm:721:27: Cannot initialize a parameter of type 'id<NSWindowDelegate>' with an rvalue of type 'id<NSFileManagerDelegate>'
If I build against the 10.9 base SDK it works.
Please let me know if you need more details.
Thanks,
Nicklas
Building Irrlicht 1.8.1 on OS X 10.10 Yosemite fails
Re: Building Irrlicht 1.8.1 on OS X 10.10 Yosemite fails
Thanks for a report. I'll fix this bug.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: Building Irrlicht 1.8.1 on OS X 10.10 Yosemite fails
I know I'm a little late, but my google led me to this first result, so I'm posting.
I just cast the return from [NSApp delegate] to id<NSWindowDelegate>, then everything compiles and archives right and the split screen demo ran fine.
I used the following command to replace the media path throughout the source:
And in CIrrDeviceMacOSX.mm, modify the line (around 721), to the following.
I just cast the return from [NSApp delegate] to id<NSWindowDelegate>, then everything compiles and archives right and the split screen demo ran fine.
I used the following command to replace the media path throughout the source:
Code: Select all
for i in `grep --include "*.cpp" -lr "../../media" *`; do echo $i; cp "$i" "$i.bak" && sed 's:[.][.]/[.][.]/media:/Users/schang/gdrive/Projects/TestingGrounds/irrlicht-1.8.1/media:g' "$i.bak" > "$i"; done;
Code: Select all
[Window setDelegate:(id<NSWindowDelegate>)[NSApp delegate]];
Re: Building Irrlicht 1.8.1 on OS X 10.10 Yosemite fails
Thanks, fix is available in v1.8 branch and should be merged with trunk soon.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: Building Irrlicht 1.8.1 on OS X 10.10 Yosemite fails
Merged with trunk now. OSX might still have trouble in trunk - I've added recently new files (b3dmeshwriter) which are probably not yet in the OSX project files.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Building Irrlicht 1.8.1 on OS X 10.10 Yosemite fails
OK, thanks Michael, I'll fix that, however I still don't have enough time for larger commits than small fixes.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes