Game Development Community

Problem for instantiate Class

by Temasek Polytechnic Tp8 · in Torque Game Engine · 05/29/2006 (7:31 pm) · 2 replies

GuiMapCtrl
starter.fps/client/ui/PlayGui.gui (0): Unable to instantiate non-conobject class GuiMapCtrl.
Warning: (c:\torque\sdk\engine\console\consoleobject.cc @ 62) Couldn't find class rep for dynamic class:


Put guiMapCtrl.h and guiMapCtrl.cc into "torque\engine\gui"

anyone know how to Added both files to the project??


anyone know why this happen.... thankz

#1
05/29/2006 (7:52 pm)
Assuming you're using something like Visual Studio, right click in the project gui folder on the project tree and find the option that lets you add existing files. Then add the .cc and .h files to the project and compile it.
#2
06/07/2006 (3:32 am)
Thankz