About Store Forum Documentation Contact



Post Reply 
[MMO] Compile on mac
Author Message
mystara Offline
Member

Post: #1
[MMO] Compile on mac
Hi,

I'm trying to compile the MMO server under XCode on mac. But I keep getting two errors that I cannot seem to resolve:

1) Line 122 of Client.cpp:
'update' is not a member of 'EE::Net::Obj'

2) Line 27 of Net Chr.cpp:27:
no matching function for call to 'NetChr::setWorld(EE::Net::World*&, EE::Vec)'

I notice that setWorld is defined by Net::Obj in Net Object.h though.
03-18-2011 09:37 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: [MMO] Compile on mac
Thank you for reporting the issues.
I just checked them, they are caused by GCC compiler.

For first problem:
replace __super::update with ConnectionServer::Client::update

For second problem:
replace
setWorld(world, ..)
with:
Vec pos=waypoint->points[0].pos+Vec(0,0.5f*scale,0);
setWorld(world,pos);
03-18-2011 01:39 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: [MMO] Compile on mac
I've discovered that to compile under Mac GCC compiler some other things need to be changed as well.
I'll upload everything updated as soon as possible (today/tomorrow)
03-18-2011 02:00 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #4
RE: [MMO] Compile on mac
Awesome, thanks.
03-18-2011 07:18 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #5
RE: [MMO] Compile on mac
Hi,

The fix is available, I've tested EMMO under Mac and it works correctly.

Please download updated Esenthel MMO sources, and latest Esenthel Engine SDK (SDK through autoupdate is available, while .zip file is still uploading and will be available in 12 minutes)
03-19-2011 07:32 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #6
RE: [MMO] Compile on mac
Excellent!

So far, I've compiled the server without any problems. Haven't yet had the time to try the client, but shall report back if there are any problems smile
03-21-2011 09:57 AM
Find all posts by this user Quote this message in a reply
Post Reply