Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Error when compiling xcode

in Questions Posts: 13

ld: warning: ignoring file /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libcodea.a, file was built for unsupported file format ( 0x3C 0x21 0x44 0x4F 0x43 0x54 0x59 0x50 0x45 0x20 0x48 0x54 0x4D 0x4C 0x20 0x50 ) which is not the architecture being linked (arm64): /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libcodea.a
ld: warning: ignoring file/Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libtools.a, file was built for unsupported file format ( 0x3C 0x21 0x44 0x4F 0x43 0x54 0x59 0x50 0x45 0x20 0x48 0x54 0x4D 0x4C 0x20 0x50 ) which is not the architecture being linked (arm64): /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libtools.a

Then the following errors:
Undefined symbols for architecture arm64:
"lua_setglobal", referenced from:
-[iAdsAddon codea:didCreateLuaState:] in iAdsAddon.o
"_lua_pushcclosure", referenced from:
-[iAdsAddon codea:didCreateLuaState:] in iAdsAddon.o
"_luaL_checknumber", referenced from:
_gamecenter_submitScore in GameCenterAddon.o
_gamecenter_submitAchievement in GameCenterAddon.o
"_luaL_checklstring", referenced from:
_gamecenter_showLeaderboards in GameCenterAddon.o
_gamecenter_submitScore in GameCenterAddon.o
_gamecenter_submitAchievement in GameCenterAddon.o
"_lua_settop", referenced from:
-[GameCenterAddon codea:didCreateLuaState:] in GameCenterAddon.o
"_lua_createtable", referenced from:
_luaopen_gamecenter in GameCenterAddon.o
"_OBJC_CLASS$_StandaloneCodeaViewController", referenced from:
objc-class-ref in AppDelegate.o
"_lua_gettop", referenced from:
_gamecenter_showLeaderboards in GameCenterAddon.o
_gamecenter_submitScore in GameCenterAddon.o
_gamecenter_submitAchievement in GameCenterAddon.o
"_lua_pushboolean", referenced from:
_gamecenter_enabled in GameCenterAddon.o
"_luaL_setfuncs", referenced from:
_luaopen_gamecenter in GameCenterAddon.o
"_luaL_requiref", referenced from:
-[GameCenterAddon codea:didCreateLuaState:] in GameCenterAddon.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone help??? Thanks in advance

Comments

  • Posts: 144

    @aamato I've been aware of this issue, I just haven't had the time to work with xCode, I'll probably have this fixed in about a week, if I find the time, has anyone else found a solution to this issue. It might be an issue with @Simeon for Codea export.

Sign In or Register to comment.