Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » i have a problem with eclipse
i have a problem with eclipse [message #1800273] Sat, 22 December 2018 17:55 Go to next message
priou alexandre is currently offline priou alexandreFriend
Messages: 1
Registered: December 2018
Junior Member
hi at all

i have Win8.1 Pro.
eclipse :
Eclipse IDE for C/C++ Developers

Version: 2018-09 (4.9.0)
Build id: 20180917-1800

MinGW et Cygwin
but when i create a new projet and after i buid my hello projet, i have this error message :

Building in: C:\Users\apriou\Desktop\PROJECTS\C\testcy\build\make.run.win32.x86_64
make -f ..\..\Makefile
make: ..\..\Makefile: No such file or directory
make: *** No rule to make target `..\..\Makefile'. Stop.
Build complete (1 errors, 0 warnings): C:\Users\apriou\Desktop\PROJECTS\C\testcy\build\make.run.win32.x86_64

but i have a Makefle with that :
PROJECT_ROOT = $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

OBJS = testcy.o

ifeq ($(BUILD_MODE),debug)
CFLAGS += -g
else ifeq ($(BUILD_MODE),run)
CFLAGS += -O2
else
$(error Build mode $(BUILD_MODE) not supported by this Makefile)
endif

all: testcy

testcy: $(OBJS)
$(CXX) -o $@ $^

%.o: $(PROJECT_ROOT)%.cpp
$(CXX) -c $(CFLAGS) $(CXXFLAGS) $(CPPFLAGS) -o $@ $<

%.o: $(PROJECT_ROOT)%.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<

clean:
rm -fr testcy $(OBJS)

///
i have just create a project by eclispe

if you have a solution ?

thank for your help
alexandre
Re: i have a problem with eclipse [message #1800424 is a reply to message #1800273] Thu, 27 December 2018 19:00 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Are you sure that the Makefile is in the correct directory?

Look at the error message:
make: ..\..\Makefile: No such file or directory


--

Tauno Voipio
Re: i have a problem with eclipse [message #1801941 is a reply to message #1800424] Tue, 29 January 2019 17:22 Go to previous message
shane  watson is currently offline shane watsonFriend
Messages: 2
Registered: January 2019
Junior Member
i have also experieced the same problem with eclipse so i have used the codelite for few days and then my bro fixed this issue of the eclipse and i got used to it later but you should have some prior knowledge before using the eclipse ide for c and c plus plus
Previous Topic:LEON IDE
Next Topic:Eclipse starts when I install but then it won't open
Goto Forum:
  


Current Time: Sat Apr 27 02:14:19 GMT 2024

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

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

Back to the top