Introjucer build error


Hello, bit of a newb here. when i try to build introjucer with Xcode 4.2 on osx 10.6.8 i get this error:

/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:9:9: fatal error: 'OpenGL/gl.h' file not found [2]

anybody can help me with this? thanks!


The release build compiles fine here "out of the box" with Mac OS X 10.6.8 and Xcode 3.2.6 (last a13eb80).




One of your OSX header files is failing to find another system file. Doesn't look like this has anything to do with juce, more likely something screwed up in your SDK installation.


Ok thanks for replying. I found out the problem: i have both 10.5 and 10.6 SDK installed, i had to set SDK in build setting tab explicit to 10.6 (not default os setting). everything works now, thanks!



Strange it's OK for me with "Base SDK" set to "Current Mac OS". Probably something is different between Xcode 4 and Xcode 3.