Posts: 336
Threads: 14
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: May 2013
Reputation:
0
did u included boost? cause the define is from boost in a hpp file. Include the whole boost folder and it should work
Posts: 290
Threads: 30
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2013
Reputation:
0
I included, like you can see there
Posts: 198
Threads: 3
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Jun 2011
Reputation:
0
There's your first issue. You are combining linux based game on windows.
Second issue is it looks like you are compiling under debug.
If you want a proper server you need to compile under linux.
Posts: 336
Threads: 14
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: May 2013
Reputation:
0
I included, like you can see there
is the file : chrono.hpp in boost/chrono/detail/inlined/mac/ ?
There's your first issue. You are combining linux based game on windows.
Second issue is it looks like you are compiling under debug.
If you want a proper server you need to compile under linux.
The compile works without a problem and the server. But yes for real hosting linux and release compile is the best option.
Posts: 528
Threads: 50
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2011
Reputation:
0
u have to compile first the sharelib and then the other. Also you will need log4cxx to compile yourself and thats much googlin if you dont know how.
Posts: 528
Threads: 50
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Oct 2011
Reputation:
0
^ the only right answer to your problem, in this thread
Its confusing me, why he havent defined windows, i just opened the Server Project and just had to add the missing libs..
Posts: 290
Threads: 30
Thanks Received:
0 in 0 posts
Thanks Given: 0
Joined: Mar 2013
Reputation:
0
Hello,
thanks all for answer.
After some google search, i found a part of code :
#ifdef WIN32
#include <time.h>
#include <sys/timeb.h>
int gettimeofday (struct timeval *tp, void *tz)
{
struct _timeb timebuffer;
_ftime (&timebuffer);
tp->tv_sec = timebuffer.time;
tp->tv_usec = timebuffer.millitm * 1000;
return 0;
}
#endif
Now, another error , Error 3 error C3861: 'strcasecmp': identifier not found .
i'll search on google !