View Single Post
deejayy
Junior Member
Join Date: Mar 2005
Old 03-11-2014 , 11:23   Re: HLDS-V8: Extending HLDS with V8 JavaScript engine
Reply With Quote #15

Quote:
Originally Posted by jonnzus View Post
Okay, I managed to compile this, I had to comment out line 295 in hlsdk-2.3-p4/multiplayer/dlls/player.h since compiler gave me this error and I don't know how to fix it.
Code:
In file included from hldsv8.cpp:4:0:
../hlsdk-2.3-p4/multiplayer/dlls/player.h:295:7: error: extra qualification ‘CBasePlayer::’ on member ‘TabulateAmmo’ [-fpermissive]
I'm not sure did that ruin something but at least I got it compiled ^^
And btw, if someone wants to save time you can just install package libv8-dev:i386 in debian and you don't have to compile v8.
Ouch, i forgot that i modified this line to:

Code:
void TabulateAmmo( void );
And yes, installing the package could shorten the procedure, i just wanted to make sure i use the newest version of v8, that is why i compiled it myself.
There could be some differences, because v8 is evolving very rapid, i've run into some tutorials from last year which are throwing compile errors because of the api changes.
Anyway, when it is running without errors, should be okay.

Some note on the github repo: i'm trying to commit always a working state, but this is a very early phase of development, so hiccups may occur, sorry for that
__________________

Last edited by deejayy; 03-11-2014 at 15:16.
deejayy is offline