no deveice

Dec 3, 2013 at 12:25 PM
Edited Dec 3, 2013 at 12:45 PM
I use Visual Studio 2012.
My PC system includes a DirectX11 compatible graphix card, GTX 760.
I downloaded the engine and openend the VS solution.

Now if I try to compile the engine on Debug level, VS compiles everything perfectly.
But if I try to run ist (on debug) I always get a message box, telling me.
"Could not create a hardware or software Direct3D 11 device - the program will now abort!"
(although not even a Directx11 card is needed to run the examples, as I see in the code, a DirectX10 should be sufficent)

If I compile the examples again on Release Level, it works fine.
Every example runs perfectly.
Any tips how to solve it?
Dec 4, 2013 at 1:32 AM
I honestly haven't heard of this type of issue before... Which version of Windows are you running on? If it is Win7, have you updated with all of the latest platform updates, or are you still using the DXSDK?

In the debug build, you could step through the RendererDX11::Initialize(...) function to see what is going on. You should be able to tell if it is finding your adapter or not, and then hopefully that will give you some clues about what is happening. It sounds quite strange though, as I haven't heard of a device acting differently on a debug or release build.

I'm assuming you have up to date drivers installed, right?
Dec 5, 2013 at 11:50 AM
I have MicrosoftX SDK (from June 2010) installed.

But I guess that paths of the Microsoft SDK for libraries & includes are not set anywhere.

Should I deinstall the SDK?
Jan 1, 2014 at 12:46 PM
I only like to say that the Microsoft SDK was the source of the problem.
After I have deinstalled it, the compilation worked fine with debug settings.

Now I can go on.
Thx for help!
Jan 10, 2014 at 3:19 PM
That's great - thanks for sharing the solution!