Server Help

Bot Questions - Lagbot Plugin Help (Merv)

TheOne - Fri Apr 14, 2006 3:37 pm
Post subject: Lagbot Plugin Help (Merv)
I'm having a bit of trouble with explody's lagbot source. I'm compiling it with Merv build 45. When I try to compile it (with no changes) I get these errors:



Quote:

\Lagbot\spawn.cpp(859): fatal error C1010: unexpected end of file while looking for precompiled header directive

Quote:
\Lagbot\command.cpp(453): fatal error C1010: unexpected end of file while looking for precompiled header directive


Does anyone know what the problem could be and how to fix it? Thanks.
TheOne - Tue Apr 18, 2006 3:54 pm
Post subject:
Ok, I managed to find away around the previous problem, but now I've got a new one. Any time I try to compile, I'm getting this error:

Quote:
MERVBot\src\blank\spawn.cpp(3): fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory


Anyone know how I can fix this?
Purge - Tue Apr 18, 2006 11:34 pm
Post subject:
Try and use the <> brackets for dynamic includes like fstream.h. So, it'd be #include <fstream.h>.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group