Re: MPLAB X IDE v3.2 + xc8 v1.38 一直Compiler 有誤,請協助

作者 hjchen 於 2017年09月02日 21:24:58
Dear hann_mh:
我下載xc8 ver.1.41 仍有誤。程式無誤,或許設定上有誤。Error message 如附件之Err.bmp 或如下之error。煩請再次指正為何?

PWM_100K.c:1: warning: (228) illegal character (0xFFFFFFFE)
make[2]: *** [build/default/production/PWM_100K.p1] Error 1
PWM_100K.c:2: warning: (374) missing basic type; int assumed
make[1]: *** [.build-conf] Error 2
PWM_100K.c:2: error: (314) ";" expected
(908) exit status = 1
nbproject/Makefile-default.mk:94: recipe for target 'build/default/production/PWM_100K.p1' failed
make[2]: Leaving directory 'F:/XMPLAB/PWM_100K/PWM_100K.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'F:/XMPLAB/PWM_100K/PWM_100K.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 563ms)

來自: http://www.microchip.com.tw/newbb/viewtopic.php?forum=1&topic_id=21550&post_id=76613