Did you use any kind of template for the project?
There are templates for OpenGL projects, which would then require only adding the Glew stuff.
Anyway… In XCode:
In the Targets section, down on the left hand side, take a look at the folders inside that. It should have your project listed there with various subfolders…
You will have a ‘Compile Sources’ folder, and maybe a ‘Copy Bundle Resources’ folder.
You should also have at least a ‘Link Binary With Libraries’ containing the OpenGL framework, and the Glew lib.
You can make those folders if they are not there by right clicking and then grab copies of Glew and OpenGL from the source area above and drop them in there.
And unless you have glew somewhere like /usr/lib then you’ll also need to put Glew into the ‘Copy Frameworks into .app’ subfolder.
Also (not related to this - but it might bite you later) do check you have the right version of Glew, based on your machine PPC / Intel or better still : Universal.
Thanks for your reply,All the settings are given properly,But still having same errors.In debug configuration it build successfully,problem is with only in release configuration.
If it builds correctly in debug, a) make sure you’ve turned ZeroLink off if you’re using Xcode 2.5 or earlier, and b) try copying your target settings from the “Debug” configuration to the “Release” configuration.