Game Development Community

Having a problem while compiling

by Kendall Davis · in Torque Game Engine · 09/06/2002 (8:06 pm) · 2 replies

Compiling...
game.cc
C:\Documents and Settings\kendall\Desktop\torque2\torque\engine\game\game.cc(235) : error C2039: 'dumpLoadedResources' : is not a member of 'ResManager'
c:\documents and settings\kendall\desktop\torque2\torque\engine\core\resmanager.h(245) : see declaration of 'ResManager'
Error executing cl.exe.

hi I am wondering if anyone can help me with this error I am trying to install a character select screen everything seems to go fine up to this point. the cod eline it is refering too looks like this
ResourceManager->dumpLoadedResources();

if i change resourcemanager to resmanager it gives me a error like this
Compiling...
game.cc
C:\Documents and Settings\kendall\Desktop\torque2\torque\engine\game\game.cc(235) : error C2143: syntax error : missing ';' before '->'
C:\Documents and Settings\kendall\Desktop\torque2\torque\engine\game\game.cc(235) : error C2143: syntax error : missing ';' before '->'
Error executing cl.exe.


if i add the ; it still gives the same error....is i comment the whole line out it will compile. but when i run the game and click the button to enter the character select screen i get a strange popup error and the game crashes....the code im using can be found here
http://thesoulnomads.de/tork/tutorials/preview_gui/preview_gui.html


If anyone can help me with this or knows of another way to get a character select screen working i would greatly appreciate it

Thank you
Kendall Davis

#1
09/07/2002 (2:01 am)
www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=7035
Plz don't double-post... hard to keep track then... :p
#2
09/07/2002 (11:50 am)
very sorry about the double post just wasnt sure which forum would be the best to post in... I will try downloading a older version of the code to try it out



thank you
Kendall Davis