libMacOSX.a(png.o) has local relocation entries in non-writable section (__TEXT,__text)
Command /usr/bin/gcc-4.0 failed with exit code 1
The only difference in what I did and what the tutorial did was when I attempted to set my active configuration, there was nothing in the sub menu. I have attatched a screenshot. I used the source code from tutorial 1, with the neccessary adjustments alluded in the Mac tutorial on this msg board, hence it should not be a source issue. I have included in the picture the build results and also what I mean when I say I cannot set my active build configuration.
- Jeff Paddon
Undergraduate Research Assistant
Physics Department
St. Francis Xavier University
I had the same problem. The problem only appears on the Debug build. If you try the Release build, it works fine.
I tried to create a XCode project from scratch and the problem disappeared from the Debug build also. I couldn't figure out what the problem was in the first place. One thing I did differently on this project was to include all the external dependencies (libpng, libjpeg, zlib) in the static library form, rather than building from source together with Irrlicht. I don't think that this did the trick because I have tried that on the original XCode project and it didn't work.