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的下面。如下图所示

 

 

 

相关文章
|
2月前
|
SQL
CHECK
【11月更文挑战第15天】
46 5
|
5月前
|
SQL 微服务
成功解决 :status 500 reading CouponFeignService#saveSpuBounds(SpuBoundTo)
这篇文章讲述了作者在微服务项目开发中遇到的一个具体问题:使用Feign进行远程服务调用时出现了`status 500`错误。文章详细描述了排查过程,包括检查Feign配置和被调用服务的日志信息,最终确定问题是由于Lombok插件的`@Data`注解导致。作者通过将`@Data`注解注释掉并手动生成get、set方法解决了问题,并提供了成功调用远程服务后的截图。
成功解决 :status 500 reading CouponFeignService#saveSpuBounds(SpuBoundTo)
|
7月前
|
JSON 数据格式
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
【ERROR】Error: transaction invalidated with status (ENDORSEMENT_POLICY_FAILURE)
54 0
|
8月前
|
开发者 iOS开发
no identity found Command CodeSign failed with a nonzero exit code
no identity found Command CodeSign failed with a nonzero exit code
107 0
|
8月前
|
消息中间件
ERROR 65639 --- [Container#0-217] o.s.a.r.l.SimpleMessageListenerContainer Failed to check/redeclare
ERROR 65639 --- [Container#0-217] o.s.a.r.l.SimpleMessageListenerContainer Failed to check/redeclare
118 0
|
8月前
|
应用服务中间件 Python 容器
ERROR [ntContainer#0-1] o.s.a.r.l.SimpleMessageListenerContainer 1917: Failed to check/redeclare aut
ERROR [ntContainer#0-1] o.s.a.r.l.SimpleMessageListenerContainer 1917: Failed to check/redeclare aut
272 0
|
C++
ERROR: Command errored out with exit status 1:
ERROR: Command errored out with exit status 1:
338 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
170 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
gconf-sanity-check-2 exited with status 256
gconf-sanity-check-2 exited with status 256