Game Development Community

unrecognized source file type '%CL%', object file assumed

by Ron Yacketta · in Torque Game Engine · 02/12/2003 (10:48 am) · 4 replies

Folks,

Just nabbed a HEAD version about 30 minutes ago, when I go to compile I get this weird warning for every single .dsp.

Command line warning D4024 : unrecognized source file type '%CL%', object file assumed
Command line warning D4027 : source file '%CL%' ignored

what gives? I open up a TGE from a couple months ago and no warning.


-Ron

#1
02/12/2003 (5:33 pm)
wow, weird, when i read this, that line looked too familar, only i got it when the script compiled. Check it out
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3028

that 180 shouldnt even be there (i didnt put it there the code from my txt file looks like this

function ExitTrigger::onEnterTrigger(%data, %obj, %colObj)
{
%client = %colObj.client;
if (%client) {
commandToClient(%client, 'ExitMap');
} else {
echo ("Not a client");
}


wonder if its somthing in common?
#2
02/12/2003 (6:10 pm)
iknow it sounds dumb, but removing the 180's fix my level exit problem :)
#3
05/05/2005 (2:46 pm)
I know that this "unrecognized source file type" is referring to the .cc extension of the files. I was able to compile the default Torque Demo project w/o running the VC6 .cc compiling.reg. However, now that I'm trying to create a new game framework and have created a new project, I am getting the error "unrecognized source file type" on the .cc files. I shutdown VC6 and ran the VC6 .cc compiling.reg, but that did not fix the problem. Any ideas?

Visual Studio 6 with SP5, Windows 2kPro

This is not a big issue for me, I just ordered Visual C++ 2k3 standard and will hopefully not have this problem after I get it installed. It would be nice to find a fix for this before then for VC6 compatibility.
#4
05/06/2005 (9:36 am)
Googled and found the fix. In VC6, go to the project settings dialog, select the C/C++ Tab, add the /Tp build switch to the end of the Project Options: text box. This switch is at the end of the supplied vc6 demo project which is where I should have looked first.