mikilh50 3 Posted August 4, 2017 Share Posted August 4, 2017 Hello guy's! I have a problem when i'm compile the binary. The problem is here: #ifdef NEW_PET_SYSTEM BOOL CInstanceBase::IsNewPet() { return m_GraphicThingInstance.IsNewPet(); } #endi Error message: IntelliSense: class "CActorInstance" has no member "IsNewPet" error C2039: 'IsNewPet' : is not a member of 'CActorInstance! I add this to Instancebase.h #ifdef NEW_PET_SYSTEM BOOL IsNewPet(); #endif Thanks for helping. This is the hidden content, please Sign In or Sign Up This is the hidden content, please Sign In or Sign Up This is the hidden content, please Sign In or Sign Up Link to comment Share on other sites More sharing options...
Anyone 15 Posted August 4, 2017 Share Posted August 4, 2017 Check header files. You are missing declaration of IsNewPet on ActorInstance Link to comment Share on other sites More sharing options...
Silver Sonitex 1437 Posted August 4, 2017 Silver Share Posted August 4, 2017 5 hours ago, mikilh50 said: Hello guy's! I have a problem when i'm compile the binary. The problem is here: #ifdef NEW_PET_SYSTEM BOOL CInstanceBase::IsNewPet() { return m_GraphicThingInstance.IsNewPet(); } #endi Error message: IntelliSense: class "CActorInstance" has no member "IsNewPet" error C2039: 'IsNewPet' : is not a member of 'CActorInstance! I add this to Instancebase.h #ifdef NEW_PET_SYSTEM BOOL IsNewPet(); #endif Thanks for helping. InstanceBase.cpp InstanceBase.h InstanceBaseEffect.cpp What you did wrong is you pasted the function wrong. It should end with "#endif" but you wrote "#endi" Link to comment Share on other sites More sharing options...
Premium TAUMP 825 Posted August 4, 2017 Premium Share Posted August 4, 2017 I like this peoples.. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now