沒有裝PICKIT等等的debugger能不能生成hex檔?

作者 goosp 於 2019年03月25日 23:32:23
請問各位高手,
我手上有個範例,
我想把他生成hex檔案,
但是我買的東西都還沒到,
現在只有MPLAB X IDE,
我在project按右鍵生成hex檔案的時候跳出:

1 warning generated.
interrupts.c:157:6: error: variable has incomplete type 'void'
void interrupt isr(void)
^
interrupts.c:157:15: error: expected ';' after top level declarator
void interrupt isr(void)
^
;
2 errors generated.
(908) exit status = 1
nbproject/Makefile-default.mk:155: recipe for target 'build/default/production/interrupts.p1' failed
make[2]: *** [build/default/production/interrupts.p1] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 'C:/MPLABcode/code/AirDim'
nbproject/Makefile-default.mk:103: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/MPLABcode/code/AirDim'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 1s)
Export hex aborted.




請問是不是沒有連接PICKIT就不能compile還是哪裡錯了?

來自: http://www.microchip.com.tw/newbb/viewtopic.php?forum=18&topic_id=22579&post_id=79411