|
楼主 |
发表于 2018-4-15 01:03:13
|
显示全部楼层
感谢7总关注和帮助。详细报错如下:(fatal error: DHT.h: No such file or directory,这个DHT.h是什么东西呀)
Arduino:1.8.5 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\wen\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\wen\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\文档\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:CpuFrequency=80,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=none,UploadSpeed=115200 -ide-version=10805 -build-path C:\Users\wen\AppData\Local\Temp\arduino_build_569078 -warnings=all -build-cache C:\Users\wen\AppData\Local\Temp\arduino_cache_534628 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.esptool.path=C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.13 -prefs=runtime.tools.mkspiffs.path=C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -verbose D:\应用\云与智能家居\Arduino绿色整合打包版\arduino-hassmart\hassmart\sonoff-t-1.01\sonoff-t-1.01.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\wen\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\wen\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries D:\文档\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:CpuFrequency=80,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,FlashErase=none,UploadSpeed=115200 -ide-version=10805 -build-path C:\Users\wen\AppData\Local\Temp\arduino_build_569078 -warnings=all -build-cache C:\Users\wen\AppData\Local\Temp\arduino_cache_534628 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.esptool.path=C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.13 -prefs=runtime.tools.mkspiffs.path=C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -verbose D:\应用\云与智能家居\Arduino绿色整合打包版\arduino-hassmart\hassmart\sonoff-t-1.01\sonoff-t-1.01.ino
Using board 'nodemcuv2' from platform in folder: C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1
Using core 'esp8266' from platform in folder: C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1
Detecting libraries used...
"C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/include" "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/lwip2/include" "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\wen\AppData\Local\Temp\arduino_build_569078/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10805 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU" -DESP8266 "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\cores\esp8266" "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\variants\nodemcu" "C:\Users\wen\AppData\Local\Temp\arduino_build_569078\sketch\sonoff-t-1.01.ino.cpp" -o "nul"
"C:\Users\wen\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/include" "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/lwip2/include" "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\wen\AppData\Local\Temp\arduino_build_569078/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10805 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU" -DESP8266 "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\cores\esp8266" "-IC:\Users\wen\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\variants\nodemcu" "C:\Users\wen\AppData\Local\Temp\arduino_build_569078\sketch\sonoff-t-1.01.ino.cpp" -o "C:\Users\wen\AppData\Local\Temp\arduino_build_569078\preproc\ctags_target_for_gcc_minus_e.cpp"
D:\搴旂敤\浜戜笌鏅鸿兘瀹跺眳\Arduino缁胯壊鏁村悎鎵撳寘鐗圽arduino-hassmart\hassmart\sonoff-t-1.01\sonoff-t-1.01.ino:34:17: fatal error: DHT.h: No such file or directory
compilation terminated.
exit status 1
为开发板 NodeMCU 1.0 (ESP-12E Module) 编译时出错。 |
|