Rebuilding clean with additional cc and h file problems
by Ron Kirkland · in Torque Game Engine · 08/04/2005 (4:06 am) · 6 replies
Hello, I am fairly new at programming but not a compete noob, however, no mattter what I try to get the guiviewobject files to be 'included" in the build, I never see the echo "guiviewobject" scroll by in the console, and always get "Unable to instantiate non-conobject class GuiObjectView." as an error when running the compiled app.I have used the "additional files" method, I've tried "new files" method and pasted the code into the new file and saved into the directory.. I see the files in the project browser, but obviously that is not enough..
If someone can assist, I would greatly appreciate the help.
If someone can assist, I would greatly appreciate the help.
About the author
#2
Im further along now, but I get:
engine/gui/guiObjectView.cc:1: *** missing separator. Stop.
when I clean build now..
I knwo this should be common knowlege, but I have no idea where of how toplace a separator.
got the answer to that?
08/04/2005 (7:26 am)
Yes, TBE.. Thank you for your reply...Im further along now, but I get:
engine/gui/guiObjectView.cc:1: *** missing separator. Stop.
when I clean build now..
I knwo this should be common knowlege, but I have no idea where of how toplace a separator.
got the answer to that?
#3
Assuming you put it in /game
search for /game... find where the other files are... like AIPlayer etc. Then copy one of those lines and paste a duplicate... change it to your file name.
08/04/2005 (7:41 am)
I just go into the make file and add a line that looks just like all the other lines. Assuming you put it in /game
search for /game... find where the other files are... like AIPlayer etc. Then copy one of those lines and paste a duplicate... change it to your file name.
#4
-Ron
08/04/2005 (8:26 am)
Please post your changes to the mk file in the engine dir? should be Torque something.mk (at work and not positive of the file name)-Ron
#5
gui/guiObjectView.cc \
and the issue was resolved, builds just fine now.
Thanks so much for the help.
08/04/2005 (9:42 am)
Yes, i changed the .mk by adding:gui/guiObjectView.cc \
and the issue was resolved, builds just fine now.
Thanks so much for the help.
#6
08/04/2005 (9:42 am)
No problem
Torque Owner Chris Labombard
Premium Preferred
If it is TBE then you have to edit the make file by hand. And add any entries there....
Also, you wont see it go by in the console because it's not a script, it's compiled into the exe.