PDA

View Full Version : Source Code Problems.....Invalid Argument


Lord Krem
03-22-2003, 07:14 AM
C:\jk2\GameData\code\game>game.bat

C:\jk2\GameData\code\game>del /q vm

C:\jk2\GameData\code\game>if not exist vm\nul mkdir vm

C:\jk2\GameData\code\game>cd vm

C:\jk2\GameData\code\game\vm>set cc=..\..\..\bin\lcc -A -DQ3_VM -DMISSIONPACK -S
-Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui

C:\jk2\GameData\code\game\vm>..\..\..\bin\lcc -A -DQ3_VM -DMISSIONPACK -S -Wf-ta
rget=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui ../g_main.c
..\..\..\bin\lcc: cpp: Invalid argument

C:\jk2\GameData\code\game\vm>cd ..

C:\jk2\GameData\code\game>

If anyone can help me with his error it would be greatly appreciated.

razorace
03-22-2003, 09:04 PM
You're probably using one of the computers that doesn't like the default compile .bat files. I think all the major jk2 file sites have a fixed version.

Code
03-24-2003, 02:06 AM
try this one

http://ugg.codealliance.ca/modbat/

edit : errm what am i saying this looks like a prob in g_main.c ?
not a batch script error