Problem compiling C++ in Eclipse

Hi All,

I am asking this on behalf of someone else. While I have used Eclipse for
Java, I have not yet used it for any other languages so could not help
directly, and when I Googled around, I did find tutorials on compiling with
the Eclipse CDT in general, but they did not seem specific to her problem.
Below, I have pasted her email to me. If anyone has any suggestions as to
what she might be able to do to resolve this issue, I would greatly
appreciate them. Thanks so much, and below is the message.

-----Pasted Text-----

I have pasted my makefile below.  I am trying to compile a project in which
I define my own classes as well as a main client.  The name of the .cpp file
to be run as the main program is FrogClient.cpp.  There is also Frog.cpp and
Frog.h wich define the class Frog.  I added the directory in which my files
are located to the includes path under the project properties.  Do I need to
add the file name as well, or just the directory?  When I try to build, I
get the message "Project file all not found".

 

CXXFLAGS = -O2 -g -Wall -fmessage-length=0

 

OBJS =  15Frog.o

 

LIBS =

 

TARGET = 15Frog.exe

 

$(TARGET): $(OBJS)
 $(CXX) -o $(TARGET) $(OBJS) $(LIBS)

 

all: $(TARGET)

 

clean:
 rm -f $(OBJS) $(TARGET)

-----End of Pasted Text-----

Regards,
Maria
________________________________________
Maria Kristic
Skype: MariaKristic
AIM: MCKristic
E-Mail and MSN:  <blocked::mailto:maria6289@xxxxxxxxxxxxx>
maria6289@xxxxxxxxxxxxx
Google Talk:  <blocked::mailto:Maria.Kristic@xxxxxxxxx>
Maria.Kristic@xxxxxxxxx
Yahoo Messenger:  <blocked::mailto:mariakristic@xxxxxxxxx>
mariakristic@xxxxxxxxx 

 

Other related posts: