-
部分中文没有 求助MPLAB X IDE 新建工程出现的编译问题
之前没有接触过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)
2020-11-09 14