zolver
15-12-2010 07:17:24
Hi, there...
I use NxOgre detritus. I tried from first step of Spacegaier tutorial, http://www.ogre3d.org/tikiwiki/BloodyMess+Tutorial+2. When I add some motion,http://www.ogre3d.org/tikiwiki/BloodyMess+Tutorial+2#Getting_Some_Motion, by adding TimeController then I compile, I got error like this :
How I can fix it?
thanks
I use NxOgre detritus. I tried from first step of Spacegaier tutorial, http://www.ogre3d.org/tikiwiki/BloodyMess+Tutorial+2. When I add some motion,http://www.ogre3d.org/tikiwiki/BloodyMess+Tutorial+2#Getting_Some_Motion, by adding TimeController then I compile, I got error like this :
1>c:\dev\projects\nxogre\rc1\rc1.cpp(25) : error C2039: 'TimeController' : is not a member of 'NxOgre'
1>c:\dev\projects\nxogre\rc1\rc1.cpp(25) : error C2143: syntax error : missing ';' before '*'
1>c:\dev\projects\nxogre\rc1\rc1.cpp(25) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\projects\nxogre\rc1\rc1.cpp(25) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\dev\projects\nxogre\rc1\rc1.cpp(15) : error C2065: 'mTimeController' : undeclared identifier
1>c:\dev\projects\nxogre\rc1\rc1.cpp(15) : error C3083: 'TimeController': the symbol to the left of a '::' must be a type
1>c:\dev\projects\nxogre\rc1\rc1.cpp(15) : error C2039: 'getSingleton' : is not a member of 'NxOgre'
1>c:\dev\projects\nxogre\rc1\rc1.cpp(15) : error C3861: 'getSingleton': identifier not found
1>c:\dev\projects\nxogre\rc1\rc1.cpp(20) : error C2065: 'mTimeController' : undeclared identifier
How I can fix it?
thanks