ThePentiumGuy Posted June 8, 2004 Posted June 8, 2004 hey, i recently installed .net and the directX sdk on an old computer. however, im trying to do some unmanaged directx and im having trouble setting it up with vs.net 2002 i went to tools -> options >projects >VC++ directories and added C:/DX90SDK (Wehre i installed it) then i wen tto project settings Linker > input and in Additional Dependencies i added: d3d9.lib d3dx9.lib well now i go back to my program and i just added 1 line: #include <d3dx9.h> it gives the following error twice: fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory i remember on my old comp i did somethig to fix this but i don't remember it now lol, does anyone know what to do? pent Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Administrators PlausiblyDamp Posted June 8, 2004 Administrators Posted June 8, 2004 Have you also added the include directories for DirectX on the same tab? (change the drop down on the top right to 'Include Files') Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
ThePentiumGuy Posted June 8, 2004 Author Posted June 8, 2004 yep! thanks a lot that did the trick :cool: Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Martonx Posted June 27, 2007 Posted June 27, 2007 Hello, I have the same problem. Could you tell me, what can I do, to use d3d9.h header. I am new in directx, and new in C++. Could you tell me in so many words? fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory Thank you! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.