剛創建的專案添加到Submile Text2里面去點main.lua 檔案出現這個,求高手解答一下,謝謝了!
ld: warning: ignoring file /Users/dun/Desktop/SpriteBattle/helloWrold/src/main.lua, file was built for unsupported file format ( 0x0A 0x66 0x75 0x6E 0x63 0x74 0x69 0x6F 0x6E 0x20 0x5F 0x5F 0x47 0x5F 0x5F 0x54 ) which is not the architecture being linked (x86_64): /Users/dun/Desktop/SpriteBattle/helloWrold/src/main.lua
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[Finished in 0.5s with exit code 1]
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/75749.html
標籤:Cocos2d-x
上一篇:cocos2d-js 幀影片
