问答

汇集网友智慧,解决技术难题

21ic问答首页 - TAG - default
  • 刚学PIC,MPLAB X IDE编译报错,感觉不像是程序的问题

    make[2]: *** [build/default/production/mcc_generated_files/mcc.p1] Error 1 make[2]: *** [build/default/production/mcc_generated_files/tmr0.p1] Error 1 make[2]: *** [build/default/production/mcc_generated_files/tmr2.p1] Error 1 make[2]: *** [build/default/production/mcc_generated_files/pwm6.p1] Error 1 terminate called after throwing an instance of 'std::invalid_argument' what(): No such file or directory

    IDE 编译 mplab pic TE default

    2985浏览量 4回复量 关注量
  • 部分中文没有 求助MPLAB X IDE 新建工程出现的编译问题

    [i=s] 本帖最后由 hsxs 于 2020-11-10 10:33 编辑 [/i] 之前没有接触过PIC的单片机 因为工作的需要,使用PIC12LF1501, 今天查了一遍网上的教程, 安装好IDE和 编译器之后, 新建了一下工程, 编译始终出现这个问题,换过老的版本V5.00,也是这个样子 [attach]1568446[/attach] [attach]1568444[/attach] CLEAN SUCCESSFUL (total time: 25ms) make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'D:/PIC/demo/demo.X' make -f nbproject/Makefile-default.mk dist/default/production/demo.X.production.hex make[2]: Entering directory 'D:/PIC/demo/demo.X' "C:\Program Files\Microchip\xc8\v2.31\bin\xc8-cc.exe" -mcpu=12LF1501 -c -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -I"C:/Program Files/Microchip/xc8/v2.31/pic/include" -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/main.p1 main.c make[2]: *** [build/default/production/main.p1] Error 1 terminate called after throwing an instance of 'std::invalid_argument' make[1]: *** [.build-conf] Error 2 what(): No such file or directory make: *** [.build-impl] Error 2 error: clang frontend command failed with exit code 3 (use -v to see invocation) (908) exit status = 1 nbproject/Makefile-default.mk:105: recipe for target 'build/default/production/main.p1' failed make[2]: Leaving directory 'D:/PIC/demo/demo.X' nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed make[1]: Leaving directory 'D:/PIC/demo/demo.X' nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed BUILD FAILED (exit value 2, total time: 1s)

    IDE mplab 编译 Fault default

    1935浏览量 14回复量 关注量