More problems building Ogre on OSX Lion [closed]
I'm trying to build ogre using the homebrew installation instructions and I'm getting an error similar, though not identical to this question. The solution there, and in the install guide in the wiki don't work.
Here's the relevant part of my build output:
Ld build/lib/RelWithDebInfo/Ogre.framework/Versions/1.7.3/Ogre normal x86_64
cd /Users/lazewatskyd/ros/visualization_common/ogre/build/ogre_src_v1-7-3
setenv MACOSX_DEPLOYMENT_TARGET 10.5
/Developer/usr/bin/clang++ -arch x86_64 -dynamiclib -isysroot /Developer/SDKs/MacOSX10.7.sdk -L/Users/lazewatskyd/ros/visualization_common/ogre/build/ogre_src_v1-7-3/build/lib/RelWithDebInfo -L/usr/local/lib/RelWithDebInfo -L/Developer/SDKs/MacOSX10.7.sdk/usr/local/lib -F/Users/lazewatskyd/ros/visualization_common/ogre/build/ogre_src_v1-7-3/build/lib/RelWithDebInfo -F/Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks -filelist /Users/lazewatskyd/ros/visualization_common/ogre/build/ogre_src_v1-7-3/build/OgreMain/OGRE.build/RelWithDebInfo/OgreMain.build/Objects-normal/x86_64/Ogre.LinkFileList -install_name "@rpath/Ogre.framework/Versions/1.7.3/Ogre" -mmacosx-version-min=10.5 -Wl,-rpath,/Users/lazewatskyd/ros/visualization_common/ogre/ogre/lib /usr/local/lib/libfreetype.dylib -framework Carbon -framework Cocoa /usr/local/lib/libboost_thread-mt.a /usr/local/lib/libboost_date_time-mt.a /usr/local/lib/libfreeimage.dylib /usr/local/lib/libzzip.dylib /usr/lib/libz.dylib -single_module -current_version 1.7.3 -o /Users/lazewatskyd/ros/visualization_common/ogre/build/ogre_src_v1-7-3/build/lib/RelWithDebInfo/Ogre.framework/Versions/1.7.3/Ogre
Command /Developer/usr/bin/clang++ failed with exit code 1
** BUILD FAILED **
The following build commands failed:
Ld build/lib/RelWithDebInfo/Ogre.framework/Versions/1.7.3/Ogre normal x86_64
(1 failure)
make[1]: *** [installed_osx] Error 65
BUILD FAILED: Plugin_CgProgramManager.dylib not created. Is nvidia-cg-toolkit installed correctly?
make: *** [ogre] Error 1
"setenv MACOSX_DEPLOYMENT_TARGET 10.5" seems like it probably isn't right, but I have no idea if that's related. Ideas?