Jump to content
  • Advertisement
Sign in to follow this  
Phyleo DaCosta

Anyone Help me Plz :(

This topic is 2222 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!