Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[SOLVED] unresolved external symbol (LNK Error)

Banned
Banned
Joined
Mar 21, 2013
Messages
225
Reaction score
18
Help please I'm trying to fix this for 2 days now.

Code:
error LNK2001: unresolved external symbol "public: static char const * const DxTexEffVisualMaterial::NAME" (?NAME@DxTexEffVisualMaterial@@2QBDB)

error LNK2001: unresolved external symbol "public: static unsigned long const DxTexEffVisualMaterial::TYPEID" (?TYPEID@DxTexEffVisualMaterial@@2KB)

error LNK2019: unresolved external symbol "public: __thiscall DxTexEffVisualMaterial::DxTexEffVisualMaterial(void)" (??0DxTexEffVisualMaterial@@QAE@XZ) referenced in function "public: class DxTexEffBase * __thiscall DxTexEffMan::CreateEffInstance(unsigned long)" (?CreateEffInstance@DxTexEffMan@@QAEPAVDxTexEffBase@@K@Z)

error LNK2019: unresolved external symbol "public: static void __cdecl DxTexEffVisualMaterial::OnCreateDevice(struct IDirect3DDevice9 *)" (?OnCreateDevice@DxTexEffVisualMaterial@@SAXPAUIDirect3DDevice9@@@Z) referenced in function "public: void __thiscall DxTexEffMan::OnCreateDevice(struct IDirect3DDevice9 *)" (?OnCreateDevice@DxTexEffMan@@QAEXPAUIDirect3DDevice9@@@Z)

error LNK2019: unresolved external symbol "public: static void __cdecl DxTexEffVisualMaterial::OnReleaseDevice(struct IDirect3DDevice9 *)" (?OnReleaseDevice@DxTexEffVisualMaterial@@SAXPAUIDirect3DDevice9@@@Z) referenced in function "public: void __thiscall DxTexEffMan::OnReleaseDevice(struct IDirect3DDevice9 *)" (?OnReleaseDevice@DxTexEffMan@@QAEXPAUIDirect3DDevice9@@@Z)



This is solved, I just forgot to include DxTexEffVisualMaterial.cpp and DxTexEffVisualMaterial.h in my project
 
Last edited:
Back
Top