专为存档而建,不是链接的架构(arm64)

时间:2019-06-19 09:32:49

标签: c++ ios xcode sfml

我尝试按照说明进行所有操作: https://github.com/SFML/SFML/wiki/Tutorial:-SFML-for-iOS

第一个问题:编译项目Cmake库后的Xcode不在文件夹中创建它们

/Users/[username]/Documents/Libraries/SFML/build/ios/
only in:
/Users/[username]/Documents/Libraries/SFML/build/ios/Debug/

第二个问题: 使用SFML iOS项目进行编译时收到警告/错误:

ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-main-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-main-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-audio-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-audio-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-system-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-system-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-window-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-window-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-network-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-network-s-d.a
ld: warning: ignoring file /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-graphics-s-d.a, file was built for archive which is not the architecture being linked (arm64): /Users/[my_username]/Documents/Libraries/SFML/build/ios/lib/Debug/libsfml-graphics-s-d.a

Could anyone send me your compiled libraries under iOS, or write how could I solve my problem?

欢迎任何建议

0 个答案:

没有答案