Welcome! Log In Create A New Profile

Advanced

Problem compiling v1.09 in EclipseArduinoIDE

Posted by derek5a 
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 03, 2016 09:47AM
Looks like you forgot to add Libraries/Lwip to your include paths, but that output is already looking better than what you posted before winking smiley
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 03, 2016 10:09AM
eye popping smileyeye popping smileyeye popping smileyeye popping smiley

15:02:19 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Building file: ../DDA.cpp'
'Starting C++ compile'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/libsam" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/Device/ATMEL/" -I"C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino" -I"C:\Arduino-1.5.8\hardware\arduino\sam\variants\arduino_due_x" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\EMAC" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Flash" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Lwip" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MAX31855" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MCP4461" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SamNonDuePin" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI\utility" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SPI" -MMD -MP -MF"DDA.cpp.d" -MT"DDA.cpp.d" -D__IN_ECLIPSE__=1 -x c++ "../DDA.cpp" -o "DDA.cpp.o"
In file included from ../RepRapFirmware.h:88:0,
from ../DDA.cpp:8:
../Network.h: In member function 'bool NetworkTransaction::LostConnection() const':
../Network.h:98:46: error: 'nullptr' was not declared in this scope
bool LostConnection() const { return cs == nullptr || cs->pcb == nullptr; }
^
../Network.h: At global scope:
../Network.h:144:66: error: 'nullptr' was not declared in this scope
NetworkTransaction *GetTransaction(const ConnectionState *cs = nullptr);
^
In file included from ../RepRapFirmware.h:89:0,
from ../DDA.cpp:8:
../Platform.h:566:55: error: 'nullptr' was not declared in this scope
float GetTemperature(size_t heater, TempError* err = nullptr) const; // Result is in degrees Celsius
^
../Platform.h: In static member function 'static bool Platform::TempErrorPermanent(Platform::TempError)':
../Platform.h:1186:17: error: 'TempError' is not a class or namespace
return (err != TempError::errTimeout) && (err != TempError::errIO) && (err != TempError::errOk);
^
../Platform.h:1186:51: error: 'TempError' is not a class or namespace
return (err != TempError::errTimeout) && (err != TempError::errIO) && (err != TempError::errOk);
^
../Platform.h:1186:80: error: 'TempError' is not a class or namespace
return (err != TempError::errTimeout) && (err != TempError::errIO) && (err != TempError::errOk);
^
In file included from ../RepRapFirmware.h:90:0,
from ../DDA.cpp:8:
../Webserver.h: In member function 'bool Webserver::TelnetInterpreter::HasDataToSend() const':
../Webserver.h:387:88: error: 'nullptr' was not declared in this scope
inline bool Webserver::TelnetInterpreter::HasDataToSend() const { return gcodeReply != nullptr; }
^
In file included from ../RepRapFirmware.h:91:0,
from ../DDA.cpp:8:
../GCodes.h: In member function 'bool GCodes::HaveIncomingData() const':
../GCodes.h:240:30: error: 'WebSource' is not a class or namespace
webserver->GCodeAvailable(WebSource::HTTP) ||
^
../GCodes.h:241:30: error: 'WebSource' is not a class or namespace
webserver->GCodeAvailable(WebSource::Telnet) ||
^
../GCodes.h:242:29: error: 'SerialSource' is not a class or namespace
platform->GCodeAvailable(SerialSource::UScool smiley ||
^
../GCodes.h:243:29: error: 'SerialSource' is not a class or namespace
platform->GCodeAvailable(SerialSource::AUX);
^
../GCodes.h: In member function 'OutputBuffer* GCodes::GetAuxGCodeReply()':
../GCodes.h:264:18: error: 'nullptr' was not declared in this scope
auxGCodeReply = nullptr;
^
In file included from ../Move.h:11:0,
from ../RepRapFirmware.h:92,
from ../DDA.cpp:8:
../DDA.h: In member function 'void DDA::InsertDM(DriveMovement*)':
../DDA.h:148:17: error: 'nullptr' was not declared in this scope
while (*dmp != nullptr && (*dmp)->nextStepTime <= dm->nextStepTime)
^
In file included from ../Move.h:14:0,
from ../RepRapFirmware.h:92,
from ../DDA.cpp:8:
../DeltaProbe.h: In member function 'bool DeltaProbe::Finished() const':
../DeltaProbe.h:40:42: error: 'State' is not a class or namespace
bool Finished() const { return state == State::stopped || state == Stateeye popping smileyverran; }
^
../DeltaProbe.h:40:69: error: 'State' is not a class or namespace
bool Finished() const { return state == State::stopped || state == Stateeye popping smileyverran; }
^
../DeltaProbe.h: In member function 'bool DeltaProbe::Overran() const':
../DeltaProbe.h:41:41: error: 'State' is not a class or namespace
bool Overran() const { return state == Stateeye popping smileyverran; }
^
In file included from ../RepRapFirmware.h:92:0,
from ../DDA.cpp:8:
../Move.h: In member function 'bool Move::NoLiveMovement() const':
../Move.h:180:41: error: 'nullptr' was not declared in this scope
return DDARingEmpty() && currentDda == nullptr; // must test currentDda and DDARingEmpty *in this order* !
^
../DDA.cpp: In constructor 'DDA:grinning smileyDA(DDA*)':
../DDA.cpp:11:34: error: 'nullptr' was not declared in this scope
DDA:grinning smileyDA(DDA* n) : next(n), prev(nullptr), state(empty)
^
../DDA.cpp: In member function 'void DDA:grinning smileyebugPrint() const':
../DDA.cpp:61:23: error: 'DMState' is not a class or namespace
if (ddm.state != DMState::idle)
^
../DDA.cpp: In member function 'void DDA::Init()':
../DDA.cpp:76:22: error: 'DMState' is not a class or namespace
ddm[drive].state = DMState::idle;
^
../DDA.cpp: In member function 'bool DDA::Init(const float*, EndstopChecks, bool, FilePosition)':
../DDA.cpp:127:9: error: 'DMState' is not a class or namespace
? DMState::moving // on a delta printer, if one tower moves then we assume they all do
^
../DDA.cpp:128:9: error: 'DMState' is not a class or namespace
: DMState::idle;
^
../DDA.cpp:133:30: error: 'DMState' is not a class or namespace
dm.state = (delta != 0) ? DMState::moving : DMState::idle;
^
../DDA.cpp:133:48: error: 'DMState' is not a class or namespace
dm.state = (delta != 0) ? DMState::moving : DMState::idle;
^
../DDA.cpp:136:19: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp:174:39: error: 'DMState' is not a class or namespace
if (xyMoving || ddm[Z_AXIS].state == DMState::moving)
^
../DDA.cpp: In member function 'void DDA::RecalculateMove()':
../DDA.cpp:447:28: error: 'DMState' is not a class or namespace
if (ddm[drive].state == DMState::moving && endSpeed * fabs(directionVector[drive]) > p->ActualInstantDv(drive))
^
../DDA.cpp: In member function 'void DDA::CalcNewSpeeds()':
../DDA.cpp:476:28: error: 'DMState' is not a class or namespace
if (thisMoveDm.state == DMState::moving || nextMoveDm.state == DMState::moving)
^
../DDA.cpp:476:67: error: 'DMState' is not a class or namespace
if (thisMoveDm.state == DMState::moving || nextMoveDm.state == DMState::moving)
^
../DDA.cpp: In member function 'void DDA:tongue sticking out smileyrepare()':
../DDA.cpp:602:12: error: 'nullptr' was not declared in this scope
firstDM = nullptr;
^
../DDA.cpp:608:19: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp:671:16: error: 'DMState' is not a class or namespace
dm.state = DMState::idle;
^
../DDA.cpp: In member function 'bool DDA:confused smileytart(uint32_t)':
../DDA.cpp:695:17: error: 'nullptr' was not declared in this scope
if (firstDM == nullptr)
^
../DDA.cpp:706:20: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp: In member function 'bool DDA:confused smileytep()':
../DDA.cpp:787:10: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowHit:
^
../DDA.cpp:792:10: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowNear:
^
../DDA.cpp:807:11: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowHit:
^
../DDA.cpp:820:11: error: 'EndStopHit' is not a class or namespace
case EndStopHit::highHit:
^
../DDA.cpp:833:11: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowNear:
^
../DDA.cpp:856:13: error: 'nullptr' was not declared in this scope
if (dm == nullptr) // I don't think this should happen, but best to be sure
^
../DDA.cpp:876:24: error: 'nullptr' was not declared in this scope
else if (firstDM == nullptr)
^
../DDA.cpp: In member function 'void DDA:confused smileytopDrive(size_t)':
../DDA.cpp:913:18: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp:924:14: error: 'DMState' is not a class or namespace
dm.state = DMState::idle;
^
../DDA.cpp:930:18: error: 'nullptr' was not declared in this scope
if (firstDM == nullptr)
^
../DDA.cpp: In member function 'void DDA::ReduceHomingSpeed()':
../DDA.cpp:961:20: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp: In member function 'bool DDA::HasStepError() const':
../DDA.cpp:976:19: error: 'DMState' is not a class or namespace
if (dm.state == DMState::stepError)
^
../DDA.cpp: In member function 'DriveMovement* DDA::RemoveDM(size_t)':
../DDA.cpp:989:17: error: 'nullptr' was not declared in this scope
while (*dmp != nullptr)
^
../DDA.cpp:999:9: error: 'nullptr' was not declared in this scope
return nullptr;
^
make: *** [DDA.cpp.o] Error 1

15:02:21 Build Finished (took 1s.678ms)

I've imported the following libraries:
EMAC
Flash
Lwip
MAX31855
MCP4461
SamNonDuePin
SD_HSMCI
SPI

Is this correct or have I added stuff I don't need to?
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 03, 2016 10:26AM
Add this to your C compiler flags: -std=gnu11
And this to your C++ compiler flags: -std=gnu++11
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 04, 2016 05:15AM
You are missing a bunch of include directories. Here is what I see when compiling that file:

Building file: ../DDA.cpp'
'Starting C++ compile'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -std=gnu++11 -O2 -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_  -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/libsam" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/Device/ATMEL/"   -IC:/Arduino-1.5.8/hardware/arduino/sam/cores/arduino -IC:/arduino-1.5.8/hardware/arduino/sam/system/libsam/include -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\EMAC" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\Lwip" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\MCP4461" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\SamNonDuePin" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\SD_HSMCI" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\SD_HSMCI\utility" -I"C:\Arduino-1.5.8\hardware\arduino\sam\libraries\Wire" -I"C:/Arduino-1.5.8/hardware/arduino/sam/variants/arduino_due_x" -I"C:/Arduino-1.5.8/hardware\tools/gcc-arm-none-eabi-4.8.3-2014q1/lib/gcc/arm-none-eabi/4.8.3/include" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\Flash" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\SPI" -I"C:\Users\David\Eclipse\RepRapFirmware\Libraries\MAX31855" -MMD -MP -MF"DDA.cpp.d" -MT"DDA.cpp.d" -x c++ "../DDA.cpp"  -o  "DDA.cpp.o"   -Wall  -O2 -std=gnu++11
'Finished building: ../DDA.cpp'

My workspace path is C:/Users/David/Eclipse.

Edited 1 time(s). Last edit at 03/04/2016 05:15AM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 04, 2016 09:39AM
Thanks chrishamm... adding those flags seemed to make a big difference, the compilation console is now as follows:

11:08:29 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Building file: ../Platform.cpp'
'Starting C++ compile'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -std=gnu++11 -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/libsam" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/Device/ATMEL/" -I"C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino" -I"C:\Arduino-1.5.8\hardware\arduino\sam\variants\arduino_due_x" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\EMAC" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Flash" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Lwip" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MAX31855" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MCP4461" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SamNonDuePin" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI\utility" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SPI" -MMD -MP -MF"Platform.cpp.d" -MT"Platform.cpp.d" -D__IN_ECLIPSE__=1 -x c++ "../Platform.cpp" -o "Platform.cpp.o"
../Platform.cpp: In member function 'void Platform:confused smileypin()':
../Platform.cpp:767:55: error: 'class UARTClass' has no member named 'canWrite'
size_t bytesToWrite = min(SERIAL_AUX_DEVICE.canWrite(), auxOutputBuffer->BytesLeft());
^
../Platform.cpp:784:56: error: 'class USARTClass' has no member named 'canWrite'
size_t bytesToWrite = min(SERIAL_AUX2_DEVICE.canWrite(), aux2OutputBuffer->BytesLeft());
^
../Platform.cpp:810:57: error: 'class Serial_' has no member named 'canWrite'
size_t bytesToWrite = min(SERIAL_MAIN_DEVICE.canWrite(), usbOutputBuffer->BytesLeft());
^
../Platform.cpp: In member function 'void Platform:confused smileyoftwareReset(uint16_t)':
../Platform.cpp:863:28: error: 'class Serial_' has no member named 'canWrite'
if (!SERIAL_MAIN_DEVICE.canWrite())
^
../Platform.cpp:871:27: error: 'class UARTClass' has no member named 'canWrite'
if (!SERIAL_AUX_DEVICE.canWrite() || !SERIAL_AUX2_DEVICE.canWrite())
^
../Platform.cpp:871:61: error: 'class USARTClass' has no member named 'canWrite'
if (!SERIAL_AUX_DEVICE.canWrite() || !SERIAL_AUX2_DEVICE.canWrite())
^
make: *** [Platform.cpp.o] Error 1

11:08:30 Build Finished (took 991ms)

dc42, Judging from the compilation you sent I can see 3 missing inclusions taken from your list:

-IC:/arduino-1.5.8/hardware/arduino/sam/system/libsam/include
-I"C:\Arduino-1.5.8\hardware\arduino\sam\libraries\Wire"
-I"C:/Arduino-1.5.8/hardware\tools/gcc-arm-none-eabi-4.8.3-2014q1/lib/gcc/arm-none-eabi/4.8.3/include"

Though I can't see them in the "Import" section... Any ideas how I go about adding them?
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 04, 2016 11:20AM
You have not applied dc42's Ardunio core patches yet. Overwrite the files in your Arduino hardware board first (C:\Arduino-1.5.8\...\sam\...) and try to recompile the firmware.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 04, 2016 03:36PM
Quote
derek5a
-IC:/arduino-1.5.8/hardware/arduino/sam/system/libsam/include
-I"C:\Arduino-1.5.8\hardware\arduino\sam\libraries\Wire"
-I"C:/Arduino-1.5.8/hardware\tools/gcc-arm-none-eabi-4.8.3-2014q1/lib/gcc/arm-none-eabi/4.8.3/include"

Though I can't see them in the "Import" section... Any ideas how I go about adding them?

Go into Project Properties -> Arduino C++ Compiler -> Includes and add them there.

btw I am currently restructuring the build system to make the Eclipse project files more portable.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 06:41AM
As suggested I have updated the hardware folder in Arduino-1.5.8 with the contents of the ArduinoCorePatches folder found in dc42's firmware.

Also as suggested by dc42 I have added the three folders missing in to the folders for includes.

Quote
dc42
btw I am currently restructuring the build system to make the Eclipse project files more portable.

That sounds like a good idea, in which case this forum post might serve you well in finding out exactly what processes need to be covered. I do intend to stick with it until I manage to compile.

The new console error now is as follows:

11:35:47 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Building file: ../DDA.cpp'
'Starting C++ compile'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/libsam" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/Device/ATMEL/" -I"C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino" -I"C:\Arduino-1.5.8\hardware\arduino\sam\system\libsam\include" -I"C:\Arduino-1.5.8\hardware\arduino\sam\libraries\Wire" -I"C:\Arduino-1.5.8\hardware\tools\gcc-arm-none-eabi-4.8.3-2014q1\lib\gcc\arm-none-eabi\4.8.3\include" -I"C:\Arduino-1.5.8\hardware\arduino\sam\variants\arduino_due_x" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\EMAC" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Flash" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Lwip" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MAX31855" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MCP4461" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SamNonDuePin" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI\utility" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SPI" -MMD -MP -MF"DDA.cpp.d" -MT"DDA.cpp.d" -D__IN_ECLIPSE__=1 -x c++ "../DDA.cpp" -o "DDA.cpp.o"
In file included from ../RepRapFirmware.h:88:0,
from ../DDA.cpp:8:
../Network.h: In member function 'bool NetworkTransaction::LostConnection() const':
../Network.h:98:46: error: 'nullptr' was not declared in this scope
bool LostConnection() const { return cs == nullptr || cs->pcb == nullptr; }
^
../Network.h: At global scope:
../Network.h:144:66: error: 'nullptr' was not declared in this scope
NetworkTransaction *GetTransaction(const ConnectionState *cs = nullptr);
^
In file included from ../RepRapFirmware.h:89:0,
from ../DDA.cpp:8:
../Platform.h:566:55: error: 'nullptr' was not declared in this scope
float GetTemperature(size_t heater, TempError* err = nullptr) const; // Result is in degrees Celsius
^
../Platform.h: In static member function 'static bool Platform::TempErrorPermanent(Platform::TempError)':
../Platform.h:1186:17: error: 'TempError' is not a class or namespace
return (err != TempError::errTimeout) && (err != TempError::errIO) && (err != TempError::errOk);
^
../Platform.h:1186:51: error: 'TempError' is not a class or namespace
return (err != TempError::errTimeout) && (err != TempError::errIO) && (err != TempError::errOk);
^
../Platform.h:1186:80: error: 'TempError' is not a class or namespace
return (err != TempError::errTimeout) && (err != TempError::errIO) && (err != TempError::errOk);
^
In file included from ../RepRapFirmware.h:90:0,
from ../DDA.cpp:8:
../Webserver.h: In member function 'bool Webserver::TelnetInterpreter::HasDataToSend() const':
../Webserver.h:387:88: error: 'nullptr' was not declared in this scope
inline bool Webserver::TelnetInterpreter::HasDataToSend() const { return gcodeReply != nullptr; }
^
In file included from ../RepRapFirmware.h:91:0,
from ../DDA.cpp:8:
../GCodes.h: In member function 'bool GCodes::HaveIncomingData() const':
../GCodes.h:240:30: error: 'WebSource' is not a class or namespace
webserver->GCodeAvailable(WebSource::HTTP) ||
^
../GCodes.h:241:30: error: 'WebSource' is not a class or namespace
webserver->GCodeAvailable(WebSource::Telnet) ||
^
../GCodes.h:242:29: error: 'SerialSource' is not a class or namespace
platform->GCodeAvailable(SerialSource::UScool smiley ||
^
../GCodes.h:243:29: error: 'SerialSource' is not a class or namespace
platform->GCodeAvailable(SerialSource::AUX);
^
../GCodes.h: In member function 'OutputBuffer* GCodes::GetAuxGCodeReply()':
../GCodes.h:264:18: error: 'nullptr' was not declared in this scope
auxGCodeReply = nullptr;
^
In file included from ../Move.h:11:0,
from ../RepRapFirmware.h:92,
from ../DDA.cpp:8:
../DDA.h: In member function 'void DDA::InsertDM(DriveMovement*)':
../DDA.h:148:17: error: 'nullptr' was not declared in this scope
while (*dmp != nullptr && (*dmp)->nextStepTime <= dm->nextStepTime)
^
In file included from ../Move.h:14:0,
from ../RepRapFirmware.h:92,
from ../DDA.cpp:8:
../DeltaProbe.h: In member function 'bool DeltaProbe::Finished() const':
../DeltaProbe.h:40:42: error: 'State' is not a class or namespace
bool Finished() const { return state == State::stopped || state == Stateeye popping smileyverran; }
^
../DeltaProbe.h:40:69: error: 'State' is not a class or namespace
bool Finished() const { return state == State::stopped || state == Stateeye popping smileyverran; }
^
../DeltaProbe.h: In member function 'bool DeltaProbe::Overran() const':
../DeltaProbe.h:41:41: error: 'State' is not a class or namespace
bool Overran() const { return state == Stateeye popping smileyverran; }
^
In file included from ../RepRapFirmware.h:92:0,
from ../DDA.cpp:8:
../Move.h: In member function 'bool Move::NoLiveMovement() const':
../Move.h:180:41: error: 'nullptr' was not declared in this scope
return DDARingEmpty() && currentDda == nullptr; // must test currentDda and DDARingEmpty *in this order* !
^
../DDA.cpp: In constructor 'DDA:grinning smileyDA(DDA*)':
../DDA.cpp:11:34: error: 'nullptr' was not declared in this scope
DDA:grinning smileyDA(DDA* n) : next(n), prev(nullptr), state(empty)
^
../DDA.cpp: In member function 'void DDA:grinning smileyebugPrint() const':
../DDA.cpp:61:23: error: 'DMState' is not a class or namespace
if (ddm.state != DMState::idle)
^
../DDA.cpp: In member function 'void DDA::Init()':
../DDA.cpp:76:22: error: 'DMState' is not a class or namespace
ddm[drive].state = DMState::idle;
^
../DDA.cpp: In member function 'bool DDA::Init(const float*, EndstopChecks, bool, FilePosition)':
../DDA.cpp:127:9: error: 'DMState' is not a class or namespace
? DMState::moving // on a delta printer, if one tower moves then we assume they all do
^
../DDA.cpp:128:9: error: 'DMState' is not a class or namespace
: DMState::idle;
^
../DDA.cpp:133:30: error: 'DMState' is not a class or namespace
dm.state = (delta != 0) ? DMState::moving : DMState::idle;
^
../DDA.cpp:133:48: error: 'DMState' is not a class or namespace
dm.state = (delta != 0) ? DMState::moving : DMState::idle;
^
../DDA.cpp:136:19: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp:174:39: error: 'DMState' is not a class or namespace
if (xyMoving || ddm[Z_AXIS].state == DMState::moving)
^
../DDA.cpp: In member function 'void DDA::RecalculateMove()':
../DDA.cpp:447:28: error: 'DMState' is not a class or namespace
if (ddm[drive].state == DMState::moving && endSpeed * fabs(directionVector[drive]) > p->ActualInstantDv(drive))
^
../DDA.cpp: In member function 'void DDA::CalcNewSpeeds()':
../DDA.cpp:476:28: error: 'DMState' is not a class or namespace
if (thisMoveDm.state == DMState::moving || nextMoveDm.state == DMState::moving)
^
../DDA.cpp:476:67: error: 'DMState' is not a class or namespace
if (thisMoveDm.state == DMState::moving || nextMoveDm.state == DMState::moving)
^
../DDA.cpp: In member function 'void DDA:tongue sticking out smileyrepare()':
../DDA.cpp:602:12: error: 'nullptr' was not declared in this scope
firstDM = nullptr;
^
../DDA.cpp:608:19: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp:671:16: error: 'DMState' is not a class or namespace
dm.state = DMState::idle;
^
../DDA.cpp: In member function 'bool DDA:confused smileytart(uint32_t)':
../DDA.cpp:695:17: error: 'nullptr' was not declared in this scope
if (firstDM == nullptr)
^
../DDA.cpp:706:20: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp: In member function 'bool DDA:confused smileytep()':
../DDA.cpp:787:10: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowHit:
^
../DDA.cpp:792:10: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowNear:
^
../DDA.cpp:807:11: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowHit:
^
../DDA.cpp:820:11: error: 'EndStopHit' is not a class or namespace
case EndStopHit::highHit:
^
../DDA.cpp:833:11: error: 'EndStopHit' is not a class or namespace
case EndStopHit::lowNear:
^
../DDA.cpp:856:13: error: 'nullptr' was not declared in this scope
if (dm == nullptr) // I don't think this should happen, but best to be sure
^
../DDA.cpp:876:24: error: 'nullptr' was not declared in this scope
else if (firstDM == nullptr)
^
../DDA.cpp: In member function 'void DDA:confused smileytopDrive(size_t)':
../DDA.cpp:913:18: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp:924:14: error: 'DMState' is not a class or namespace
dm.state = DMState::idle;
^
../DDA.cpp:930:18: error: 'nullptr' was not declared in this scope
if (firstDM == nullptr)
^
../DDA.cpp: In member function 'void DDA::ReduceHomingSpeed()':
../DDA.cpp:961:20: error: 'DMState' is not a class or namespace
if (dm.state == DMState::moving)
^
../DDA.cpp: In member function 'bool DDA::HasStepError() const':
../DDA.cpp:976:19: error: 'DMState' is not a class or namespace
if (dm.state == DMState::stepError)
^
../DDA.cpp: In member function 'DriveMovement* DDA::RemoveDM(size_t)':
../DDA.cpp:989:17: error: 'nullptr' was not declared in this scope
while (*dmp != nullptr)
^
../DDA.cpp:999:9: error: 'nullptr' was not declared in this scope
return nullptr;
^
make: *** [DDA.cpp.o] Error 1

11:35:48 Build Finished (took 1s.85ms)

Looks like there is more needing to be added?
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 06:53AM
Quote
chrishamm
Add this to your C compiler flags: -std=gnu11
And this to your C++ compiler flags: -std=gnu++11

IIRC dc42 uses -std=c99 in his CFLAGS, but gnu11 should do the trick too. That's what I've been using in my makefiles.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 07:05AM
OMG THAT IS REALLY ANNOYING...

Every now and again the environment settings revert back to default!...

The USB flags reappear AND the Compiler flags disappear!...

chrishamm
Quote
chrishamm
Quote
chrishamm
Add this to your C compiler flags: -std=gnu11
And this to your C++ compiler flags: -std=gnu++11

IIRC dc42 uses -std=c99 in his CFLAGS, but gnu11 should do the trick too. That's what I've been using in my makefiles.

Since the last ones have disappeared I have updated the flags C compiler flags: -std=c99, C++ compiler flags: -std=gnu++11

Any idea why that could be? It happened before when I changed between boards. But I haven't done that recently?

OK so forget the last console message!... I'm thinking we must be pretty close!

This is the most recent Console error:

12:01:57 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Building file: C:/eclipse/workspace/RepRapFirmware/Libraries/SPI/spi_master.c'
'Starting C compile'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-gcc" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -std=c99 -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/libsam" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/Device/ATMEL/" -I"C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino" -I"C:\Arduino-1.5.8\hardware\arduino\sam\variants\arduino_due_x" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\EMAC" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Flash" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Lwip" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MAX31855" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MCP4461" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SamNonDuePin" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI\utility" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SPI" -MMD -MP -MF"Libraries/SPI/spi_master.c.d" -MT"Libraries/SPI/spi_master.c.d" -D__IN_ECLIPSE__=1 "C:/eclipse/workspace/RepRapFirmware/Libraries/SPI/spi_master.c" -o "Libraries/SPI/spi_master.c.o"
In file included from C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/Arduino.h:191:0,
from C:/eclipse/workspace/RepRapFirmware/Libraries/SPI/spi_master.c:49:
C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/wiring.h: In function 'delayMicroseconds':
C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/wiring.h:75:5: error: 'asm' undeclared (first use in this function)
asm volatile(
^
C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/wiring.h:75:5: note: each undeclared identifier is reported only once for each function it appears in
C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/wiring.h:75:9: error: expected ';' before 'volatile'
asm volatile(
^
make: *** [Libraries/SPI/spi_master.c.o] Error 1

12:01:58 Build Finished (took 885ms)
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 08:29AM
Try to change -std=c99 to -std=gnu99 - I must have been wrong when I said dc42 used c99 instead.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 12:01PM
Amended to -std=gnu99.

Current console error:

15:28:11 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Building file: C:/eclipse/workspace/RepRapFirmware/Libraries/SD_HSMCI/utility/hsmci.c'
'Starting C compile'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-gcc" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf -std=gnu99 -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/libsam" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/Device/ATMEL/" -I"C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino" -I"C:\Arduino-1.5.8\hardware\arduino\sam\variants\arduino_due_x" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\EMAC" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Flash" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Lwip" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MAX31855" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MCP4461" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SamNonDuePin" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI\utility" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SPI" -MMD -MP -MF"Libraries/SD_HSMCI/utility/hsmci.c.d" -MT"Libraries/SD_HSMCI/utility/hsmci.c.d" -D__IN_ECLIPSE__=1 "C:/eclipse/workspace/RepRapFirmware/Libraries/SD_HSMCI/utility/hsmci.c" -o "Libraries/SD_HSMCI/utility/hsmci.c.o"
C:/eclipse/workspace/RepRapFirmware/Libraries/SD_HSMCI/utility/hsmci.c:49:17: fatal error: pmc.h: No such file or directory
#include "pmc.h"
^
compilation terminated.
make: *** [Libraries/SD_HSMCI/utility/hsmci.c.o] Error 1

15:28:12 Build Finished (took 940ms)
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 12:15PM
Add C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/include to your include directories.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 03:07PM
Quote
chrishamm
Add C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/include to your include directories.

Is there a specific reason you say that?

I know it's missing from that compilation list but the strange thing is that is definately in the list of includes? drinking smiley
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 04:25PM
Yes, I'm saying that because "pmc.h" is in that directory winking smiley I guess you could add "include/" to each filename the compiler complains about, but getting Eclipse to add that specific path would be way easier.

Edited 1 time(s). Last edit at 03/07/2016 04:26PM by chrishamm.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 04:39PM
Attached a screenshot... Is it possible my method of adding is incorrect?

This was how it was setup when I compiled...

confused smiley
Attachments:
open | download - Library additions.png (124.7 KB)
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 07, 2016 06:18PM
Your screenshot shows the include paths for the C++ compiler, but you got that error when trying to compile a C file. You need to add that path to the C compiler include paths as well.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 08, 2016 05:51AM
Thanks,

Includes now added to both C AND C++ Compilers.

It feels like we're getting close!

Latest console error:

09:49:48 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Building file: ../ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp'
'Starting C++ compile'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -std=gnu++11 -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=158 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/libsam" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/CMSIS/Include/" "-IC:/Arduino-1.5.8/hardware/arduino/sam/system/CMSIS/Device/ATMEL/" -I"C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino" -I"C:\Arduino-1.5.8\hardware\arduino\sam\system\libsam\include" -I"C:\Arduino-1.5.8\hardware\arduino\sam\libraries\Wire" -I"C:\Arduino-1.5.8\hardware\tools\gcc-arm-none-eabi-4.8.3-2014q1\lib\gcc\arm-none-eabi\4.8.3\include" -I"C:\Arduino-1.5.8\hardware\arduino\sam\variants\arduino_due_x" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\EMAC" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Flash" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\Lwip" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MAX31855" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\MCP4461" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SamNonDuePin" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SD_HSMCI\utility" -I"C:\eclipse\workspace\RepRapFirmware\Libraries\SPI" -MMD -MP -MF"ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp.d" -MT"ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp.d" -D__IN_ECLIPSE__=1 -x c++ "../ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp" -o "ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp.o"
In file included from C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/Arduino.h:203:0,
from ../ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp:17:
../ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp:91:37: error: 'USB_PID' was not declared in this scope
D_DEVICE(0x00,0x00,0x00,64,USB_VID,USB_PID,0x100,IMANUFACTURER,IPRODUCT,0,1);
^
C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/USB/USBCore.h:285:60: note: in definition of macro 'D_DEVICE'
{ 18, 1, 0x200, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }
^
../ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp:94:45: error: 'USB_PID' was not declared in this scope
D_DEVICE(DEVICE_CLASS,0x00,0x00,64,USB_VID,USB_PID,0x100,IMANUFACTURER,IPRODUCT,0,1);
^
C:\Arduino-1.5.8\hardware\arduino\sam\cores\arduino/USB/USBCore.h:285:60: note: in definition of macro 'D_DEVICE'
{ 18, 1, 0x200, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }
^
make: *** [ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp.o] Error 1

09:49:49 Build Finished (took 1s.296ms)
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 08, 2016 07:57AM
I recall that in the build variables, you removed the definitions of the USB variables that were causing trouble. But you need 3 of them. USBCON just needs to be defined e.g. as 1. USBPID and USBVID need to have the correct values so that the board is recognised as an Arduino Due.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 08, 2016 08:31AM
Quote
dc42
I recall that in the build variables, you removed the definitions of the USB variables that were causing trouble. But you need 3 of them. USBCON just needs to be defined e.g. as 1. USBPID and USBVID need to have the correct values so that the board is recognised as an Arduino Due.

Before readjusting the environment data can I just double check the board you have set to?

Is it the Arduino Due (Programming Port) or Arduino Due (Native USB Port)?

Also is it possibly to copy and paste what the entire contents of your A.BUILD.USB_FLAGS environment variable contains?

Edited 1 time(s). Last edit at 03/08/2016 08:34AM by derek5a.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 08, 2016 08:56AM
OK so I have had a guess at the flags at fault and left as much as I can..

The current content of the A.BUILD.USB_FLAGS is : -DUSB_VID=${A.BUILD.VID} -DUSB_PID=${A.BUILD.PID} -DUSBCON

Manufacturer and Product variables have been removed.

Can you please confirm this is correct? Also would be good to get a final Board setting as mentioned above.

Finally some good news!. We're past the Starting Compile and on to Starting Combiner!

Latest Console Error:

13:50:49 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Starting combiner'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-gcc" -Os -Wl,--gc-sections -mcpu=cortex-m3 "-T/C:/Arduino-1.5.8/hardware/arduino/sam/variants/arduino_due_x/linker_scripts/gcc/flash.ld" "-Wl,-Map,C:/eclipse/workspace/RepRapFirmware/Release/RepRapFirmware.map" -o "C:/eclipse/workspace/RepRapFirmware/Release/RepRapFirmware.elf" "-LC:/eclipse/workspace/RepRapFirmware/Release" -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "C:/eclipse/workspace/RepRapFirmware/Release/arduino/syscalls_sam3.c.o" ./DDA.cpp.o ./DeltaParameters.cpp.o ./DeltaProbe.cpp.o ./DriveMovement.cpp.o ./FileStore.cpp.o ./GCodeBuffer.cpp.o ./GCodes.cpp.o ./Heat.cpp.o ./Isqrt.cpp.o ./MassStorage.cpp.o ./Move.cpp.o ./Network.cpp.o ./OutputMemory.cpp.o ./Platform.cpp.o ./PrintMonitor.cpp.o ./RepRapFirmware.cpp.o ./Reprap.cpp.o ./Roland.cpp.o ./StringRef.cpp.o ./Tool.cpp.o ./Webserver.cpp.o ./Libraries/Wire/Wire.cpp.o ./Libraries/SamNonDuePin/SamNonDuePin.cpp.o ./Libraries/SPI/spi_master.c.o ./Libraries/SD_HSMCI/utility/ccsbcs.c.o ./Libraries/SD_HSMCI/utility/ctrl_access.c.o ./Libraries/SD_HSMCI/utility/diskio.c.o ./Libraries/SD_HSMCI/utility/dmac.c.o ./Libraries/SD_HSMCI/utility/fattime_rtc.c.o ./Libraries/SD_HSMCI/utility/ff.c.o ./Libraries/SD_HSMCI/utility/hsmci.c.o ./Libraries/SD_HSMCI/utility/rtc.c.o ./Libraries/SD_HSMCI/utility/sd_mmc.c.o ./Libraries/SD_HSMCI/utility/sd_mmc_mem.c.o ./Libraries/MCP4461/MCP4461.cpp.o ./Libraries/MAX31855/MAX31855.cpp.o ./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o ./Libraries/Lwip/lwip/src/netif/etharp.c.o ./Libraries/Lwip/lwip/src/core/ipv4/autoip.c.o ./Libraries/Lwip/lwip/src/core/ipv4/icmp.c.o ./Libraries/Lwip/lwip/src/core/ipv4/igmp.c.o ./Libraries/Lwip/lwip/src/core/ipv4/inet.c.o ./Libraries/Lwip/lwip/src/core/ipv4/inet_chksum.c.o ./Libraries/Lwip/lwip/src/core/ipv4/ip.c.o ./Libraries/Lwip/lwip/src/core/ipv4/ip_addr.c.o ./Libraries/Lwip/lwip/src/core/ipv4/ip_frag.c.o ./Libraries/Lwip/lwip/src/core/def.c.o ./Libraries/Lwip/lwip/src/core/dhcp.c.o ./Libraries/Lwip/lwip/src/core/dns.c.o ./Libraries/Lwip/lwip/src/core/init.c.o ./Libraries/Lwip/lwip/src/core/lwip_timers_140.c.o ./Libraries/Lwip/lwip/src/core/mem.c.o ./Libraries/Lwip/lwip/src/core/memp.c.o ./Libraries/Lwip/lwip/src/core/netif.c.o ./Libraries/Lwip/lwip/src/core/pbuf.c.o ./Libraries/Lwip/lwip/src/core/raw.c.o ./Libraries/Lwip/lwip/src/core/stats.c.o ./Libraries/Lwip/lwip/src/core/sys.c.o ./Libraries/Lwip/lwip/src/core/tcp.c.o ./Libraries/Lwip/lwip/src/core/tcp_in.c.o ./Libraries/Lwip/lwip/src/core/tcp_out.c.o ./Libraries/Lwip/lwip/src/core/udp.c.o ./Libraries/Lwip/lwip/src/api/api_lib.c.o ./Libraries/Lwip/lwip/src/api/api_msg.c.o ./Libraries/Lwip/lwip/src/api/err.c.o ./Libraries/Lwip/lwip/src/api/netbuf.c.o ./Libraries/Lwip/lwip/src/api/netdb.c.o ./Libraries/Lwip/lwip/src/api/netifapi.c.o ./Libraries/Lwip/lwip/src/api/sockets.c.o ./Libraries/Lwip/lwip/src/api/tcpip.c.o ./Libraries/Lwip/contrib/apps/netbios/netbios.c.o ./Libraries/Flash/DueFlashStorage.cpp.o ./Libraries/Flash/efc.cpp.o ./Libraries/Flash/flash_efc.cpp.o ./Libraries/EMAC/ethernet_phy.c.o ./Libraries/EMAC/ethernet_sam.c.o ./ArduinoCorePatches/sam/variants/arduino_due_x/variant.cpp.o ./ArduinoCorePatches/sam/system/libsam/source/emac.c.o ./ArduinoCorePatches/sam/cores/arduino/USB/CDC.cpp.o ./ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp.o ./ArduinoCorePatches/sam/cores/arduino/UARTClass.cpp.o ./.metadata/.plugins/org.eclipse.cdt.make.core/specs.c.o ./.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp.o C:/eclipse/workspace/RepRapFirmware/Release/arduino.ar "/C:/Arduino-1.5.8/hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a" "C:/eclipse/workspace/RepRapFirmware/Release/arduino.ar" -Wl,--end-group -lm -gcc
arm-none-eabi-gcc: error: /C:/Arduino-1.5.8/hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a: Invalid argument
make: *** [RepRapFirmware.elf] Error 1

13:50:50 Build Finished (took 890ms)
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 08, 2016 05:03PM
In my build that argument appears as "C:/Arduino-1.5.8/hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a" without the leading forward slash character.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 06:41AM
OK so that was weird... The variable A.BUILD.VARIANT.PATH had a forward slash at the beginning? Really weird as I didn't add that location.

Anyways forward slash removed and the trial continues.

I was really hopeful that would be the last modification however there appears to be another problem this time with the emac file

Current console error:

11:39:45 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Starting combiner'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-gcc" -Os -Wl,--gc-sections -mcpu=cortex-m3 "-TC:/Arduino-1.5.8/hardware/arduino/sam/variants/arduino_due_x/linker_scripts/gcc/flash.ld" "-Wl,-Map,C:/eclipse/workspace/RepRapFirmware/Release/RepRapFirmware.map" -o "C:/eclipse/workspace/RepRapFirmware/Release/RepRapFirmware.elf" "-LC:/eclipse/workspace/RepRapFirmware/Release" -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "C:/eclipse/workspace/RepRapFirmware/Release/arduino/syscalls_sam3.c.o" ./DDA.cpp.o ./DeltaParameters.cpp.o ./DeltaProbe.cpp.o ./DriveMovement.cpp.o ./FileStore.cpp.o ./GCodeBuffer.cpp.o ./GCodes.cpp.o ./Heat.cpp.o ./Isqrt.cpp.o ./MassStorage.cpp.o ./Move.cpp.o ./Network.cpp.o ./OutputMemory.cpp.o ./Platform.cpp.o ./PrintMonitor.cpp.o ./RepRapFirmware.cpp.o ./Reprap.cpp.o ./Roland.cpp.o ./StringRef.cpp.o ./Tool.cpp.o ./Webserver.cpp.o ./Libraries/Wire/Wire.cpp.o ./Libraries/SamNonDuePin/SamNonDuePin.cpp.o ./Libraries/SPI/spi_master.c.o ./Libraries/SD_HSMCI/utility/ccsbcs.c.o ./Libraries/SD_HSMCI/utility/ctrl_access.c.o ./Libraries/SD_HSMCI/utility/diskio.c.o ./Libraries/SD_HSMCI/utility/dmac.c.o ./Libraries/SD_HSMCI/utility/fattime_rtc.c.o ./Libraries/SD_HSMCI/utility/ff.c.o ./Libraries/SD_HSMCI/utility/hsmci.c.o ./Libraries/SD_HSMCI/utility/rtc.c.o ./Libraries/SD_HSMCI/utility/sd_mmc.c.o ./Libraries/SD_HSMCI/utility/sd_mmc_mem.c.o ./Libraries/MCP4461/MCP4461.cpp.o ./Libraries/MAX31855/MAX31855.cpp.o ./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o ./Libraries/Lwip/lwip/src/netif/etharp.c.o ./Libraries/Lwip/lwip/src/core/ipv4/autoip.c.o ./Libraries/Lwip/lwip/src/core/ipv4/icmp.c.o ./Libraries/Lwip/lwip/src/core/ipv4/igmp.c.o ./Libraries/Lwip/lwip/src/core/ipv4/inet.c.o ./Libraries/Lwip/lwip/src/core/ipv4/inet_chksum.c.o ./Libraries/Lwip/lwip/src/core/ipv4/ip.c.o ./Libraries/Lwip/lwip/src/core/ipv4/ip_addr.c.o ./Libraries/Lwip/lwip/src/core/ipv4/ip_frag.c.o ./Libraries/Lwip/lwip/src/core/def.c.o ./Libraries/Lwip/lwip/src/core/dhcp.c.o ./Libraries/Lwip/lwip/src/core/dns.c.o ./Libraries/Lwip/lwip/src/core/init.c.o ./Libraries/Lwip/lwip/src/core/lwip_timers_140.c.o ./Libraries/Lwip/lwip/src/core/mem.c.o ./Libraries/Lwip/lwip/src/core/memp.c.o ./Libraries/Lwip/lwip/src/core/netif.c.o ./Libraries/Lwip/lwip/src/core/pbuf.c.o ./Libraries/Lwip/lwip/src/core/raw.c.o ./Libraries/Lwip/lwip/src/core/stats.c.o ./Libraries/Lwip/lwip/src/core/sys.c.o ./Libraries/Lwip/lwip/src/core/tcp.c.o ./Libraries/Lwip/lwip/src/core/tcp_in.c.o ./Libraries/Lwip/lwip/src/core/tcp_out.c.o ./Libraries/Lwip/lwip/src/core/udp.c.o ./Libraries/Lwip/lwip/src/api/api_lib.c.o ./Libraries/Lwip/lwip/src/api/api_msg.c.o ./Libraries/Lwip/lwip/src/api/err.c.o ./Libraries/Lwip/lwip/src/api/netbuf.c.o ./Libraries/Lwip/lwip/src/api/netdb.c.o ./Libraries/Lwip/lwip/src/api/netifapi.c.o ./Libraries/Lwip/lwip/src/api/sockets.c.o ./Libraries/Lwip/lwip/src/api/tcpip.c.o ./Libraries/Lwip/contrib/apps/netbios/netbios.c.o ./Libraries/Flash/DueFlashStorage.cpp.o ./Libraries/Flash/efc.cpp.o ./Libraries/Flash/flash_efc.cpp.o ./Libraries/EMAC/ethernet_phy.c.o ./Libraries/EMAC/ethernet_sam.c.o ./ArduinoCorePatches/sam/variants/arduino_due_x/variant.cpp.o ./ArduinoCorePatches/sam/system/libsam/source/emac.c.o ./ArduinoCorePatches/sam/cores/arduino/USB/CDC.cpp.o ./ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp.o ./ArduinoCorePatches/sam/cores/arduino/UARTClass.cpp.o ./.metadata/.plugins/org.eclipse.cdt.make.core/specs.c.o ./.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp.o C:/eclipse/workspace/RepRapFirmware/Release/arduino.ar "C:/Arduino-1.5.8/hardware/arduino/sam/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a" "C:/eclipse/workspace/RepRapFirmware/Release/arduino.ar" -Wl,--end-group -lm -gcc
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_dev_read':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:328: multiple definition of `emac_phy_read'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:328: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_phy_write':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:350: multiple definition of `emac_phy_write'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:350: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_network_control':
C:\Arduino-1.5.8\hardware\arduino\sam\system\libsam\include/../include/emac.h:264: multiple definition of `emac_dev_init'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/include/emac.h:264: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_dev_read':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:426: multiple definition of `emac_dev_read'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:426: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_dev_write':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:534: multiple definition of `emac_dev_write'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:534: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_dev_get_tx_load':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:600: multiple definition of `emac_dev_get_tx_load'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:600: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_dev_set_rx_callback':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:622: multiple definition of `emac_dev_set_rx_callback'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:622: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_dev_set_tx_wakeup_callback':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:655: multiple definition of `emac_dev_set_tx_wakeup_callback'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:655: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_dev_reset':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:676: multiple definition of `emac_dev_reset'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:676: first defined here
./ArduinoCorePatches/sam/system/libsam/source/emac.c.o: In function `emac_handler':
C:\eclipse\workspace\RepRapFirmware\Release/../ArduinoCorePatches/sam/system/libsam/source/emac.c:692: multiple definition of `emac_handler'
./Libraries/Lwip/lwip/src/sam/netif/ethernetif.c.o:C:/Arduino-1.5.8/hardware/arduino/sam/system/libsam/source/emac.c:692: first defined here
collect2.exe: error: ld returned 1 exit status
make: *** [RepRapFirmware.elf] Error 1

11:39:47 Build Finished (took 1s.791ms)
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 07:25AM
Would it not be possible for Chris or David to zip up their entire relevant directory tree(s) and make it accessible for the OP to download? So long as the OP has installed the same compiler version that should surely work immediately.

All my work projects are archived that way, together with the install files (and licences if relevant) for the tools. I have verified several times that with such an archive it is possible to set up a new PC (running the relevant OS) so as to be successfully building the project within 15 minutes with no tweaking or fiddling. It does mean that the project is in exactly the same directory path as the one it was archived from, but that is a small issue compared with the amount of fiddling it prevents.

There may of course need to be some settings to be changed if any of the tools store configuration settings outside the project directory (though apart from registry and paths those configuration files could also be archived if necessary)

Dave

Edited 1 time(s). Last edit at 03/09/2016 07:25AM by dmould.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 09:56AM
I don't use Eclipse any more and AFAIK my current version cannot be compiled with the Arduino Eclipse plugin, so I don't think this would help. My entire working directory is already on GitHub including build scripts for Windows and Linux, and I advised to use them instead before. The only file I haven't committed yet is my .clang file for auto-completion via vim-clang, but I guess this is not of interest anyway.

The current problem derek5a has is caused by the Arduino core patches directory - it has to be either deleted from the directory or excluded from building, which I did when I used them months ago. AFAIR the latter can be done by right-clicking the ArduinoCorePatches folder in Eclipse and navigating to "Resource management" -> "Exclude from build".
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 11:08AM
I have just succeeded in building my fork of RRF without using the Arduino plugin. I have a lot more testing to do before I publish this version as an official release, however I am in the process of updating my github repo with the new build files.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 12:27PM
I'm guessing this is a good thing?

17:01:50 **** Incremental Build of configuration Release for project RepRapFirmware ****
make all
'Building target: RepRapFirmware'
'Printing size:'
"C:/Arduino-1.5.8/hardware/tools/gcc-arm-none-eabi-4.8.3-2014q1/bin/arm-none-eabi-size" -A "C:/eclipse/workspace/RepRapFirmware/Release/RepRapFirmware.elf"
C:/eclipse/workspace/RepRapFirmware/Release/RepRapFirmware.elf :
section size addr
.text 217496 524288
.ARM.exidx 8 741784
.relocate 2480 537329664
.bss 37364 537332144
.ARM.attributes 41 0
.comment 154 0
.debug_info 1188220 0
.debug_abbrev 95593 0
.debug_loc 224748 0
.debug_aranges 12608 0
.debug_ranges 32048 0
.debug_line 154650 0
.debug_str 102391 0
.debug_frame 41192 0
Total 2108993


'Finished building target: RepRapFirmware'
' '

17:01:51 Build Finished (took 843ms)

smileys with beersmileys with beersmileys with beersmileys with beercool smileycool smileycool smileycool smileycool smileycool smileyhot smileyhot smileyhot smileyhot smileyhot smileyhot smileyhot smiley

Having removed the ArduinoCorePatches by clicking "Exclude from Build".... It seems the good news is in the console tab!...

However there still appears to be errors in the "Problems Tab"... 145 of them? With also 23 warnings?

Most of the warnings seem to stem from the resource "USBCore.cpp" (Strange as this file seems to be located in ArduinoCorePatches) and Warnings from "DDA.cpp"

Edited 1 time(s). Last edit at 03/09/2016 12:33PM by derek5a.
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 01:43PM
I don't get any warning from either of those files. I suggest you post your warning and error lists.

If you want to try my new build system:

1. In Eclipse create a new workspace in C:/Eclipse/Firmware. Then exit Eclipse.

2. Download and unzip the latest versions of my github RepRapFirmware and CoreDuet projects, so that in C:/Eclipse/Firmware you have folders RepRapFirmware and CoreDuet.

3. Load Eclipse. It should show that you have those two projects in that workspace.

4. Set up the path to the gcc tools. If you installed Arduino 1.5.8 in C:/Arduino-1.5.8 then they should be correct anyway. All the other project settings should be correct already.

5. Build project CoreDuet first, then RepRapFirmware.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 02:43PM
Copied error list as is. Format didn't cross over very well however so done my best to make it readable.

Error (100of145)
Description Resource PathLocation Type
make: *** [DDA.cpp.o] Error 1 C/C++ Problem
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 694 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 694 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 684 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 684 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 697 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 697 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 696 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 696 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 673 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 673 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 672 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 672 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 683 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 683 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 681 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 681 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 733 Semantic Error
Symbol 'UOTGHS_DEVIDR_SUSPEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 732 Semantic Error
Field 'UOTGHS_DEVIDR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 732 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 732 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 758 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 758 Semantic Error
Symbol 'UOTGHS_DEVCTRL_SPDCONF_HIGH_SPEED' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 733 Semantic Error
Field 'UOTGHS_DEVCTRL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 733 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 703 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 703 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 702 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 702 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 721 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 721 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 714 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 714 Semantic Error
Symbol 'UOTGHS_DEVIDR_DMA_1' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 580 Semantic Error
Symbol 'UOTGHS_DEVIDR_PEP_6' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 579 Semantic Error
Symbol 'UOTGHS_DEVIDR_PEP_5' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 578 Semantic Error
Symbol 'UOTGHS_DEVIDR_PEP_4' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 577 Semantic Error
Symbol 'UOTGHS_DEVIDR_DMA_5' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 584 Semantic Error
Symbol 'UOTGHS_DEVIDR_DMA_4' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 583 Semantic Error
Symbol 'UOTGHS_DEVIDR_DMA_3' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 582 Semantic Error
Symbol 'UOTGHS_DEVIDR_DMA_2' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 581 Semantic Error
Symbol 'UOTGHS_DEVIDR_UPRSMEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 572 Semantic Error
Symbol 'UOTGHS_DEVIDR_EORSMEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 571 Semantic Error
Symbol 'UOTGHS_DEVIDR_WAKEUPEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 570 Semantic Error
Symbol 'UOTGHS_DEVIDR_EORSTEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 569 Semantic Error
Symbol 'UOTGHS_DEVIDR_PEP_3' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 576 Semantic Error
Symbol 'UOTGHS_DEVIDR_PEP_2' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 575 Semantic Error
Symbol 'UOTGHS_DEVIDR_PEP_1' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 574 Semantic Error
Symbol 'UOTGHS_DEVIDR_PEP_0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 573 Semantic Error
Function 'Is_udd_sof' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 626 Semantic Error
Function 'udd_ack_out_received' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 619 Semantic Error
Function 'Is_udd_endpoint_interrupt' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 617 Semantic Error
Function 'udd_ack_reset' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 613 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 642 Semantic Error
Invalid arguments 'Candidates are:void UDD_Recv(long int, unsigned int *, long int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 642 Semantic Error
Function 'Is_udd_endpoint_interrupt' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 634 Semantic Error
Function 'udd_ack_sof' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 628 Semantic Error
Function 'udd_enable_address' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 605 Semantic Error
Function 'udd_configure_address' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 604 Semantic Error
Function 'Is_udd_reset' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 599 Semantic Error
Symbol 'UOTGHS_DEVIDR_DMA_6' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 585 Semantic Error
Function 'udd_enable_endpoint_interrupt' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 610 Semantic Error
Function 'udd_enable_setup_received_interrupt' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 609 Semantic Error
Symbol 'EP_TYPE_CONTROL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 608 Semantic Error
Invalid arguments 'Candidates are:void UDD_InitEP(long int, long int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 608 Semantic Error
Symbol 'UOTGHS_DEVEPT_EPEN2' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 517 Semantic Error
Field 'UOTGHS_DEVEPT' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 517 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 517 Semantic Error
Symbol 'UOTGHS_DEVEPTISR_CFGOK' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 516 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 526 Semantic Error
Symbol 'UOTGHS_DEVCTRL_TSTPCKT' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 524 Semantic Error
Field 'UOTGHS_DEVCTRL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 524 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 524 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 515 Semantic Error
Symbol 'UOTGHS_DEVEPTCFG_EPBK_1_BANK' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 513 Semantic Error
Symbol 'UOTGHS_DEVEPTCFG_EPTYPE_BLK' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 512 Semantic Error
Symbol 'UOTGHS_DEVEPTCFG_EPDIR_IN' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 511 Semantic Error
Field 'UOTGHS_DEVEPTISR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 516 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 516 Semantic Error
Symbol 'UOTGHS_DEVEPTCFG_ALLOC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 515 Semantic Error
Field 'UOTGHS_DEVEPTCFG' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 515 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 566 Semantic Error
Symbol 'UOTGHS_DEVCTRL_TSTK' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 549 Semantic Error
Field 'UOTGHS_DEVCTRL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 549 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 549 Semantic Error
Symbol 'UOTGHS_DEVIDR_SOFEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 568 Semantic Error
Symbol 'UOTGHS_DEVIDR_MSOFEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 567 Semantic Error
Symbol 'UOTGHS_DEVIDR_SUSPEC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 566 Semantic Error
Field 'UOTGHS_DEVIDR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 566 Semantic Error
Field 'UOTGHS_DEVEPTIDR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 527 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 527 Semantic Error
Symbol 'UOTGHS_DEVEPTICR_TXINIC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 526 Semantic Error
Field 'UOTGHS_DEVEPTICR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 526 Semantic Error
Symbol 'UOTGHS_DEVCTRL_TSTJ' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 538 Semantic Error
Field 'UOTGHS_DEVCTRL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 538 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 538 Semantic Error
Symbol 'UOTGHS_DEVEPTIDR_FIFOCONC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 527 Semantic Error
Symbol 'UOTGHS_DEVEPTISR_TXINI' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 472 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 268 Semantic Error
Invalid arguments 'Candidates are:void UDD_Recv(long int, unsigned int *, long int)'USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 268 Semantic Error
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 235 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 474 Semantic Error
Symbol 'UOTGHS_DEVEPTISR_TXINI' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 472 Semantic Error
Field 'UOTGHS_DEVEPTISR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 472 Semantic Error
make: *** [RepRapFirmware.elf] Error 1 C/C++ Problem
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 472 Semantic Error
Symbol 'EP0_SIZE' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 180 Semantic Error
Symbol 'USB_PID' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 94 Semantic Error
Symbol 'USB_PID' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 91 Semantic Error
Symbol 'EP_TYPE_INTERRUPT_IN_HID' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 36 Semantic Error
Invalid arguments 'Candidates are:long int UDD_Send(long int, const void *, long int)'USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 235 Semantic Error
Symbol 'EPX_SIZE' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 199 Semantic Error
Symbol 'EP0_SIZE' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 198 Semantic Error
Symbol 'EPX_SIZE' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 180 Semantic Error
Field 'UOTGHS_DEVDMA' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 507 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 507 Semantic Error
Field 'UOTGHS_DEVDMACONTROL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 506 Semantic Error
Field 'UOTGHS_DEVDMA' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 506 Semantic Error
Symbol 'UOTGHS_DEVEPTCFG_EPSIZE_64_BYTE' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 510 Semantic Error
Field 'UOTGHS_DEVEPTCFG' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 510 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 510 Semantic Error
Field 'UOTGHS_DEVDMACONTROL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 507 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 479 Semantic Error
Symbol 'UOTGHS_DEVISR_SUSP' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 474 Semantic Error
Symbol 'UOTGHS_DEVISR_SUSP' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 474 Semantic Error
Field 'UOTGHS_DEVISR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 474 Semantic Error
Symbol 'UOTGHS' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 506 Semantic Error
Function 'udd_get_endpoint_fifo_access8' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 486 Semantic Error
Symbol 'UOTGHS_DEVEPTICR_TXINIC' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 479 Semantic Error
Field 'UOTGHS_DEVEPTICR' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 479 Semantic Error
Symbol 'EP_TYPE_BULK_OUT' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 31 Semantic Error
Symbol 'EP_TYPE_BULK_IN' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 32 Semantic Error
make: *** [Platform.cpp.o] Error 1 C/C++ Problem
Symbol 'EP_TYPE_CONTROL' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 27 Semantic Error
Symbol 'EP_TYPE_INTERRUPT_IN' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 30 Semantic Error
Symbol 'FLT_MAX' could not be resolved Reprap.cpp /RepRapFirmware line 188 Semantic Error
Symbol 'FLT_MAX' could not be resolved Reprap.cpp /RepRapFirmware line 101 Semantic Error
make: *** [Libraries/SPI/spi_master.c.o] Error 1 C/C++ Problem
make: *** [Libraries/SD_HSMCI/utility/hsmci.c.o] Error 1 C/C++ Problem
make: *** [ArduinoCorePatches/sam/cores/arduino/USB/USBCore.cpp.o] Error 1 C/C++ Problem
Symbol 'EP0' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 784 Semantic Error
Invalid arguments 'Candidates are:void UDD_Send8(long int, unsigned int)' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 784 Semantic Error
Function 'udd_enable_endpoint_interrupt' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 772 Semantic Error
Function 'udd_enable_out_received_interrupt' could not be resolved USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 771 Semantic Error
Assignment to itself 'total = total' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 329 Code Analysis Problem
Assignment to itself 'total = total' USBCore.cpp /RepRapFirmware/ArduinoCorePatches/sam/cores/arduino/USB line 311 Code Analysis Problem
make: *** No rule to make target `clean'. C/C++ Problem
Re: Problem compiling v1.09 in EclipseArduinoIDE
March 09, 2016 02:58PM
Quote
dc42
I don't get any warning from either of those files. I suggest you post your warning and error lists.

If you want to try my new build system:

1. In Eclipse create a new workspace in C:/Eclipse/Firmware. Then exit Eclipse.

2. Download and unzip the latest versions of my github RepRapFirmware and CoreDuet projects, so that in C:/Eclipse/Firmware you have folders RepRapFirmware and CoreDuet.

3. Load Eclipse. It should show that you have those two projects in that workspace.

4. Set up the path to the gcc tools. If you installed Arduino 1.5.8 in C:/Arduino-1.5.8 then they should be correct anyway. All the other project settings should be correct already.

5. Build project CoreDuet first, then RepRapFirmware.

Sounds intriguing! I'll definately give it a try! Just to make sure I'm correct... The RepRapFirmware (https://github.com/dc42/RepRapFirmware) and CoreDuet (https://github.com/dc42/CoreDuet)...

It'll probably be tomorrow before I get the chance to run through it but I'll let you know how I get on. smiling smiley
Sorry, only registered users may post in this forum.

Click here to login