niessner / VoxelHashing

[Siggraph Asia 2013] Large-Scale, Real-Time 3D Reconstruction
Other
670 stars 201 forks source link

Report Direct3D device has non-zero reference count error in DXUTCreateDevice #11

Open daiszh opened 7 years ago

daiszh commented 7 years ago

I'm running on Win10 VS2013

Pratapabhay commented 7 years ago

Hi, I need help with the project. Were you able to install it properly?

hamed053 commented 6 years ago

Hi, I solve this problem with two step one: Uncomment line 189 of DX11Utils.cpp

hr = D3DX11CompileFromFile( str, pDefines, NULL, szEntryPoint, szShaderModel, dwShaderFlags, 0, NULL, ppBlobOut, &pErrorBlob, NULL );

two: comment (//) line 190 of DX11Utils.cpp // hr = D3DCompileFromFile(str, pDefines, D3D_COMPILE_STANDARD_FILE_INCLUDE, szEntryPoint, szShaderModel, dwShaderFlags, 0, ppBlobOut, &pErrorBlob);

i'm not sure it is correct way or not, but it seems working fine