Welcome! Log In Create A New Profile

Advanced

Marlin compile error

Posted by km28104 
Marlin compile error
March 20, 2013 10:44PM
Using Arduino v22
New Gen6 board
made minor changes in Config.h and got the following errors:

temperature.cpp:728:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:728:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:728:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp:728:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:728:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:728:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:728:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp:728:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:728:1: error: invalid suffix "_WPORT" on integer constant
temperature.cpp:728:1: error: pasting "DIO" and "-" does not give a valid preprocessing token
temperature.cpp:728:1: error: invalid suffix "_PIN" on integer constant
temperature.cpp: In function 'void bed_max_temp_error()':
temperature.cpp:727: error: 'DIO' was not declared in this scope
Not sure what this means or how to fix.

This was a fresh download of the marlin firmware.
Re: Marlin compile error
March 22, 2013 10:28AM
This appears to be a problem with the Marlin Firmware. I tried editing & compiling the sprinter firmware and had no problems.

What could I be doing wrong?

Ken
Re: Marlin compile error
February 18, 2014 12:41PM
I seem to be getting a similar problem with Repetier when I have Z-probing enabled. So, it's not just Marlin.
Re: Marlin compile error
March 19, 2014 01:13AM
hi guys,
im making a prusa i3 and for it I got the components from aliexpress, I got a cheap extruder from the link below.

[www.aliexpress.com]

anyways I only had to change the heatbed and thermistor settings in the confi.h file of marlin the board an other settings wer already matching my ramps board, however im getting an error when compiling the firmware after changing it

I connected my arduino mega and tried uploading the marlin FW directly, it uploaded successfully, however after changing the below code #define

TEMP_SENSOR_0 -2
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 1

im getting an error saying "void value not ignired as it ought to be" and a few other errors saying , "HEAT_INTRAVAL was not declared in this scope" etc

error log im getting

temperature.cpp: In function 'void manage_heater()':
temperature.cpp:446: error: void value not ignored as it ought to be
temperature.cpp: At global scope:
temperature.cpp:972: error: 'HEAT_INTERVAL' was not declared in this scope
Re: Marlin compile error
March 19, 2014 10:43AM
Looks like on line 972, it should be "MAX6675_HEAT_INTERVAL" instead of "HEAT_INTERVAL"
Sorry, only registered users may post in this forum.

Click here to login