Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Arduino Plugin(make error)
Arduino Plugin [message #1834041] Fri, 30 October 2020 18:47 Go to next message
MEHMET OKŞAN is currently offline MEHMET OKŞANFriend
Messages: 2
Registered: October 2020
Junior Member
Hi, everyone,
I'm using CDT 1O.O. I downloaded the Arduino Eclipse IDE(3.0) for CDT. When I click Build, errors occurred.

"Errors occurred during the build.
Errors running builder 'CDT Core Builder' on project 'a_third'.
Build error
Cannot run program "make" (in directory "/home/mehmet/eclipse-workspace/a_third/build/Go_Arduino"): error=2, No such file or directory
Build error
Cannot run program "make" (in directory "/home/mehmet/eclipse-workspace/a_third/build/Go_Arduino"): error=2, No such file or directory"


makefile summary ;

ifeq ($(OS),Windows_NT)
SHELL = $(ComSpec)
RMDIR = rmdir /s /q
RM = del /q
mymkdir = if not exist "$1" mkdir "$1"
else
RMDIR = rm -fr
RM = rm -f
mymkdir = mkdir -p $1
endif

PROJECT_OBJS = \
project/a_third.cpp.o \
...
...
...
...
...
PLATFORM_VARIANT_OBJS = \

LIBRARIES_OBJS = \

TARGETS = \
a_third.hex \

all: $(TARGETS)

a_third.hex: a_third.elf
"/home/mehmet/.arduinocdt/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "./a_third.elf" "./a_third.hex"

a_third.elf: $(PROJECT_OBJS) $(LIBRARIES_OBJS) core.a
"/home/mehmet/.arduinocdt/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega32u4 -o "./a_third.elf" $(PROJECT_OBJS) $(LIBRARIES_OBJS) "./core.a" "-L." -lm

core.a: $(PLATFORM_CORE_OBJS) $(PLATFORM_VARIANT_OBJS)

clean:
-$(RMDIR) project core variant libraries
-$(RM) *.hex *.eep *.bin *.elf *.a *.ar *.d

size:
"/home/mehmet/.arduinocdt/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "./a_third.elf"
Re: Arduino Plugin [message #1834067 is a reply to message #1834041] Sun, 01 November 2020 07:51 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Is make installed?
If so, can you execute it from a terminal window?
Is it in the execution path?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=528368
See comments 4 and 5

Also at the Marketplace:
https://marketplace.eclipse.org/content/eclipse-c-ide-arduino-no-longer-maintained-see-details
Quote:
Eclipse C++ IDE for Arduino (No longer maintained, see details)
Please consider using The Arduino Eclipse IDE and plug-ins named Sloeber for your future Eclipse CDT powered Arduino development.


The Arduino Eclipse IDE named Sloeber:
https://marketplace.eclipse.org/node/2637354

Re: Arduino Plugin [message #1834075 is a reply to message #1834067] Sun, 01 November 2020 18:50 Go to previous message
MEHMET OKŞAN is currently offline MEHMET OKŞANFriend
Messages: 2
Registered: October 2020
Junior Member
Thank you, David, Its resolved. This is a "make" problem.
Previous Topic:alt+tab and F3 does not work for some C++-files with unknown icon
Next Topic:how can I import existing meson project into eclipse?
Goto Forum:
  


Current Time: Mon Oct 07 05:18:08 GMT 2024

Powered by FUDForum. Page generated in 0.03255 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top