问答

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

疯子是谁

TA的家园币:9  

  • 部分中文没有 求助MPLAB X IDE 新建工程出现的编译问题

    本帖最后由hsxs于2020-11-1010:33编辑之前没有接触过PIC的单片机因为工作的需要,使用PIC12LF1501,今天查了一遍网上的教程,安装好IDE和编译器之后,新建了一下工程,编译始终出现这个问题,换过老的版本V5.00,也是这个样子CLEANSUCCESSFUL(totaltime:25ms)make-fnbproject/Makefile-default.mkSUBPROJECTS=.build-confmake[1]:Enteringdirectory'D:/PIC/demo/demo.X'make-fnbproject/Makefile-default.mkdist/default/production/demo.X.production.hexmake[2]:Enteringdirectory'D:/PIC/demo/demo.X'"C:\ProgramFiles\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:/ProgramFiles/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-obuild/default/production/main.p1main.cmake[2]:***Error1terminatecalledafterthrowinganinstanceof'std::invalid_argument'make[1]:***[.build-conf]Error2what():Nosuchfileordirectorymake:***[.build-impl]Error2error:clangfrontendcommandfailedwithexitcode3(use-vtoseeinvocation)(908)exitstatus=1nbproject/Makefile-default.mk:105:recipefortarget'build/default/production/main.p1'failedmake[2]:Leavingdirectory'D:/PIC/demo/demo.X'nbproject/Makefile-default.mk:90:recipefortarget'.build-conf'failedmake[1]:Leavingdirectory'D:/PIC/demo/demo.X'nbproject/Makefile-impl.mk:39:recipefortarget'.build-impl'failedBUILDFAILED(exitvalue2,totaltime:1s)

    IDE mplab 编译 Fault default

    2020-11-09 14