PIC单片机安装MCC编译不成功

2020-02-07 09:37发布

我昨天安装了mplab接着安装了MCC18,当我写好程序编译时出现,请问这个怎么解决啊

Error - mixing extended and non-extended mode modules not allowed.



Debug build of project `J:新建文件夹qqq.mcp' started.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mplink.exe v4.34
Preprocessor symbol `__DEBUG' is defined.
Sat Aug 07 11:57:37 2010
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "J:新建文件夹qqq.o".
Clean: Done.
Executing: "C:MCC18inmcc18-extended.exe" -p=18F4620 "C:MCC18inqqq.c" -fo="qqq.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.34 (evaluation)
Copyright 2000-2009 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited:  60

WARNING:  Running the compiler in extended mode will not be supported when the evaluation becomes feature limited.

Executing: "C:MCC18inmplink.exe" /l"C:MCC18lib" "C:MCC18inLKR18f46k20_g.lkr" "qqq.o" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"qqq.cof" /M"qqq.map" /W
MPLINK 4.34, Linker
Copyright (c) 2009 Microchip Technology Inc.
Error - mixing extended and non-extended mode modules not allowed.
Errors    : 1

Link step failed.
----------------------------------------------------------------------
Debug build of project `J:新建文件夹qqq.mcp' failed.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mplink.exe v4.34
Preprocessor symbol `__DEBUG' is defined.
Sat Aug 07 11:57:38 2010
---------------------------------------------------------------------
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
9条回答
xwc891106
1楼-- · 2020-02-07 13:48
大家帮我看看啊
bzd168
2楼-- · 2020-02-07 14:43
mplab不支持中文路径
ahjjt
3楼-- · 2020-02-07 20:22
 精彩回答 2  元偷偷看……
xwc891106
4楼-- · 2020-02-07 21:37
我换了个英文文件夹还是不行啊

(原文件名:_GCNUDDK{00@{E6Q]J7RI)I.jpg)
xwc891106
5楼-- · 2020-02-08 03:35
Debug build of project `J:exampleqqq.mcp' started.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mplink.exe v4.34
Preprocessor symbol `__DEBUG' is defined.
Sat Aug 07 14:52:19 2010
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:MCC18inmcc18-extended.exe" -p=18F4620 "C:MCC18inLKRqqq.c" -fo="qqq.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.34 (evaluation)
Copyright 2000-2009 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited:  60

WARNING:  Running the compiler in extended mode will not be supported when the evaluation becomes feature limited.

Executing: "C:MCC18inmplink.exe" /p18F4620 /l"C:MCC18lib" /k"C:MCC18h" "qqq.o" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"qqq.cof" /M"qqq.map" /W
MPLINK 4.34, Linker
Copyright (c) 2009 Microchip Technology Inc.
Error - mixing extended and non-extended mode modules not allowed.
Errors    : 1

Link step failed.
----------------------------------------------------------------------
Debug build of project `J:exampleqqq.mcp' failed.
Language tool versions: mpasmwin.exe v5.34, mplink.exe v4.34, mplink.exe v4.34
Preprocessor symbol `__DEBUG' is defined.
Sat Aug 07 14:52:21 2010
----------------------------------------------------------------------
BUILD FAILED
headwolf_83
6楼-- · 2020-02-08 05:49
关掉扩展模式,在配置位中要关闭(默认是关闭的),在编译选项中要关闭。
用V3.35或者更高的编译器,注意LKR文件的路径变了,项目属性中重新设置下。LIB,H的路径也要设置下。

一周热门 更多>