GyverLibs / TimerMs

Многофункциональный программный таймер на системном таймере millis() для Arduino
MIT License
38 stars 7 forks source link

not work if install from library manager #5

Closed zappbrannigan34 closed 1 year ago

zappbrannigan34 commented 1 year ago

location of .h file inside src directory. Compilation error: TimerMs.h: No such file or directory move .h file upper

GyverLibs commented 1 year ago

U are doing smth wrong image

zappbrannigan34 commented 1 year ago

Using board 'nano' from platform in folder: C:\Users\zap\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6 Using core 'arduino' from platform in folder: C:\Users\zap\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6 Detecting libraries used... "C:\Users\zap\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\zap\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\zap\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "C:\Users\zap\AppData\Local\Temp\arduino-sketch-39C2415582801790905D58028AED1B40\sketch\water.ino.cpp" -o nul Alternatives for TimerMs.h: [TimerMs@1.2] ResolveLibrary(TimerMs.h) -> candidates: [TimerMs@1.2] "C:\Users\zap\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\Users\zap\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino" "-IC:\Users\zap\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs" "-IC:\Users\zap\OneDrive\Документы\Arduino\libraries\TimerMs\src" "C:\Users\zap\AppData\Local\Temp\arduino-sketch-39C2415582801790905D58028AED1B40\sketch\water.ino.cpp" -o nul C:\Users\zap\OneDrive\Документы\Arduino\water\water.ino:1:10: fatal error: TimerMs.h: No such file or directory compilation terminated. Alternatives for TimerMs.h: [TimerMs@1.2] ResolveLibrary(TimerMs.h) -> candidates: [TimerMs@1.2]

Используем библиотеку TimerMs версии 1.2 из папки: C:\Users\zap\OneDrive\Документы\Arduino\libraries\TimerMs exit status 1

Compilation error: TimerMs.h: No such file or directory

zappbrannigan34 commented 1 year ago

image

GyverLibs commented 1 year ago

IDE v2 is a bunch of bugs now, use IDE v1.8.19

GyverLibs commented 1 year ago

image

zappbrannigan34 commented 1 year ago

image

GyverLibs commented 1 year ago

🤷‍♂️

zappbrannigan34 commented 1 year ago

как отдебажить?

zappbrannigan34 commented 1 year ago

остальные библиотеки работают

GyverLibs commented 1 year ago

включить подробный вывод компиляции в настройках IDE попробовать

zappbrannigan34 commented 1 year ago

это и есть подробный вывод на скрине

GyverLibs commented 1 year ago

если пример из библиотеки открыть, скомпилит?