0
xcode에서 C++을 컴파일하면이 "심볼"을 컴파일러에서 어떻게 인식합니까? 여기Love 2D Xcode 컴파일 : 정의되지 않은 Symbols for architecture
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/IL.framework/IL, missing required architecture x86_64 in file
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/Vorbis.framework/Vorbis, missing required architecture x86_64 in file
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/FreeType.framework/FreeType, missing required architecture x86_64 in file
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/Lua.framework/Lua, missing required architecture x86_64 in file
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/Ogg.framework/Ogg, missing required architecture x86_64 in file
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/physfs.framework/physfs, missing required architecture x86_64 in file
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/libmodplug.framework/libmodplug, missing required architecture x86_64 in file
ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/Library/Frameworks/mpg123.framework/mpg123, missing required architecture x86_64 in file
Undefined symbols for architecture x86_64:
"_luaL_newstate", referenced from:
_SDL_main in love-33750B9883D2854D.o
love::thread::Thread::ThreadThread::SDL_main() in Thread.o
"_luaL_openlibs", referenced from:
_SDL_main in love-33750B9883D2854D.o
love::thread::Thread::ThreadThread::SDL_main() in Thread.o
"_lua_createtable", referenced from:
_SDL_main in love-33750B9883D2854D.o
love::luax_register_module(lua_State*, love::WrappedModule const&) in runtime.o
love::luax_insistglobal(lua_State*, char const*) in runtime.o
love::luax_insist(lua_State*, int, char const*) in runtime.o
_auxiliar_newclass in auxiliar.o
_global_select in select.o
_make_assoc in select.o
...
"_lua_pushstring", referenced from:
_SDL_main in love-33750B9883D2854D.o
love::luax_register_type(lua_State*, char const*, luaL_Reg const*) in runtime.o
_auxiliar_newclass in auxiliar.o
_auxiliar_tostring in auxiliar.o
_auxiliar_add2group in auxiliar.o
_auxiliar_getgroupudata in auxiliar.o
_global_create in tcp.o
...
"_lua_rawseti", referenced from:
_SDL_main in love-33750B9883D2854D.o
love::luax_table_insert(lua_State*, int, int, int) in runtime.o
love::physics::box2d::Body::getFixtureList(lua_State*) const in Body-3A4BFE6EB3B8CF74.o
love::physics::box2d::World::getBodyList(lua_State*) const in World.o
love::physics::box2d::World::getJointList(lua_State*) const in World.o
love::physics::box2d::World::getContactList(lua_State*) const in World.o
_luaopen_love in love-9091511F51D4A764.o
...
(나는 그 후 행방 불명 프레임 워크에 대한 오류를주는 프레임 워크를 무시하는 느낌이) 오류를 (그리고 그것이 계속적으로 간다, 오류가 너무 비슷 난 그냥 샘플링) 내가 찾은
가 조금 보이는 이상한; 왜 당신의 SDK 안에'루아','오그'등이 있습니까? 나는 OSX 10.7 SDK 안에 그것들을 가지고 있지 않다. – trojanfoe
왜냐하면 그들은 love2d의 의존성이기 때문에 나는 프로젝트에 그것들을 가져 왔습니다. – ExceptionSlayer
그리고 (XCode?)는 프레임 워크를 SDK로 옮겼습니까? – trojanfoe