Anyone Help me Plz :(

Started by
3 comments, last by Phyleo DaCosta 11 years, 7 months ago
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 ==========
Advertisement
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.
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)
Did you install the DirectX SDK ?
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!
yes i just install DirectX SDK (June 2010)

This topic is closed to new replies.

Advertisement