.\Edittime.cpp(66) : error C2039: 'GetAnimationName'[solved]

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Tue Nov 16, 2010 6:15 pm

when attempting to build the latest svn sprite plugin I get:

[code:2p0cvmpe].\Edittime.cpp(66) : error C2039: 'GetAnimationName' : is not a member of 'VEditTime'
c:\program files (x86)\scirra\sdk\sprite2\..\..\Common\VEdittime.h(14) : see declaration of 'VEditTime'
Drawing.cpp
.\Drawing.cpp(120) : error C2039: 'GetAnimationName' : is not a member of 'VEditTime'
c:\program files (x86)\scirra\sdk\sprite2\..\..\Common\VEdittime.h(14) : see declaration of 'VEditTime'[/code:2p0cvmpe]


Edittime.cpp(66) is:
[quote:2p0cvmpe]int FindAnAnimationWithName(VEditTime* pEditTime, int anim, CString name)
{
if(pEditTime->QueryAnimationFrameCount(anim) > 0 && name.CompareNoCase(pEditTime->GetAnimationName(anim)) == 0)[/quote:2p0cvmpe]


and Drawing.cpp(120) is
[quote:2p0cvmpe]int FindAFrameWithAnimationName(VEditTime* pEditTime, int anim, CString startAnim, int index)
{
if(startAnim.CompareNoCase(pEditTime->GetAnimationName(anim)) == 0 // Equal[/quote:2p0cvmpe]

EDIT: Solved, just overwrote the common folder from the SVN to my scirra directory
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests