need help with a compiling error
by Kendall Davis · in Technical Issues · 09/06/2002 (8:05 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
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
About the author
#2
http://www.dk-multimedia.com/error.jpg
sorry to be asking so many questions
thank you much
Kendall Davis
09/07/2002 (12:31 pm)
I went back to 1_1_1_1 itll compile perfect now no errors or warning but i when i go to try it out i get a strange error which i have posted a screenshot of on my websitehttp://www.dk-multimedia.com/error.jpg
sorry to be asking so many questions
thank you much
Kendall Davis
Associate Stefan Beffy Moises
well, I wrote that tutorial and it clearly states in Step 3 that you should be careful with the resManager files as you need different files for different versions of Torque...
So you should check that you're using the right files - what Torque version are you running?
And if you're using a recent HEAD version, chances are that the resManager has changed again and none of the files provided will work anymore... last time I tried with a HEAD was in June...