cmontiel
Member
|
[RESOLVED][iOS] Xcode 4.3.2 undefined symbols.
I'm trying to port the MMO example from VS to Xcode for iPad.
Copying the files into Tutorial project it compiles fine. But i did a new project with identical configuration parameters and I get this error.
Code:
Undefined symbols for architecture armv7:
"EE::TimeClass::curTime() const", referenced from:
ClientSendTimeTest(EE::Connection&) in Client Server.o
Traffic::update(long long, long long)in Client Server.o
ClientSendInitConnection(EE::Connection&) in Client Server.o
"EE::Mouse::speed() const", referenced from:
OptionsClass::toGui() in Options.o
"EE::Image::drawFs(EE::Color const&, EE::Color const&, EE::FIT_MODE, float, float, EE::Vec2, bool) const", referenced from:
BackgroundLoader::customDraw() in Background Loader.o
"EE::_Cache::_name(void const*, wchar_t const*) const", referenced from:
__ZNK2EE12CacheCountedINS_4Game9ObjParamsELZNS2_5_ObjsEEE4nameERKNS_11CacheElmPtrIS2_LZNS2_5_ObjsEEEEPKw in Item.o
EE::Cache<EE::Animation>::name(EE::Animation const*, wchar_t const*) constin Player.o
__ZNK2EE11CacheElmPtrINS_4Game9ObjParamsELZNS2_5_ObjsEEE4nameEPKw in Chr Create Request.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
The strange thing is that if I type for example Time.curTime() in the tutorial it works, but not in my new project.
Some advice?
IRC: irc.freenode.net
Channel: #Esenthel
(This post was last modified: 04-05-2012 12:06 PM by cmontiel.)
|
|
04-04-2012 07:55 PM |
|
Esenthel
Administrator
|
RE: [iOS] Xcode 4.3.2 undefined symbols.
If you did new project it means you haven't set everything correct.
Looks like EsenthelEngine.a (lib) is not included, please just copy the "Tutorials" project into some other disk location and rename it.
|
|
04-05-2012 03:08 AM |
|
cmontiel
Member
|
RE: [iOS] Xcode 4.3.2 undefined symbols.
Both EsenthelEngine.a are included.
I will use the tutorial project...
IRC: irc.freenode.net
Channel: #Esenthel
|
|
04-05-2012 03:48 AM |
|
cmontiel
Member
|
RE: [SOLVED][iOS] Xcode 4.3.2 undefined symbols.
Solved, I did change the name of the headers folder, I forgot to change the path in stdafx.h from "EsenthelEngine/EsenthelEngine.h" to "Headers/EsenthelEngine.h".
That was causing the undefined symbols errors.
IRC: irc.freenode.net
Channel: #Esenthel
|
|
04-05-2012 12:02 PM |
|