4860| 1
|
[求助问答] 各位专家帮忙看看,为什么arduino ide编译可以通过,但在min... |
各位专家帮忙看看,为什么Arduino ide编译可以通过,但在mind+里却提示缺少头文件。是因为哪里的配置文件没写对吗? 写了一个针对mega2560的语音识别扩展插件,库文件已经放在了C:\Users\admin\Documents\Arduino\libraries\ 里面。 1. 在mind+里编译时,打印下面的提示,编译不通过。 C:\Users\admin\AppData\Local\DFScratch\dfrobot\dfrobot.ino:1:28: fatal error: ld3320Mega2560.h: No such file or directory 2. 把代码拷贝到arduino ide里,编译又是能通过。而且实际测试,功能正常,可以通过语音控制。 C:\Program Files (x86)\Mind+\Arduino\arduino-builder -preprocess -logger=machine -hardware C:\Program Files (x86)\Mind+\Arduino\hardware -tools C:\Program Files (x86)\Mind+\Arduino\tools-builder -tools C:\Program Files (x86)\Mind+\Arduino\hardware\tools\avr -built-in-libraries C:\Users\admin\AppData\Local\DFScratch\extensions\码趣编程-muchcodvoicerecognitionshielde4mega2560-thirdex\arduinoC\libraries -built-in-libraries C:\Program Files (x86)\Mind+\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10804 -build-path C:\Users\admin\AppData\Local\DFScratch\build -warnings=none -build-cache C:\Users\admin\AppData\Local\DFScratch\cache -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Mind+\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Mind+\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Mind+\Arduino\hardware\tools\avr -verbose C:\Users\admin\AppData\Local\DFScratch\dfrobot\dfrobot.ino C:\Users\admin\AppData\Local\DFScratch\dfrobot\dfrobot.ino:1:28: fatal error: ld3320Mega2560.h: No such file or directory compilation terminated. exit status 1 |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed