Problem compiling effects in latest codebase

May 7, 2012 at 7:26 PM

When I build the samples, I end up with effect compilation errors.  I can't tell from the stack trace (Complete with curious German pathnames ) whether these are ANX or SharpDX problems.  The FX files look okay.  Suggestions for what could be going wrong?

Thank you,
JNU

Building content threw SharpDXException: d3dcompiler_43.dll
   at SharpDX.Utilities.LoadLibrary(String dllName) in F:\Arbeitsverzeichnisse\Fremdprojekte\sharpdx\Source\SharpDX\Utilities.cs:line 432
   at SharpDX.D3DCompiler.D3D.get_DllHandle0() in F:\Arbeitsverzeichnisse\Fremdprojekte\sharpdx\Source\SharpDX.D3DCompiler\Generated\Functions.cs:line 52
   at SharpDX.D3DCompiler.D3D.get_D3DCompile_() in F:\Arbeitsverzeichnisse\Fremdprojekte\sharpdx\Source\SharpDX.D3DCompiler\Generated\Functions.cs:line 177
   at SharpDX.D3DCompiler.D3D.Compile(IntPtr srcDataRef, PointerSize srcDataSize, String sourceNameRef, ShaderMacro[] definesRef, IntPtr includeRef, String entrypointRef, String targetRef, ShaderFlags flags1, EffectFlags flags2, Blob& codeOut, Blob& errorMsgsOut) in F:\Arbeitsverzeichnisse\Fremdprojekte\sharpdx\Source\SharpDX.D3DCompiler\Generated\Functions.cs:line 157
   at SharpDX.D3DCompiler.ShaderBytecode.Compile(Byte[] shaderSource, String entryPoint, String profile, ShaderFlags shaderFlags, EffectFlags effectFlags, ShaderMacro[] defines, Include include, String sourceFileName) in F:\Arbeitsverzeichnisse\Fremdprojekte\sharpdx\Source\SharpDX.D3DCompiler\ShaderBytecode.cs:line 685
   at SharpDX.D3DCompiler.ShaderBytecode.Compile(String shaderSource, String profile, ShaderFlags shaderFlags, EffectFlags effectFlags, ShaderMacro[] defines, Include include, String sourceFileName) in F:\Arbeitsverzeichnisse\Fremdprojekte\sharpdx\Source\SharpDX.D3DCompiler\ShaderBytecode.cs:line 522
   at ANX.Framework.Windows.DX10.Effect_DX10.CompileFXShader(String effectCode, String directory) in C:\Users\Skwerl\Desktop\anxframework-14863\RenderSystems\ANX.Framework.Windows.DX10\Effect_DX10.cs:line 175
   at ANX.Framework.ContentPipeline.DX10_EffectProcessor.Process(EffectContent input, ContentProcessorContext context) in C:\Users\Skwerl\Desktop\anxframework-14863\ANX.Framework.ContentPipeline\DX10_EffectProcessor.cs:line 71
   at ANX.Framework.ContentPipeline.AnxEffectProcessor.Process(EffectContent input, ContentProcessorContext context) in C:\Users\Skwerl\Desktop\anxframework-14863\ANX.Framework.ContentPipeline\EffectProcessor.cs:line 86
   at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2.Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process(Object input, ContentProcessorContext context)
   at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAssetWorker(BuildItem item)
   at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAsset(BuildItem item)
   at Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.RunTheBuild()
   at Microsoft.Xna.Framework.Content.Pipeline.Tasks.BuildContent.RemoteProxy.RunTheBuild(BuildCoordinatorSettings settings, TimestampCache timestampCache, ITaskItem[] sourceAssets, String[]& outputContent, String[]& rebuiltContent, String[]& intermediates, Dictionary`2& dependencyTimestamps, KeyValuePair`2[]& warnings)	C:\Users\Skwerl\Desktop\anxframework-14863\Samples\SampleContent\Effects\MiniTri.fx	VertexIndexBuffer

 


Coordinator
May 16, 2012 at 6:43 AM

Do you have the June 2010 DirectX SDK installed? It is needed for the HLSL compiler.