Jump to content

  • Log In with Google      Sign In   
  • Create Account


Anyone Help me Plz :(


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Phyleo da Costa   Members   -  Reputation: 101

Like
0Likes
Like

Posted 22 August 2012 - 03:17 AM

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 ==========

Sponsor:

#2 Hodgman   Moderators   -  Reputation: 27857

Like
3Likes
Like

Posted 22 August 2012 - 03:23 AM

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.

#3 Phyleo da Costa   Members   -  Reputation: 101

Like
0Likes
Like

Posted 22 August 2012 - 03:33 AM

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)

Edited by Phyleo da Costa, 22 August 2012 - 03:35 AM.


#4 SimonForsman   Crossbones+   -  Reputation: 5804

Like
0Likes
Like

Posted 22 August 2012 - 04:14 AM

Did you install the DirectX SDK ?
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!

#5 Phyleo da Costa   Members   -  Reputation: 101

Like
1Likes
Like

Posted 22 August 2012 - 04:47 AM

yes i just install DirectX SDK (June 2010)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS