完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我将PIC18F25K50项目从XC8 V1.45转换为V2.0,我得到以下警告:::警告:(2044)未被识别的选项“-dyixIT=DC”。这是从MaMeFiel-Debug .MK中的一个选项中提出的,但是为什么?这是什么意思?谢谢,戈登
以上来自于百度翻译 以下为原文 I'm converting a PIC18F25k50 project from XC8 V1.45 to V2.0 and I am getting the following warning: ::: warning: (2044) unrecognized option "-d__IT=dc" This is from an option put in the Makefile-default.mk, but why? What does it mean? Thanks, Gordon |
|
相关推荐
11个回答
|
|
D通常是“定义”的缩写,如果你对编译器的文档有风险,你可能会想出一个选项。(如果不是,你可能需要省略一个或两个下划线)。
以上来自于百度翻译 以下为原文 -d is usually short for "define", and if you risked an eye on the compiler's documentation you might come up with the option "__IT". (If not, you might have to omit one or both underscore(s).) |
|
|
|
谢谢,我确实在编译器文档中查找过,但是我找不到任何关于它或它的选项的引用。我认为D是定义的,但是为什么MPLAB X IDE V4.20和XC8 V2.0把这个放在make文件中?我不知道戈登是从哪里来的。
以上来自于百度翻译 以下为原文 Thanks, I did look in the compiler documentation and I can not find any reference to an IT or __IT option. I thought the -d was for define, but why is MPLAB X IDE v4.20 and XC8 V2.0 putting this in the make file? I have no idea where the __IT=dc is coming from. Gordon |
|
|
|
我还没有安装XC82.0.0,但是如果您想知道它来自哪里:打开Project属性,转到编译器设置并滚动所有的设置和选项卡。我确信你在某个地方找到了它或者是“DC”-很有可能。祝你好运。
以上来自于百度翻译 以下为原文 I did not yet install XC8 2.0. But if you want to find out where the __IT is coming from: open the project properties, go to the compiler settings and scroll through all the settings and tabs. I'm sure you'ss "somewhere" find either the __IT or the "dc" - most likely both. Good luck |
|
|
|
在任何设置和标签中,我都找不到类似的东西(DC或戈登或它),这就是为什么我在这里结束了。感谢信息,这个问题在使用XC8 1.45(或更大)时没有出现。
以上来自于百度翻译 以下为原文 I was unable to find anything resembling this (dc or __IT or IT) in any of the settings and tabs, that is why I ended up here. Thanks for the info, this problem does not show up when using XC8 1.45 (or older). Gordon |
|
|
|
你能展示整个建筑日志吗?特别是显示哪些exe文件正在为编译器运行的行。
以上来自于百度翻译 以下为原文 Can you show the whole build log? In particular the lines showing which EXE file is being run for the compiler. |
|
|
|
-d选项在命令行上定义宏。v2.0的选项是区分大小写的,因此它们必须与用户指南中的显示完全一样。目前,任何未知选项都传递给驱动程序(警告),但您应该使用正确的选项。调试器的日志和跟踪特性使用了它的宏宏。参见Trace18.H.Jeff.
以上来自于百度翻译 以下为原文 The -D option defines macros on the command line. The options with v2.0 are case sensitive, so they must be exactly as shown in the user's guide. At the moment, any unknown options are passed through to the driver (with a warning), but you should aim to use the correct option. The __IT macro is used by log and trace features of the debugger. See trace18.h. Jeff. |
|
|
|
杰夫,谢谢。我理解-d(-d)选项,我不认为我有任何跟踪功能打开。当我检查了项目属性时,我发现真正的冰跟踪和剖析被打开到“用户仪器跟踪”。我把它关了,没有再认不出“选项”-dyithi= dc。这听起来像IDE中的一个错误,它为这个选项的make文件生成错误的输出。再次感谢您对Trace18.H的提示!戈登
以上来自于百度翻译 以下为原文 Jeff, thanks. I understand the -d (-D) option, I did not think I had any trace functions turned on. When I checked the project properties I found that the Real ICE Trace and Profiling was turned on to "User Instrumented Trace". I turned that off and no more unrecognized "option "-d__IT=dc". This sounds like a bug in the IDE that is generating the wrong output to the make file for this option. Thanks again for the hint about the trace18.h! Gordon |
|
|
|
我已经向IDE集团报告过,他们承认他们会解决这个问题。
以上来自于百度翻译 以下为原文 I've reported this to the IDE group who have acknowledged that they will address this. Jeff. |
|
|
|
“地址”似乎总是比“固定”或“正确”模糊得多。;)
以上来自于百度翻译 以下为原文 "address" always seems so much more ambiguous than "fix" or "correct" ... ;) |
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5244 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3209 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2260 浏览 5 评论
779浏览 1评论
672浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
598浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
682浏览 0评论
579浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 06:12 , Processed in 1.747820 second(s), Total 97, Slave 80 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号