I just recently installed directx june 2010 sdk and everything seems to be set up fine, my problem is that I have tried several example programs but on a lot of them I get linker errors. How can I know for sure I have set everything up correctly?
the code on this page doesn't work:

additional dependencies:

Some of them may not be needed but I am following a book too so I just included them. Am I missing anything there? I have also linked include lib and executable to x86 folders and I am on x64 bit, but I set the compiler to compile x86.

2 errors I get:
error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
fatal error LNK1120: 1 unresolved externals
Last edited on
The code from directxtutorial is still not working but I got some code from my book working. Is there any other files needed to follow the lessons? I think I have SDK set up correctly.
Shouldn't this question be in the Windows Programming forum?
Topic archived. No new replies allowed.