Page 1 of 1

Xcode build

PostPosted: Sun Jul 01, 2012 9:06 pm
by Fordcars
Hey!

I just got mecurial working! Anyway, I opened the Xcode file and hit build just to test it. 12 errors so it didn't build. What do I do now?

Re: Xcode build

PostPosted: Sun Jul 01, 2012 10:50 pm
by kaen
Welcome to the wonderful world of build errors!

Step 1:
Post the error messages.

Re: Xcode build

PostPosted: Mon Jul 02, 2012 5:58 am
by Fordcars
Ok!
1. "Zap::Zone::Zone()", referenced from:
Zap::EditorUserInterface::populateDock() in UIEditor.o
Zap::ClientGame::processPseudoItem(int, char const**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Zap::GridDatabase*)in ClientGame.o
Zap::ServerGame::processPseudoItem(int, char const**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Zap::GridDatabase*)in ServerGame.o

2. "Zap::Zone::Zone()", referenced from:
Zap::GoalZone::GoalZone()in goalZone.o
Zap::GoalZone::GoalZone()in goalZone.o
Zap::NexusObject::NexusObject()in NexusGame.o
Zap::NexusObject::NexusObject()in NexusGame.o
Zap::LoadoutZone::LoadoutZone()in loadoutZone.o
Zap::LoadoutZone::LoadoutZone()in loadoutZone.o

3. "Zap::Zone::~Zone()", referenced from:
Zap::GoalZone::GoalZone()in goalZone.o
Zap::GoalZone::GoalZone()in goalZone.o
Zap::GoalZone::~GoalZone()in goalZone.o
Zap::GoalZone::~GoalZone()in goalZone.o
Zap::GoalZone::~GoalZone()in goalZone.o
Zap::GoalZone::~GoalZone()in goalZone.o
Zap::GoalZone::~GoalZone()in goalZone.o
Zap::GoalZone::~GoalZone()in goalZone.o
Zap::NexusObject::~NexusObject()in NexusGame.o
Zap::NexusObject::~NexusObject()in NexusGame.o
Zap::NexusObject::~NexusObject()in NexusGame.o
Zap::LoadoutZone::LoadoutZone()in loadoutZone.o
Zap::LoadoutZone::LoadoutZone()in loadoutZone.o
Zap::LoadoutZone::~LoadoutZone()in loadoutZone.o
Zap::LoadoutZone::~LoadoutZone()in loadoutZone.o
Zap::LoadoutZone::~LoadoutZone()in loadoutZone.o

4. "Zap::Zone::getRenderSortValue()", referenced from:
vtable for Zap::GoalZonein goalZone.o
vtable for Zap::NexusObjectin NexusGame.o
vtable for Zap::LoadoutZonein loadoutZone.o

Re: Xcode build

PostPosted: Mon Jul 02, 2012 5:59 am
by Fordcars
5. "Zap::Zone::processArguments(int, char const**, Zap::Game*)", referenced from:
Zap::GoalZone::processArguments(int, char const**, Zap::Game*)in goalZone.o
Zap::NexusObject::processArguments(int, char const**, Zap::Game*)in NexusGame.o
Zap::LoadoutZone::processArguments(int, char const**, Zap::Game*)in loadoutZone.o

6. "Zap::Zone::luaClassName", referenced from:
__ZN3Zap4Zone12luaClassNameE$non_lazy_ptr in goalZone.o
__ZN3Zap4Zone12luaClassNameE$non_lazy_ptr in NexusGame.o
__ZN3Zap4Zone12luaClassNameE$non_lazy_ptr in loadoutZone.o


7. "typeinfo for Zap::Zone", referenced from:
typeinfo for Zap::GoalZonein goalZone.o
typeinfo for Zap::NexusObjectin NexusGame.o
typeinfo for Zap::LoadoutZonein loadoutZone.o

8. "vtable for Zap::Zone", referenced from:
__ZTVN3Zap4ZoneE$non_lazy_ptr in goalZone.o
__ZTVN3Zap4ZoneE$non_lazy_ptr in NexusGame.o
__ZTVN3Zap4ZoneE$non_lazy_ptr in loadoutZone.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Re: Xcode build

PostPosted: Mon Jul 02, 2012 6:07 am
by Fordcars
9. Copying /Users/geeko/temp/hg/bitfighter/lib/SDL2.framework
/Users/geeko/temp/hg/bitfighter/lib: No such file or directory

10. Command /developer/Library/PrivateFrameworks/DecToolsCore.framework/Resources/pbxcpf failed with exit code 1 X4

Re: Xcode build

PostPosted: Mon Jul 02, 2012 6:09 am
by Fordcars
Oh and by the way, does anybody know if Bitfighter uses glMatrixMode(GL_PROJECTION)and where it is? Thanks.

Re: Xcode build

PostPosted: Mon Jul 02, 2012 7:05 am
by raptor
OK,

I think I fixed all the problems. Do another 'hg pull -u' from the main repo and try to recompile.

Re: Xcode build

PostPosted: Mon Jul 02, 2012 7:23 am
by Fordcars
Hmmm... I have the bitfighter, but mercurial says it can't find the repository. (.hg not found!)

Re: Xcode build

PostPosted: Mon Jul 02, 2012 7:41 am
by Fordcars
Never mind... IT'S A MIRACLE! I actually got Mercurial to work! I just did hg pull -u. Going to check it out.

Re: Xcode build

PostPosted: Mon Jul 02, 2012 7:53 am
by Fordcars
Yes! It works! Great job raptor! This is great!