View Single Post
Re: My tutorial for RB
Old
  (#19)
Krillin
Member
 
Krillin's Avatar
 
Status: Offline
Posts: 38
Join Date: Aug 2007
Location: In a home
Default Re: My tutorial for RB - 22-09-2007

Quote:
Originally Posted by Whistler View Post
read my post above.

you can extract them to anywhere you want, just edit the makefile to make the variables pointing to them.
This is not an answer. I will try it, but the files need to go in a specific location this I am sure of. I will place them in the root folders of hldsk and metamod.


Will post back in a few minutes and see if it worked or not.

Krillin

[edit1]
Just as I suspected, I was right. I was prompted to overright some files with metamod, but here is what came out of this trial.

gcc -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -march=i586 -O2 -w -I"/usr/src/metamod-1.19/metamod" -I"/usr/src/hlsdk-2.3/multiplayer/common" -I"/usr/src/hlsdk-2.3/multiplayer/dlls" -I"/usr/src/hlsdk-2.3/multiplayer/engine" -I"/usr/src/hlsdk-2.3/multiplayer/pm_shared" -c NodeMachine.cpp -o NodeMachine.o
In file included from /usr/src/metamod-1.19/metamod/meta_api.h:81,
from NodeMachine.cpp:40:
/usr/src/metamod-1.19/metamod/engine_api.h:79:23: error: archtypes.h: No such file or directory
/usr/src/metamod-1.19/metamod/engine_api.h:291: error: ‘int32’ has not been declared
/usr/src/metamod-1.19/metamod/engine_api.h:341: error: ‘uint32’ does not name a type
/usr/src/metamod-1.19/metamod/engine_api.h:343: error: ‘uint32’ was not declared in this scope
/usr/src/metamod-1.19/metamod/engine_api.h:383: error: ‘int32’ does not name a type
/usr/src/metamod-1.19/metamod/engine_api.h:535: error: expected initializer before ‘*’ token
/usr/src/metamod-1.19/metamod/engine_api.h:537: error: expected initializer before ‘*’ token
/usr/src/metamod-1.19/metamod/engine_api.h:707: error: ‘int32’ has not been declared
/usr/src/metamod-1.19/metamod/engine_api.h:747: error: ISO C++ forbids declaration of ‘uint32’ with no type
/usr/src/metamod-1.19/metamod/engine_api.h:747: error: typedef ‘uint32’ is initialized (use __typeof__ instead)
/usr/src/metamod-1.19/metamod/engine_api.h:747: error: ‘FN_FUNCTIONFROMNAME’ was not declared in this scope
/usr/src/metamod-1.19/metamod/engine_api.h:747: error: expected ‘,’ or ‘;’ before ‘(’ token
/usr/src/metamod-1.19/metamod/engine_api.h:779: error: ISO C++ forbids declaration of ‘int32’ with no type
/usr/src/metamod-1.19/metamod/engine_api.h:779: error: typedef ‘int32’ is initialized (use __typeof__ instead)
/usr/src/metamod-1.19/metamod/engine_api.h:779: error: ‘FN_RANDOMLONG’ was not declared in this scope
/usr/src/metamod-1.19/metamod/engine_api.h:779: error: expected ‘,’ or ‘;’ before ‘(’ token
/usr/src/metamod-1.19/metamod/engine_api.h:895: error: expected initializer before ‘*’ token
/usr/src/metamod-1.19/metamod/engine_api.h:897: error: expected initializer before ‘*’ token
/usr/src/metamod-1.19/metamod/meta_api.h:187: error: expected unqualified-id before ‘do’
/usr/src/metamod-1.19/metamod/meta_api.h:187: error: expected unqualified-id before ‘while’
/usr/src/metamod-1.19/metamod/meta_api.h:191: error: expected unqualified-id before ‘while’
/usr/src/metamod-1.19/metamod/meta_api.h:223: error: expected constructor, destructor, or type conversion before ‘;’ token
/usr/src/metamod-1.19/metamod/meta_api.h:287: error: ‘META_FUNCTIONS’ has not been declared
/usr/src/metamod-1.19/metamod/meta_api.h:295: error: ‘META_FUNCTIONS’ has not been declared
make: *** [NodeMachine.o] Error 1
[/edit1]

[edit2]
I was right again, the files for HLDSK needed to go into the multiplayer/common folder, metamod was fine, now here is what I am getting in compliling

gcc -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -march=i586 -O2 -w -I"/usr/src/hl_bot_build/metamod-1.19/metamod" -I"/usr/src/hl_bot_build/hlsdk-2.3/multiplayer/common" -I"/usr/src/hl_bot_build/hlsdk-2.3/multiplayer/dlls" -I"/usr/src/hl_bot_build/hlsdk-2.3/multiplayer/engine" -I"/usr/src/hl_bot_build/hlsdk-2.3/multiplayer/pm_shared" -c NodeMachine.cpp -o NodeMachine.o
/usr/src/hl_bot_build/metamod-1.19/metamod/engine_api.h:268: error: expected initializer before '*' token
/usr/src/hl_bot_build/metamod-1.19/metamod/engine_api.h:269: error: expected initializer before '*' token
/usr/src/hl_bot_build/metamod-1.19/metamod/engine_api.h:448: error: expected initializer before '*' token
/usr/src/hl_bot_build/metamod-1.19/metamod/engine_api.h:449: error: expected initializer before '*' token
make: *** [NodeMachine.o] Error 1

Now this is out of my hands as this is a syntax coding error. I am gonna try to put back the files the includes from the RB Source overwrote and see if this will do any better. Some files which were overwritten by RB Souce Files were much smaller than the ones they were replaced with.
[/edit2]


Serving Players Since 1997


www.KRILLINSWORLD.com

Last edited by Krillin; 22-09-2007 at 20:09.. Reason: Posted more error results
  
Reply With Quote