• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

otsystem.h:79:11: error: missing binary operator before token "_MSC_VER"

Pokeball

New Member
Joined
Dec 14, 2009
Messages
51
Reaction score
0
Witam mam problem z Kompilacja nowego tfs na ubuntu 9.10
Configure complete, now you may type 'make'.
make all-am
make[1]: Entering directory `/home/ubuntu/0.3.6'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_SQLITE__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from baseevents.h:20,
from actions.h:20,
from actions.cpp:20:
otsystem.h:79:11: error: missing binary operator before token "_MSC_VER"
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/home/ubuntu/0.3.6'
make: *** [all] Error 2
root@ubuntu:/home/ubuntu/0.3.6#
 
mam ten sam błąd pomocy, co to sie porobiło żeby na unbuntu nie można było TFSa postawaić.
 
mozna , wystarczy w otsystem.h usunąć tamto coś na 71 Lini i działa , tylko nie wiem czy to coś nie zjebie silnika ;]
 
I managed to compile it when removing:

#elif def _MSC_VER
#define __OTSERV_FUNCTION__ __FUNCDNAME__


from otsystem.h


_MSC_VER is probably something with microsoft, i guess it aint necessary :p

i only got this error in 0.3.6, not in 0.3.6pl1.
 

Similar threads

Replies
2
Views
646
Back
Top