FXC : error X3501: 'main': entrypoint not found
2014-08-27 00:22
459 查看
这个问题出现的原因是将.fx文件(着色器文件)导入自己新建的工程以后,VS2013会默认使用HLSL编译器对其进行编译,而.fx文件中并未定义main函数,所以会导致编译出错。
解决方法是:
右键.fx文件,“属性->配置属性->常规->项类型”,将“HLSL编译器”改为“不参与生成”
解决方法是:
右键.fx文件,“属性->配置属性->常规->项类型”,将“HLSL编译器”改为“不参与生成”
相关文章推荐
- FXC : error X3501: 'main': entrypoint not found
- FXC : error X3501: 'main': entrypoint not found
- Error: does not contain a static 'Main' method suitable for an entry point [wpf]
- System.EntryPointNotFoundException: 未发现入口点。
- SharpPcap在CentOS 64 Mono环境System.EntryPointNotFoundException错误的解决方法
- 解决Regsvr32: DllRegisterServer entry point was not found
- "Procedure EntryPoint XXX Not Found In WS2_32.dll"的解决方案
- WPF error: does not contain a static 'Main' method suitable for an entry point
- WPF error: does not contain a static 'Main' method suitable for an entry point
- WPF error: does not contain a static 'Main' method suitable for an entry point
- UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?
- Unity 获取Mac地址 抛异常 EntryPointNotFoundException: getifaddrs
- GLSL Entry point not found
- An unhandled exception ('System.EntryPointNotFoundException') Occurred in MsDtsSrvr.exe
- c#调用C++DLL EntryPointNotFoundException 找不到入口点
- 错误诊断:0xC0000139:DLL entry point not found
- mvc modelstate 未能计算子级 System.EntryPointNotFoundException: 未发现入口点
- WPF error: does not contain a static 'Main' method suitable for an entry point
- EntryPointNotFoundException
- ant 手动打包报错: com.sun.tools.javac.Main is not on the classpPerhaps JAVA_HOME does not point to the JDK