Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Error: Unresolved external, DirectX June 2010 Game development

$
0
0

I wasn't sure where else to put this. I'm receiving an error that neither me, my classmates, nor my teacher can solve.

error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "bool __cdecl Game_Init(struct HWND__ *)" (?Game_Init@@YA_NPAUHWND__@@@Z) 2012

I'm using Microsoft Visual Studio 2012 with the June 2010 DirectX SDK to try and perform a homework assignment. I've poured over forums and websites, tried uninstalling and reinstalling, and nothing has worked. I've linked everything correctly as far as I'm aware. I've changed from Unicode to MultiByte. I reinstalled the redistributable after installing the SDK. I've done every possible solution I can find. Either I'm not doing something right and I don't realize it, or there is some compatibility issue somewhere. The textbook uses VS 2008 but my classmates have gotten it to work, and have even shown me step by step how to do everything, and they told me everything was correct. But I still get this error.

Can anyone please tell me how to fix this? I know its not a linking thing, cause I've done that. I will provide code if anyone needs to see it. I know my code is correct because we were provided it and I copy and pasted, same as my classmates. Even my teacher is stumped. Please help me, my ability to do my homework depends on it.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>