Problems compiling UOX3 with Visual Studio 2005
Posted: Fri Mar 09, 2007 10:39 pm
I'm not sure what I'm doing wrong here, but i can't seem to compile UOX3 at all.
i followed the directions in the stickied post, but i still get errors when I'm compiling the javascript bits.
is what i got with the CVS version.
the line of code was: JSSetMethodOp setMethod;
with the one on the download page, i got:
and a bunch more errors from that and cjsengine, then everything else compiled fine.
I'm not sure what I'm doing wrong. if anyone can point me in the right direction id really appreciate it.
i followed the directions in the stickied post, but i still get errors when I'm compiling the javascript bits.
Code: Select all
c:\uo codebase\uox3cvs\uox3\projects\uox3\source\jsapi.h(919) : error C2146: syntax error : missing ';' before identifier 'setMethod'
c:\uo codebase\uox3cvs\uox3\projects\uox3\source\jsapi.h(919) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\uo codebase\uox3cvs\uox3\projects\uox3\source\jsapi.h(919) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-intthe line of code was: JSSetMethodOp setMethod;
with the one on the download page, i got:
Code: Select all
c:\uo codebase\uox3\uoxjsclasses.h(69) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\uo codebase\uox3\uoxjsclasses.h(69) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\uo codebase\uox3\uoxjsclasses.h(71) : error C2440: 'initializing' : cannot convert from 'const char [8]' to 'int'
There is no context in which this conversion is possible
c:\uo codebase\uox3\uoxjsclasses.h(72) : error C2065: 'JSCLASS_IS_EXTENDED' : undeclared identifier
c:\uo codebase\uox3\uoxjsclasses.h(72) : error C2078: too many initializersI'm not sure what I'm doing wrong. if anyone can point me in the right direction id really appreciate it.