PlaneShift

Development => Development Deliberation => VisualC++ => Topic started by: Zuk on June 23, 2009, 01:27:18 pm

Title: error C2259: cannot instantiate abstract class
Post by: Zuk on June 23, 2009, 01:27:18 pm
Hello everyone,
I've followed all the compile steps but when I try to build the appsclient project I get the following errors:


Quote
6>Deleting intermediate and output files for project 'libeffects', configuration 'Debug (with DLLs)|Win32'

....

6>pseffectobjtrail.cpp
6>..\..\src\common\effects\pseffectobjtrail.cpp(53) : error C2259: 'psEffectObjTrail::MeshAnimControl' : cannot instantiate abstract class
6>        due to following members:
6>        'void iGenMeshAnimationControl::Update(csTicks,int,uint32)' : is abstract
6>        c:\planeshift_fullsrc\CS\include\imesh/genmesh.h(519) : see declaration of 'iGenMeshAnimationControl::Update'
6>pseffectobjtext2d.cpp
4>pawsglyphwindow.cpp
6>pseffectobjtext.cpp
6>pseffectobjstar.cpp
4>pawsgmaction.cpp
6>..\..\src\common\effects\pseffectobjstar.cpp(47) : error C2259: 'psEffectObjStar::MeshAnimControl' : cannot instantiate abstract class
6>        due to following members:
6>        'void iGenMeshAnimationControl::Update(csTicks,int,uint32)' : is abstract
6>        c:\planeshift_fullsrc\CS\include\imesh/genmesh.h(519) : see declaration of 'iGenMeshAnimationControl::Update'
6>pseffectobjspire.cpp
6>..\..\src\common\effects\pseffectobjspire.cpp(47) : error C2259: 'psEffectObjSpire::MeshAnimControl' : cannot instantiate abstract class
6>        due to following members:
6>        'void iGenMeshAnimationControl::Update(csTicks,int,uint32)' : is abstract
6>        c:\planeshift_fullsrc\CS\include\imesh/genmesh.h(519) : see declaration of 'iGenMeshAnimationControl::Update'
6>pseffectobjsound.cpp
4>pawsgmgui.cpp
6>pseffectobjsimpmesh.cpp
6>pseffectobjquad.cpp
6>..\..\src\common\effects\pseffectobjquad.cpp(45) : error C2259: 'psEffectObjQuad::MeshAnimControl' : cannot instantiate abstract class
6>        due to following members:
6>        'void iGenMeshAnimationControl::Update(csTicks,int,uint32)' : is abstract
6>        c:\planeshift_fullsrc\CS\include\imesh/genmesh.h(519) : see declaration of 'iGenMeshAnimationControl::Update'
6>pseffectobjparticles.cpp

.....



vc9
Title: Re: error C2259: cannot instantiate abstract class
Post by: weltall on June 23, 2009, 07:17:18 pm
update crystal space to head