Need Help - Compile Error Applying Resource
by Nicolai Dutka · in Torque Game Engine Advanced · 07/03/2009 (9:13 am) · 3 replies
I am trying to apply a resource intended for TGE and have it all but completed.. I am getting only 1 error during compile and I don't know how to fix it.
Here is the resource (in case you need it):
www.garagegames.com/community/resources/view/14791/1#comment-129279
And here is my error:
Here is the resource (in case you need it):
www.garagegames.com/community/resources/view/14791/1#comment-129279
And here is my error:
particleEmitterNode.cpp
..\..\..\..\..\engine\source\T3D\fx\particleEmitterNode.cpp(259) : error C2665: 'Con::executef' : none of the 20 overloads could convert all the argument types
c:\Torque\TGEA_1_8_1\engine\source\console/console.h(536): could be 'const char *Con::executef(const char *,const char *,const char *,const char *)'
c:\Torque\TGEA_1_8_1\engine\source\console/console.h(564): or 'const char *Con::executef(SimObject *,const char *,const char *,const char *)'
while trying to match the argument list '(ParticleEmitterNodeData *, int, const char [15], const char *)'
#2
So yes, it is compiling now! THANKS!!!!!!! <-- Yes, I am that happy... :P
07/03/2009 (10:08 am)
Omg, unbelievable! LOL!! I supposed if I knew more about C++, that would've been a super easy fix...So yes, it is compiling now! THANKS!!!!!!! <-- Yes, I am that happy... :P
#3
07/03/2009 (2:30 pm)
Unfortunately, actually using the code is causing my game to crash and I am doubting the original author is going to come around to help me out here...
Torque Owner Ivan Mandzhukov
Liman3D
replace with:
..and all the rest of it.