Mac 10.6.8, Xcode 3.2.6, OF 0071 Link error with any examples

Hi, I try to run any example ,but only get link errors!
there are 30 warning and 25 errors.Even for empty project, please help me!thank a lot!

Build emptyExample of project emptyExample with configuration Debug

ld: warning: in /Users/Mac/Desktop/of_0071_osx_release/libs/glut/lib/osx/GLUT.framework/GLUT, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, int> > >::allocate(unsigned long, void const*)has different visibility (hidden) in /Users/Mac/Desktop/of_0071_osx_release/libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a(Exif.o-i386) and (default) in /Users/Mac/Desktop/of_0071_osx_release/libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a(ofTexture.o)
ld: warning: std::_Rb_tree<unsigned int, std::pair<unsigned int const, int>, std::_Select1st<std::pair<unsigned int const, int> >, std::less, std::allocator<std::pair<unsigned int const, int> > >::_M_erase(std::_Rb_tree_node<std::pair<unsigned int const, int> >*)has different visibility (hidden) in /Users/Mac/Desktop/of_0071_osx_release/libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a(Exif.o-i386) and (default) in /Users/Mac/Desktop/of_0071_osx_release/libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a(ofTexture.o)
ld: warning: std::_Rb_tree<unsigned int, std::pair<unsigned int const, int>, std::_Select1st<std::pair<unsigned int const, int> >, std::less, std::allocator<std::pair<unsigned int const, int> > >::_M_create_node(std::pair<unsigned int const, int> const&)has different visibility (hidden) in /Users/Mac/Desktop/of_0071_osx_release/libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a(Exif.o-i386) and (default) in /Users/Mac/Desktop/of_0071_osx_release/libs/openFrameworksCompiled/lib/osx/openFrameworksDebug.a(ofTexture.o)

Undefined symbols:
“_glutMouseFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutGameModeGet”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutInit”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutSpecialFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutSpecialUpFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutGameModeString”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutEnterGameMode”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutPositionWindow”, referenced from:
ofAppGlutWindow::setWindowPosition(int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutSetWindowTitle”, referenced from:
ofAppGlutWindow::setWindowTitle(std::basic_string<char, std::char_traits, std::allocator >)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutIdleFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutReshapeFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutCreateWindow”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutPostRedisplay”, referenced from:
ofAppGlutWindow::idle_cb() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutInitDisplayMode”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutDragEventFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutInitDisplayString”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutSetCursor”, referenced from:
ofAppGlutWindow::showCursor() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::hideCursor() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutEntryFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutPassiveMotionFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutSwapBuffers”, referenced from:
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutGet”, referenced from:
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::getScreenSize() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::getScreenSize() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::getWindowPosition() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::getWindowPosition() in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutKeyboardUpFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutMotionFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutReshapeWindow”, referenced from:
ofAppGlutWindow::setWindowShape(int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutInitWindowSize”, referenced from:
ofAppGlutWindow::setupOpenGL(int, int, int)in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutDisplayFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutKeyboardFunc”, referenced from:
ofAppGlutWindow::initializeWindow() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutFullScreen”, referenced from:
ofAppGlutWindow::display() in openFrameworksDebug.a(ofAppGlutWindow.o)
“_glutMainLoop”, referenced from:
ofAppGlutWindow::runAppViaInfiniteLoop(ofBaseApp*) in openFrameworksDebug.a(ofAppGlutWindow.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

PhaseScriptExecution “Run Script” build/emptyExample.build/Debug/emptyExample.build/Script-E4B6FFFD0C3F9AB9008CF71C.sh
cd /Users/Mac/Desktop/of_0071_osx_release/examples/empty/emptyExample
setenv ACTION build
setenv ALTERNATE_GROUP staff
setenv ALTERNATE_MODE u+w,go-w,a+rX
setenv ALTERNATE_OWNER Mac
setenv ALWAYS_SEARCH_USER_PATHS YES

Hi there, it sounds like you’re trying to build for 64 bit. can you make sure that the target SDK is set to OSX 10.6 or OSX 10.5?