Linking Error on OSX
Any thoughts on this? I've added the headers and link to libovr.a, not sure if this is something missing from the library or I need to rebuild the SDK locally or what...
Error:
Linking command from Xcode:
Error:
Undefined symbols for architecture x86_64:
"typeinfo for OVR::Allocator", referenced from:
typeinfo for OVR::Allocator_SingletonSupport<OVR::DefaultAllocator> in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Linking command from Xcode:
Ld /Users/hesh/Library/Developer/Xcode/DerivedData/IbexMac-csekgxtfsfhfishdfaqcsplitscj/Build/Products/Debug/IbexMac.app/Contents/MacOS/IbexMac normal x86_64
cd /Users/hesh/Documents/ibex
setenv MACOSX_DEPLOYMENT_TARGET 10.8
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/hesh/Library/Developer/Xcode/DerivedData/IbexMac-csekgxtfsfhfishdfaqcsplitscj/Build/Products/Debug -L/usr/local/lib -L/Users/hesh/Documents/ibex/../OculusSDK/LibOVR/Lib/MacOS/Release -F/Users/hesh/Library/Developer/Xcode/DerivedData/IbexMac-csekgxtfsfhfishdfaqcsplitscj/Build/Products/Debug -F/Library/Frameworks -filelist /Users/hesh/Library/Developer/Xcode/DerivedData/IbexMac-csekgxtfsfhfishdfaqcsplitscj/Build/Intermediates/IbexMac.build/Debug/IbexMacRelease.build/Objects-normal/x86_64/IbexMac.LinkFileList -mmacosx-version-min=10.8 -fobjc-arc -fobjc-link-runtime -stdlib=libc++ -framework IOKit -framework BulletCollision -framework BulletDynamics -framework BulletMultiThreaded -framework BulletSoftBody -framework BulletSoftBodySolvers_OpenCL_Mini -framework LinearMath -framework MiniCL -lsixense_utils_x64 -lsixense_x64 -framework CoreFoundation -framework ApplicationServices -framework Carbon -framework QuartzCore -framework CoreVideo -framework GLUT -framework OpenGL -framework Cocoa -lovr -o /Users/hesh/Library/Developer/Xcode/DerivedData/IbexMac-csekgxtfsfhfishdfaqcsplitscj/Build/Products/Debug/IbexMac.app/Contents/MacOS/IbexMac
