config tool set NUM_EXTRUDER to 0?
July 20, 2014 08:44PM
I downloaded the latest firmware, 0.91, and tried the config tool as I downloaded to set things up for me.
Things are going ok, and I am even trying the host ver 1.0 RC2.
My extruder will not heat or manually travel.
I noticed the setting for NUM_EXTRUDER in Configuration.h is 0.

Does that sound right?
My previous configuration.h had it at 1, as I have one extruder.
I did switch x-axis to extruder 2 in pins.h, but I triple verified I did it right.
It all worked before grabbing the new firmware.
I got the new firmware as I wanted support for a 128x64 lcd controller.
Note that once I installed the host ver 1 RC2, the previous host versions will not run, they give an immediate error.
I like the ver 1 anyway.

If I set NUM_EXTRUDER to 1, I get a firmware compile error.
Here is some of the error report, any ideas on this?


In file included from /Repetier.h:117,
from Commands.cpp:22:
Configuration.h:1: error: expected unqualified-id before numeric constant
In file included from c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/inttypes.h:37,
from c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:80,
from /HAL.h:33,
from /Repetier.h:264,
from Commands.cpp:22:
c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/stdint.h:159: error: 'int8_t' does not name a type
c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/stdint.h:213: error: 'int8_t' does not name a type
In file included from /HAL.h:33,
from /Repetier.h:264,
from Commands.cpp:22:
c:/program files (x86)/arduino/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:215: error: 'int8_t' does not name a type
In file included from /Repetier.h:265,
from Commands.cpp:22:
gcode.h:171: error: 'int8_t' does not name a type
In file included from /Repetier.h:271,
from Commands.cpp:22:
ui.h:213: error: 'int8_t' does not name a type
ui.h:354: error: 'int8_t' does not name a type
Re: config tool set NUM_EXTRUDER to 0?
July 21, 2014 06:11AM
Of course is 0 extruder wrong if you have 1:-)

Especially if you get error like this concentrate on the first error:

Configuration.h:1: error: expected unqualified-id before numeric constant

not sure what you have written in line 1 but that causes errors and probably causes the following errors as well. int8_t is a type defined by a include so i guess cause of error 1 the right header which defines it does not get included.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: config tool set NUM_EXTRUDER to 0?
July 21, 2014 12:30PM
well good, I was starting to wonder if 0 was just a name. like 0 indexed as a programmer would do.
Sorry, only registered users may post in this forum.

Click here to login