1189:#error:" no _RWCONFIG_< tag>发现"一世。 [英] 1189: #error : "no _RWCONFIG_<tag> found" I.

查看:93
本文介绍了1189:#error:" no _RWCONFIG_< tag>发现"一世。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在项目中包含以下文件。



Hi all,

I am including below files in my project.

exec\msvc140_64\include\rw\config\rwconfig_tls.h





rwconfig_tls.h头文件的定义





definition of rwconfig_tls.h header file

#include "rwconfig.h"

#if defined(_RWCONFIG_12d)
#include "rwc_tls_12d.h"
#elif defined(_RWCONFIG_15d)
#include "rwc_tls_15d.h"
#else
#error "No _RWCONFIG_<tag> found"
#endif







on compile i get below error.





错误:





Error:

fatal error C1189: #error :  "No _RWCONFIG_<tag> found"





任何人都有任何想法?请建议



我尝试了什么:



在vs2010问题中排名第10 [ ^ ]



对我不起作用。



anybody has any idea? pls suggest

What I have tried:

RW 10 in vs2010 problem[^]

did not work for me.

推荐答案

是:阅读错误信息并分析代码。



Yes: Read the error message and analyze the code.

#if defined(_RWCONFIG_12d)// <== not defined !!!
#include "rwc_tls_12d.h"
#elif defined(_RWCONFIG_15d) // <== not defined !!!
#include "rwc_tls_15d.h"
#else
#error "No _RWCONFIG_<tag> found" // <== your output
#endif



结论:您必须决定是否使用该框架的1.2或1.5版本,


Conclusion: you must decide whether to use the version 1.2 or 1.5 of that framework, with

#define _RWCONFIG_15d 1



或在包含此有问题的代码之前在某些标题中的C ++项目设置中。


or in the project settings of C++ in some header before including this problematic code.


这篇关于1189:#error:&quot; no _RWCONFIG_&lt; tag&gt;发现&QUOT;一世。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆