我按照introduction to 3D Game Programing with DirextX 11一开始介绍章一开始那样配置完环境,将BoxDemo复制到自己的项目里来。
结果运行时,却出现了一个问题1;
error X3501: 'main': entrypoint not found
解决方法:
1.右击项目属性打开HLSL编辑器把着色器类型改成FX(不确定每个人都需要)
2.还有就是入口点名称改为“WinMain”;
这时出现了另一个问题2:
我按照introduction to 3D Game Programing with DirextX 11一开始介绍章一开始那样配置完环境,将BoxDemo复制到自己的项目里来。
结果运行时,却出现了一个问题1;
error X3501: 'main': entrypoint not found
解决方法:
1.右击项目属性打开HLSL编辑器把着色器类型改成FX(不确定每个人都需要)
2.还有就是入口点名称改为“WinMain”;
这时出现了另一个问题2: