Game Development Community

questions about this cvs thing

by Ace · in Torque Game Engine · 10/14/2001 (9:20 am) · 10 replies

ok, i installed it and downloaded the stable version no problem, but when i compile i get all kinds of errors, what im wondering is , was i suppose to install the update over my existing engine sdk? or if not do i have to reinstall nasm and the servisce pack ( im kinda lost here. below are some of the errors i get. Thanks

D:\torque\lib\ljpeg\jdatadst.c(121) : warning C4018: '!=' : signed/unsigned mismatch

Compiling...
dgif_lib.c
D:\torque\lib\lungif\dgif_lib.c(17) : warning C4068: unknown pragma
D:\torque\lib\lungif\dgif_lib.c(18) : warning C4068: unknown pragma
D:\torque\lib\lungif\dgif_lib.c(939) : warning C4101: 'Error' : unreferenced local variable
D:\torque\lib\lungif\dgif_lib.c(939) : warning C4101: 'i' : unreferenced local variable
D:\torque\lib\lungif\dgif_lib.c(939) : warning C4101: 'j' : unreferenced local variable
egif_lib.c
D:\torque\lib\lungif\egif_lib.c(18) : warning C4068: unknown pragma
D:\torque\lib\lungif\egif_lib.c(19) : warning C4068: unknown pragma
D:\torque\lib\lungif\egif_lib.c(224) : warning C4018: '!=' : signed/unsigned mismatch
D:\torque\lib\lungif\egif_lib.c(578) : warning C4018: '!=' : signed/unsigned mismatch
D:\torque\lib\lungif\egif_lib.c(703) : warning C4101: 'NewKey' : unreferenced local variable
D:\torque\lib\lungif\egif_lib.c(702) : warning C4101: 'NewCode' : unreferenced local variable
D:\torque\lib\lungif\egif_lib.c(807) : warning C4018: '!=' : signed/unsigned mismatch
D:\torque\lib\lungif\egif_lib.c(823) : warning C4018: '!=' : signed/unsigned mismatch
gif_err.c

Performing Custom Build Step on ..\engine\math\mMathSSE_ASM.asm
Bad command or file name
Performing Custom Build Step on ..\engine\math\mMathAMD_ASM.asm
Bad command or file name
Performing Custom Build Step on ..\engine\math\mMath_ASM.asm
Bad command or file name
Performing Custom Build Step on ..\engine\interior\itfdump.asm
Bad command or file name

LINK : fatal error LNK1104: cannot open file "\torque\engine\out.VC6.RELEASE\itfdump.obj"
Error executing link.exe.

torqueDemo.exe - 1 error(s), 14 warning(s)

d:\torque\lib\zlib\trees.c(1110) : warning C4018: '<' : signed/unsigned mismatch

just to name a few

#1
10/14/2001 (9:49 am)
...same happens if I try to compile it, I got rid of the 'Bad name or command' stuff thou' by playing with the .dsp files. - The path to nsam is wrong: You have to replace the slashes with backslashes, search for 'custom build'!

I still get a linking error...
#2
10/14/2001 (10:52 am)
You should not checkout the cvs on top of the V12 dir. The 14 warnings from the 3rd party libs is "normal", you are probably having problems with the nasm compiling. I put in relative paths to the nasm which is included in the cvs. This was done so that new users would not have to install nasm, but the relative paths are causing problems on some systems.

The solution is to find the four .asm files (3 in torque/math and one in torque/interior) and remove the path prefix from the nasmw.exe command in the custom build tab (bring up the settings dialog for each one). After this you need to make sure nasm is in your VC6 tool directories list and you should be set.
#3
10/14/2001 (12:04 pm)
what exactly am i to remove from this?

$(WkspDir)/../bin/nasm/nasmw.exe -f win32 $(InputPath) -o $(IntDir)/$(InputName).obj
#4
10/14/2001 (2:18 pm)
Remove $(WkspDir)/../bin/nasm/
#5
10/14/2001 (5:14 pm)
ok cool,and thanks, i got the demoexe and the debug demo to compile,,,so now i takeit i do the same thing for these other asm files or what did i not do ?

great update man! :)

buildWad_DEBUG.exe - 1 error(s), 0 warning(s)
--------------------Configuration: map2dif - Win32 Release--------------------
Build : warning : failed to (or don't know how to) build 'D:\torque\lib\out.VC6.RELEASE\engine.lib'
Linking...
LINK : fatal error LNK1181: cannot open input file "engine.lib"
Error executing link.exe.

map2dif.exe - 1 error(s), 1 warning(s)
--------------------Configuration: map2dif - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "engine_DEBUG.lib"
Error executing link.exe.

map2dif_DEBUG.exe - 1 error(s), 0 warning(s)
--------------------Configuration: max2dtsExporter - Win32 Release--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "engine.lib"
Error executing link.exe.

max2dtsExporter.dle - 1 error(s), 0 warning(s)
--------------------Configuration: max2dtsExporter - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "engine_DEBUG.lib"
Error executing link.exe.

max2dtsExporter_DEBUG.dle - 1 error(s), 0 warning(s)
--------------------Configuration: max2mapExporter - Win32 Release--------------------
Linking...
LINK : fatal error LNK1181: cannot open input file "engine.lib"
Error executing link.exe.

max2mapExporter.dle - 1 error(s), 0 warning(s)
--------------------Configuration: max2mapExporter - Win32 Debug--------------------
Linking...
LINK : fatal error LNK1104: cannot open file "engine_DEBUG.lib"
Error executing link.exe.

max2mapExporter_DEBUG.dle - 1 error(s), 0 warning(s)
--------------------Configuration: texture2bm8 - Win32 Release--------------------
Performing Custom Build Step on ..\tools\texture2bm8\vector.asm
Bad command or file name
Linking...
LINK : fatal error LNK1181: cannot open input file "engine.lib"
Error executing link.exe.

texture2bm8.exe - 1 error(s), 0 warning(s)
--------------------Configuration: texture2bm8 - Win32 Debug--------------------
Performing Custom Build Step on ..\tools\texture2bm8\vector.asm
Bad command or file name
Linking...
LINK : fatal error LNK1104: cannot open file "engine_DEBUG.lib"
Error executing link.exe.

texture2bm8_DEBUG.exe - 1 error(s), 0 warning(s)
#6
10/14/2001 (5:47 pm)
Yes, it's the same thing for the Torque Lib project.
#7
10/14/2001 (9:10 pm)
right on! i got it with 0 errors and just them warnings you spoke of,,,, I think i will create a vc++ 6.0 compiling.htm for dummies like me;-) I may be a lil slow on the getgo but once I get it I got it :-)

thanks abunch!
#8
10/14/2001 (10:01 pm)
Well, it would be nice if it just worked, and we don't need a "vc++ 6.0 for dummies" page :)
#9
10/15/2001 (11:15 am)
well i want a "for dummies page" cuz its not working
#10
10/15/2001 (12:43 pm)
NoESC.dhs.org
the web server is up and running :)