• 0
3mr

[ تمت الإجابة ]خطــــأ عند الربـط

سؤال

السلام عليكم

واجهتنى هذه المشكله عند ربط برنامج وبحثت كثيرا ولم اجد حل لها 

------ Build started: Project: Projectx, Configuration: Debug Win32 ------Linking...Effect_Projectile.obj : error LNK2001: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])Effect_Sprite.obj : error LNK2001: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])Effect_Fx.obj : error LNK2001: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])KSocket.obj : error LNK2001: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])GameCharacter.obj : error LNK2019: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected]) referenced in function "public: virtual void __thiscall CGameTarget::FrameMove(unsigned long)" ([email protected]@@[email protected])GameMonster.obj : error LNK2001: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])GameNpc.obj : error LNK2001: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])GameUser.obj : error LNK2001: unresolved external symbol "public: int __thiscall CParticleEntityManager::AddParticleToTargetBone(char const *,unsigned long,int,bool,struct D3DXVECTOR3 &,bool,bool,bool,struct D3DXMATRIX,int,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])GameUser.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CGameUser::IsUsedSkill(int)" ([email protected]@@[email protected])GameUser.obj : error LNK2019: unresolved external symbol "public: void __thiscall CGameUser::UpdateDefenceEffect(void)" ([email protected]@@QAEXXZ) referenced in function "public: void __thiscall CGameUser::OnChangedPart(void)" ([email protected]@@QAEXXZ)KGameSysEX.obj : error LNK2001: unresolved external symbol "public: void __thiscall CGameUser::UpdateDefenceEffect(void)" ([email protected]@@QAEXXZ)Effect_Explosion.obj : error LNK2019: unresolved external symbol "public: long __thiscall CShaderExplosion::SetVertexShaderGlobalConstants(void)" ([email protected]@@QAEJXZ) referenced in function "long __cdecl CEffect_Explosion::Render(void)" ([email protected][email protected]@YAJXZ)Effect_Explosion.obj : error LNK2019: unresolved external symbol "public: long __thiscall CShaderExplosion::FrameMove(float)" ([email protected]@@[email protected]) referenced in function "void __cdecl CEffect_Explosion::FrameMove(float)" ([email protected][email protected]@[email protected])Effect_Explosion.obj : error LNK2019: unresolved external symbol "public: struct tagPARTICLES * __thiscall CShaderExplosion::CloneParticleEmitter(struct tagPARTICLES *)" ([email protected]@@[email protected]@[email protected]@Z) referenced in function "class CShaderExplosion * __cdecl CEffect_Explosion::AddExplosion(unsigned char,struct D3DXMATRIX &,unsigned long,struct D3DXMATRIX *,float)" ([email protected][email protected]@[email protected]@[email protected]@[email protected]@Z)Effect_Sprite.obj : error LNK2019: unresolved external symbol "public: __thiscall CParticleEntity::CParticleEntity(void)" ([email protected]@[email protected]) referenced in function "public: int __thiscall CParticleEntityManager::AddParticle(char const *,struct D3DXVECTOR3 &,struct D3DXMATRIX &,bool)" ([email protected]@@[email protected]@[email protected]@[email protected])../Bin/Debug/Projecty.exe : fatal error LNK1120: 7 unresolved externalsBuild log was saved at "\Projectx\BuildLog.htm"Projectx- 16 error(s), 0 warning(s)---------------------- Done ----------------------    Build: 0 succeeded, 1 failed, 0 skipped
تم تعديل بواسطه 3mr
0

شارك هذا الرد


رابط المشاركة
شارك الرد من خلال المواقع ادناه

4 إجابة على هذا السؤال .

  • 0

عليك ربط برنامجك مع ملف lib  هل جربت هذا

("pragma comment (lib,"libname.lib#

0

شارك هذا الرد


رابط المشاركة
شارك الرد من خلال المواقع ادناه
  • 0

لا اظن ان هذ الخطأ بسبب ربط مكتبه معينه ولو كما تقول ما هى  المكتبه المطلوبه لربطها 

0

شارك هذا الرد


رابط المشاركة
شارك الرد من خلال المواقع ادناه
  • 0

في الواقع يحدث هذا الخطأ عند تعريف دالة و تنسى ربط او تعريف محتوى هذه الدالة والله اعلم .

تم تعديل بواسطه nadir02
2

شارك هذا الرد


رابط المشاركة
شارك الرد من خلال المواقع ادناه
  • 0

في الواقع يحدث هذا الخطأ عند تعريف دالة و تنسى ربط او تعريف محتوى هذه الدالة والله اعلم .

 فعلا هذه هى المشكله وتم حلها 

 شكرا اخى

0

شارك هذا الرد


رابط المشاركة
شارك الرد من خلال المواقع ادناه

  • يستعرض القسم حالياً   0 members

    لا يوجد أعضاء مسجلين يشاهدون هذه الصفحة .