Reputation: 569
I recently installed windows 8 and installed directx sdk jun 2010 on it. However when I try to start a program on it gives me an error:
Error: "couldnt find d3dx9.lib" or "couldnt find d3dx11.h"
This error was in directx own sample projects also. I found an article on the internet that said these kind of libraries(every thing with x in it :d) are not supported any more. I commented all code that needed these libraries, it worked and my program ran.
Question:
What is it and how should I work with it? Are all these libraries are not supported? I found vs 2012 added a new framework: direct 3d app and direct 2d app. I made a project in it but I hardly could understand the code and how it works. Is it a new way of working with directx or is the best to make an empty project?
Upvotes: 2
Views: 769
Reputation: 9863
You will need to include the libraries you need into your projects settings.
Right click the project -> Properties -> Linker -> Input -> Additional Dependence -> Add the libraries your compiler is asking for
Upvotes: 2