PDA

View Full Version : Compiling: can't find files


hova
01-04-01, 01:01pm
Ok, I know it's a newbie question, and I'm terribly sorry for this, but I can't get JAG's dll to compile. I'm using version 2103 and the 2.1 SDK. I've set it up so that the admin source is in a sourcecode\admin\ and I thought I changed it in C++ to point to the sourcecode\dll directory, but I still get these errors:
<pre>Compiling...
admin_commands.cpp
C:\SIERRA\maptools\admin_mod\SDK\SourceCode\admin\ admin_commands.cpp(8) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory
bfixed.cpp
C:\SIERRA\maptools\admin_mod\SDK\SourceCode\admin\ bfixed.cpp(11) : fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
dll.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\WINDOWS.H(159) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
h_export.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\WINDOWS.H(159) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
linkfunc.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\WINDOWS.H(159) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
regex.c
C:\SIERRA\maptools\admin_mod\SDK\SourceCode\admin\ config.h(1) : fatal error C1083: Cannot open include file: 'malloc.h': No such file or directory
users.cpp
C:\SIERRA\maptools\admin_mod\SDK\SourceCode\admin\ users.cpp(25) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory
util.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\WINDOWS.H(159) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
Error executing cl.exe.

admin.dll - 8 error(s), 0 warning(s)
</pre>
Any help? Or point to a web page that contains help? Sorry to bother you with this, but I can't figure it out on my own....

hova
01-04-01, 06:12pm
Ok, nevermind. Admin mod 2.5 came out and I've got to go find the source for that. Scratch previous post. By the way, where is the source for 2.5? I was thinking of implementing a util vector line in the spawn function so I wouldn't have to enter in all of those XYZ and angle variables. By the way, if this is allready done, could someone post the code ( I mean no need me sweatin over it if I don't have too:) )

Jaguar
01-04-01, 06:23pm
Get a CVS client (WinCVS for Win32, plain ol' cvs for *nix), and grab it out of the admin_muck dir. If you don't know how, this is covered in quite a few posts in this forum...just search for 'admin_muck' and 'cvs'.