为不支持的文件格式构建的SDL.framework

时间:2018-11-19 10:04:37

标签: xcode macos sdl

我正在将一个iOS项目(已经在工作)切换到Mac项目。 现在所有源代码都在编译,但是最后我有62个链接器错误。

    warning: ignoring file external/SDL/framework/SDL, file was built for unsupported file format ( 0x6C 0x69 0x6E 0x6B 0x20 0x56 0x65 0x72 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 ) which is not the architecture being linked (i386): external/SDL.framework/SDL

Undefined symbols for architecture i386:
"_SDL_CreateCursor", referenced from:
CursorManager::load() in CursorManager.o
"_SDL_Delay", referenced from:
Base::endFrame(bool) in base.o

列表不停地

有帮助吗?我从该站点下载了新的SDL 1.2.15库,但是仍然相同。

十六进制值是:“链接版本/ cu”,它是框架内提到的SDL文件的一部分 “链接版本/当前/ SDL”,但这只是一个警告。

0 个答案:

没有答案