direct3d11 - Tutorial 2 of msdn "Direct3D Tutorial Win32 Sample" -
hi trying tutorial2 of https://code.msdn.microsoft.com/windowsdesktop/direct3d-tutorial-win32-829979ef#content.
in tutorial 1 had add #pragma comment(lib,"d3d11.lib") make work.
in tutorial 2, added 2 pragmas,#pragma comment(lib,"d3d11.lib") , #pragma comment(lib,"d3dcompiler.lib"). still can't build it. .hlsl files produce error:{error x1507 failed open source file: 'tutorial02.fx'}. tried locate tutorial02.fx in computer couldn't. idea file or how make work? using visual studio 2015 community edition.
since using vs 2015, assume opened tutorials.sln
, upgraded them v140, yes?
i did , able build tutorials configurations without problem using vs 2015. sounds may not have expanded package correctly because tutorial02.fx
present in package.
note i've not updated msdn copies of samples in time. maintain them on github.
Comments
Post a Comment