Official Murl Engine Forum
Solution: cannot open file 'd3dcompiler.lib' - Printable Version

+- Official Murl Engine Forum (https://murlengine.com/forum)
+-- Forum: Murl Engine (https://murlengine.com/forum/forumdisplay.php?fid=5)
+--- Forum: Murl Platform (https://murlengine.com/forum/forumdisplay.php?fid=10)
+--- Thread: Solution: cannot open file 'd3dcompiler.lib' (/showthread.php?tid=48)



Solution: cannot open file 'd3dcompiler.lib' - andi - 01 Oct 2013

In Visual Studio 2010 following error can occur when trying to compile a Murl project:
LINK : fatal error LNK1104: cannot open file 'd3dcompiler.lib'

This is due Visual Studio can't locate the DirectXSDK directory. To fix this problem for the current user follow these steps:

1. Enable expert settings: Tools -> Settings -> Expert Settings
2. Open Property Manager: View -> Property Manager
3. Edit properties of Microsoft.Cpp.Win32.user: Debug | Win32 -> Microsoft.Cpp.Win32.user
4. Select VC++ Directories
5. Under 'Include Directories' prepend $(DXSDK_DIR)include;
5. Under 'Library Directories' prepend $(DXSDK_DIR)lib\x86;