Collect2: ld 返回 1 退出状态
Ld "build/Debug-iphonesimulator/Cloudmade Map.app/Cloudmade Map" normal i386 cd /Users/MPDEV/Documents/cloudmade2 setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/MPDEV/Documents/cloudmade2/build/Debug-iphonesimulator -L/Users/MPDEV/Documents/cloudmade2/libs/Proj4 -L/Users/MPDEV/Documents/cloudmade2/libs/CloudMade -L/Users/MPDEV/Documents/cloudmade2/libs/route-me -F/Users/MPDEV/Documents/cloudmade2/build/Debug-iphonesimulator -filelist "/Users/MPDEV/Documents/cloudmade2/build/cloudmade2.build/Debug-iphonesimulator/cloudmade2.build/Objects-normal/i386/Cloudmade Map.LinkFileList" -mmacosx-version-min=10.6 -lMapView -lProj4 -lCloudMadeApi -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -lsqlite3 -framework QuartzCore -lstdc++.6 -o "/Users/MPDEV/Documents/cloudmade2/build/Debug-iphonesimulator/Cloudmade Map.app/Cloudmade Map"
未定义的符号:
"_OBJC_CLASS_$_RMDBMapSource", referenced from: objc-class-ref-to-RMDBMapSource in cloudmade2ViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status
我该如何解决这个问题?我尝试环顾四周,但没有找到如何解决该问题的答案。
Ld "build/Debug-iphonesimulator/Cloudmade Map.app/Cloudmade Map" normal i386 cd /Users/MPDEV/Documents/cloudmade2 setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/MPDEV/Documents/cloudmade2/build/Debug-iphonesimulator -L/Users/MPDEV/Documents/cloudmade2/libs/Proj4 -L/Users/MPDEV/Documents/cloudmade2/libs/CloudMade -L/Users/MPDEV/Documents/cloudmade2/libs/route-me -F/Users/MPDEV/Documents/cloudmade2/build/Debug-iphonesimulator -filelist "/Users/MPDEV/Documents/cloudmade2/build/cloudmade2.build/Debug-iphonesimulator/cloudmade2.build/Objects-normal/i386/Cloudmade Map.LinkFileList" -mmacosx-version-min=10.6 -lMapView -lProj4 -lCloudMadeApi -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -lsqlite3 -framework QuartzCore -lstdc++.6 -o "/Users/MPDEV/Documents/cloudmade2/build/Debug-iphonesimulator/Cloudmade Map.app/Cloudmade Map"
Undefined symbols:
"_OBJC_CLASS_$_RMDBMapSource", referenced from: objc-class-ref-to-RMDBMapSource in cloudmade2ViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status
How do i solve this problem? I tried looking around but found no answer how to solve it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的目标不包含用于编译源的
RMDBMapSource.m
以及可能更多的文件。检查您是否已包含从route-me 项目到目标的所有文件。Your target does not include
RMDBMapSource.m
for compile sources, and probably more files. Check that your have included all files from route-me project to your target.