DirectX

closed account (ETAkoG1T)
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?
closed account (ETAkoG1T)
the code on this page doesn't work: http://www.directxtutorial.com/Lesson.aspx?lessonid=11-1-3

additional dependencies:
d3d11.lib
d3dx11d.lib
D3DCompiler.lib
Effects11d.lib
dxerr.lib
dxgi.lib
dxguid.lib

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
closed account (ETAkoG1T)
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 directxtutorial.com 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.