marlin-config icon indicating copy to clipboard operation
marlin-config copied to clipboard

problem compiling

Open jwt666 opened this issue 5 years ago • 5 comments

Hi I am trying to put marlin on my anet a8. problem is when compiling I get the error message avr-gcc-ar: cannot find plugin 'liblto_plugin_0.dll' any help would be great

jwt666 avatar Jul 13 '18 09:07 jwt666

HELLO! I'm am completely new to 3d printing, and a while back, my Anet A8 main board burnt out. I bought a MKS GEN V1.4. I tried compiling with the newest version of Marlin 1.1 bugfix, but this error message popped up: Arduino: 1.8.5 (Mac OS X), Board: "Sanguino, ATmega644 or ATmega644A (16 MHz)"

sketch/temperature.cpp: In static member function 'static void Temperature::isr()': temperature.cpp:2046: error: 'ADC_KEYPAD_PIN' was not declared in this scope START_ADC(ADC_KEYPAD_PIN); ^ sketch/temperature.cpp:1954:55: note: in definition of macro 'SET_ADMUX_ADCSRA' #define SET_ADMUX_ADCSRA(pin) ADMUX = _BV(REFS0) | (pin & 0x07); SBI(ADCSRA, ADSC) ^ sketch/temperature.cpp:2046:9: note: in expansion of macro 'START_ADC' START_ADC(ADC_KEYPAD_PIN); ^ exit status 1 'ADC_KEYPAD_PIN' was not declared in this scope

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Here is my Configuration file: https://drive.google.com/file/d/1lll4m8PQ_CQRM3Z5SsSeLwa2g8MDWUgt/view?usp=sharing (link to google drive)

I also have a MKS 1.5 board on hand, so if that would work better... let me know

Any help would be appreciated

choekben avatar Jul 13 '18 16:07 choekben

@jwt666 it looks like some issue with compiller installation try to reinstall Arduino/PlatformIO

Пт, 13 лип. 2018, 12:19 користувач jwt666 [email protected] пише:

Hi I am trying to put marlin on my anet a8. problem is when compiling I get the error message avr-gcc-ar: cannot find plugin 'liblto_plugin_0.dll' any help would be great

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/akaJes/marlin-config/issues/52, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5Qggqun1GpcqCq-4mAqhkkltZw1og2ks5uGGY0gaJpZM4VOkZI .

akaJes avatar Jul 17 '18 15:07 akaJes

@choekben you enabled ADC_KEYPAD option which works only with boards: Ramps, anet 10 and sanguinololu 11

Пт, 13 лип. 2018, 19:31 користувач choekben [email protected] пише:

I'm am completely new to 3d printing, and a while back, my Anet A8 main board burnt out. I bought a MKS GEN V1.4. I tried compiling with the newest version of Marlin 1.1 bugfix, but this error message popped up: Arduino: 1.8.5 (Mac OS X), Board: "Sanguino, ATmega644 or ATmega644A (16 MHz)"

sketch/temperature.cpp: In static member function 'static void Temperature::isr()': temperature.cpp:2046: error: 'ADC_KEYPAD_PIN' was not declared in this scope START_ADC(ADC_KEYPAD_PIN); ^ sketch/temperature.cpp:1954:55: note: in definition of macro 'SET_ADMUX_ADCSRA' #define SET_ADMUX_ADCSRA(pin) ADMUX = _BV(REFS0) | (pin & 0x07); SBI(ADCSRA, ADSC) ^ sketch/temperature.cpp:2046:9: note: in expansion of macro 'START_ADC' START_ADC(ADC_KEYPAD_PIN); ^ exit status 1 'ADC_KEYPAD_PIN' was not declared in this scope

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Here is my Configuration file: https://drive.google.com/file/d/1lll4m8PQ_CQRM3Z5SsSeLwa2g8MDWUgt/view?usp=sharing (link to google drive) Any help would be appreciated

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/akaJes/marlin-config/issues/52#issuecomment-404884968, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5Qgl8YPo-LIFJxnwILJPkbQvPydQwkks5uGMtYgaJpZM4VOkZI .

akaJes avatar Jul 17 '18 15:07 akaJes

@akaJes Thanks! how and where would I disable ADC_KEYPAD?

choekben avatar Jul 17 '18 17:07 choekben

This option depends to ZONESTAR_LCD . If you really need this option, it works only with listed above mainboards. Or just disable it

Вт, 17 лип. 2018, 20:10 користувач choekben [email protected] пише:

@akaJes https://github.com/akaJes Thanks! how and where would I disable ADC_KEYPAD?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/akaJes/marlin-config/issues/52#issuecomment-405656910, or mute the thread https://github.com/notifications/unsubscribe-auth/AC5QgpzRCWJSx17DqengXP-fCNQO20Cqks5uHhp4gaJpZM4VOkZI .

akaJes avatar Jul 17 '18 17:07 akaJes