Couldn't parse command line
已完成
Hello,
Why am I getting this error on this command line? I'm using latest CLion and I can add that normal build works fine and completes successfully. Tho, intellisense is not.
Couldn't parse command line: 'C:\Program Files\Microchip\xc8\v2.30\bin\xc8-cc.exe -mcpu=18F27K42 -Wl,-Map=dist/default/production/CPM_VentilationControl_Firmware.production.map -DXPRJ_default=default -Wl,--defsym=__MPLAB_BUILD=1 -mdfp=C:/Users/Roze/.mchp_packs/Microchip/PIC18F-K_DFP/1.8.249/xc8 -fno-short-double -fno-short-float -memi=wordwrite -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -Id:/svn/tcptest/Ridorana/include -Id:/svn/tcptest/Microchip/Include -I. -mwarn=-3 -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx32 -Wl,--data-init -mno-keep-startup -mno-download -mdefault-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto:auto -Wl,--memorysummary,dist/default/production/memoryfile.xml -o dist/default/production/CPM_VentilationControl_Firmware.production.elf build/default/production/CPMVentilationControllerV1.p1 build/default/production/_ext/632393306/i2c_arp_client-xc8.p1 build/default/production/_ext/632393306/i2c_slave-xc8.p1 build/default/production/HardwareInit.p1'
No input file specified
请先登录再写评论。
Hello!
I see that you found the corresponding issue in our tracker - CPP-8021. Have you created a configuration file for XC8 with its description in YAML format?
Hello and thank you for the reply.
I have more or less given up on using CLion for Microchip projects. Either I will use the old version or I will stick to MPLAB. There is not enough guides to help me write a configuration file for this, and it seems CLion cant send properly encoded file names to the makefile anyway. Nor parse the MPLAB generated makefiles to determine what files to use in a project. It seems like the microchip XC8 toolchain simply is not compatible with CLion. That and the fact that I do not know the compiler deep enough to write such file for it.
With the old version, I could at least make a CMakeFile-project and “spoof” the environment into at least providing autocompletion help. But the current version cant even do that. Because of the new Nova system simply not playing nice with just being a parser. And the old system no longer able to parse Microchip include files without crashing. As mentioned in another issue.
//Kind regards.