warning C4005 DXGI_STATUS_OCCLUDED

简介:

注意包含顺序 要将 $(DXSDK_DIR)Include放在后面才行

$(VC_IncludePath)
$(WindowsSDK_IncludePath)
$(DXSDK_DIR)Include

 

为了以后写dx代码不用重新配置包含目录和库目录,我新建了一个dx11.props。

注意,在属性管理器中,如果想改变包含顺序实在太难了,我研究了足足一个小时。

首先要把自己配置的dx11.props vc++目录的从父级继承取消掉,然后放到Microsoft.Cpp.Win32.user的下面。如下图所示

 

 

 

相关文章
|
7月前
|
SQL 微服务
成功解决 :status 500 reading CouponFeignService#saveSpuBounds(SpuBoundTo)
这篇文章讲述了作者在微服务项目开发中遇到的一个具体问题:使用Feign进行远程服务调用时出现了`status 500`错误。文章详细描述了排查过程,包括检查Feign配置和被调用服务的日志信息,最终确定问题是由于Lombok插件的`@Data`注解导致。作者通过将`@Data`注解注释掉并手动生成get、set方法解决了问题,并提供了成功调用远程服务后的截图。
成功解决 :status 500 reading CouponFeignService#saveSpuBounds(SpuBoundTo)
|
9月前
|
JSON 数据格式
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
70 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
379 0
ERROR: Command errored out with exit status 1:
unknown type name err_status_t; did you mean srtp_err_status_t/err_status_ok/err_status_replay_fail
unknown type name err_status_t; did you mean srtp_err_status_t/err_status_ok/err_status_replay_fail
184 0
成功解决ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED L
成功解决ConvergenceWarning: lbfgs failed to converge (status=1): STOP: TOTAL NO. of ITERATIONS REACHED L
|
Shell Windows
ERROR: Command `Install ‘code‘ command in PATH` exited with status code 1.
ERROR: Command `Install ‘code‘ command in PATH` exited with status code 1.
184 0
ERROR: Command `Install ‘code‘ command in PATH` exited with status code 1.
gconf-sanity-check-2 exited with status 256
gconf-sanity-check-2 exited with status 256
Whitelabel Error Page There was an unexpected error (type=Not Found, status=404). No message availab
Whitelabel Error Page There was an unexpected error (type=Not Found, status=404). No message availab
225 0
|
安全
Error Code: 1175. You are using safe update mode and you tried to update a t
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/inforstack/article/details/79677217 在安全模式下,只能根据主键来做修改,所以使用非主键修改,那么将要解除安全模式,然后再执行操作。
1684 0