1>------ Rebuild All started: Project: D3D, Configuration: Release Win32 ------
1> ade32.cpp
1> Building : DeadHell D3D Menu
1> deadhellbase.cpp
1> Building : DeadHell D3D Menu
1> deadhellfont.cpp
1> deadhellmenu.cpp
1> Building : DeadHell D3D Menu
1> deadhellsound.cpp
1> Building : DeadHell D3D Menu
1>deadhellbase.obj : error LNK2001: unresolved external symbol _Direct3DCreate9@4
1>deadhellmenu.obj : error LNK2001: unresolved external symbol "public: char * __thiscall cMenu::TIME(void)" (?TIME@cMenu@@QAEPADXZ)
1>D:\ABANG\Hasil Pembuatan D3D\D3D\Release\D3D.dll : fatal error LNK1120: 2 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Anyone Help me Plz :(
These are called "linker errors", you'll find some generic advice by searching for "C++ linker error".
The D3D one is because you need to add the D3D libraries to your MSVC project's linker inputs/dependencies, e.g. d3d9.lib
The cMenu::TIME one will because that function is missing / wasn't compiled.
The D3D one is because you need to add the D3D libraries to your MSVC project's linker inputs/dependencies, e.g. d3d9.lib
The cMenu::TIME one will because that function is missing / wasn't compiled.
I've tried to add in header
# pragma comment (lib, "d3d9.lib")
# pragma comment (lib, "d3dx9.lib")
but still
deadhellbase.obj: error LNK2001: unresolved external symbol _Direct3DCreate9 @ 4
and which is still error
deadhellmenu.obj: error LNK2001: unresolved external symbol "public: char * __ thiscall CMenu :: TIME (void)" (? TIME @ @ @ QAEPADXZ CMenu)
# pragma comment (lib, "d3d9.lib")
# pragma comment (lib, "d3dx9.lib")
but still
deadhellbase.obj: error LNK2001: unresolved external symbol _Direct3DCreate9 @ 4
and which is still error
deadhellmenu.obj: error LNK2001: unresolved external symbol "public: char * __ thiscall CMenu :: TIME (void)" (? TIME @ @ @ QAEPADXZ CMenu)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement