Adding new files to project in VC++6.0?!?!
by Alfredo Perez · in Torque Game Engine · 05/09/2005 (3:35 pm) · 4 replies
I seem to be having trouble with adding files to torque. I put the files in the right folder and then I load up VC.
Then I right click on the folder where I put the files and I click add files to folder. I pick the files and click ok.
But when I try to instance anything from these files in a script, I get the error "
Loading compiled script starter.fps/client/scripts/playGui.cs.
starter.fps/client/scripts/playGui.cs (42): Unable to instantiate non-conobject class GuiFilter."
I tried rebuild all and when I search in the list of what it compiled to make the .exe guiFilter.cc(or any other file I have added) is not there.
I compiled guiFilter.cc on its own by right clicking on it and saying compile, but this doesnt fix the problem either.
This is happening to me with GuiObjectView.cc, and the array resource too.
Can anyone tell me what im doing wrong?
Then I right click on the folder where I put the files and I click add files to folder. I pick the files and click ok.
But when I try to instance anything from these files in a script, I get the error "
Loading compiled script starter.fps/client/scripts/playGui.cs.
starter.fps/client/scripts/playGui.cs (42): Unable to instantiate non-conobject class GuiFilter."
I tried rebuild all and when I search in the list of what it compiled to make the .exe guiFilter.cc(or any other file I have added) is not there.
I compiled guiFilter.cc on its own by right clicking on it and saying compile, but this doesnt fix the problem either.
This is happening to me with GuiObjectView.cc, and the array resource too.
Can anyone tell me what im doing wrong?
#2
05/11/2005 (11:42 am)
Yes i did, could you tell me where it would be better to ask?
#3
05/12/2005 (6:07 pm)
A VC6 forum? :) If the file's not even getting compiled, it's probably not a Torque problem - probably something wrong with your setup.
#4
05/26/2005 (10:05 pm)
Well I will try reinstalling and see what happens.
Associate Kyle Carter