6 Replies - 2175 Views - Last Post: 21 March 2008 - 09:10 AM Rate Topic: -----

#1 Sepanto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 97
  • Joined: 20-March 08

dev c++ compiliation error.

Posted 20 March 2008 - 03:03 PM

I compiled a project i wrote on dev-c++ and it gave me the next error:
# Project: tic-tac-toe														
# Makefile created by Dev-C++ 4.9.8.0										 
																			  
CPP  = g++.exe																
CC   = gcc.exe																
WINDRES = windres.exe														 
RES  =																		
OBJ  = "G:/Bar Ilan/Cpp/2/main5.o" $(RES)									 
LINKOBJ  = "G:/Bar Ilan/Cpp/2/main5.o" $(RES)								 
LIBS =  -L"C:/Dev-Cpp/lib"													
INCS =  -I"C:/Dev-Cpp/include"												
CXXINCS =  -I"C:/Dev-Cpp/include/c++"  -I"C:/Dev-Cpp/include/c++/mingw32"  -I"
BIN  = tic-tac-tioe.exe													   
CXXFLAGS = $(CXXINCS)														 
CFLAGS = $(INCS)															  
																			  
.PHONY: all all-before all-after clean clean-custom						   
																			  
all: all-before tic-tac-tioe.exe all-after									
																			  
																			  
clean: clean-custom														   
	rm -f $(OBJ) $(BIN)														  
																			  
$(BIN): $(LINKOBJ)															
	$(CC) $(LINKOBJ) -o "tic-tac-tioe.exe" $(LIBS)							   
																			  
"G:/Bar Ilan/Cpp/2/main5.o": G:/Bar\ Ilan/Cpp/2/main5.c					   
	$(CC) -c "G:/Bar Ilan/Cpp/2/main5.c" -o "G:/Bar Ilan/Cpp/2/main5.o" $(CFLAGS)

.
can someone explain to me the problem.

Is This A Good Question/Topic? 0
  • +

Replies To: dev c++ compiliation error.

#2 GWatt  Icon User is offline

  • member icon

Reputation: 257
  • View blog
  • Posts: 3,035
  • Joined: 01-December 05

Re: dev c++ compiliation error.

Posted 20 March 2008 - 03:13 PM

That's not an error, that's a makefile.
Was This Post Helpful? 0
  • +
  • -

#3 Sepanto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 97
  • Joined: 20-March 08

Re: dev c++ compiliation error.

Posted 20 March 2008 - 03:16 PM

my bad, it said that in line 25 [build Error] ***multiple target patterns. Stop.
line 25 says :$(BIN): $(LINKOBJ)
Was This Post Helpful? 0
  • +
  • -

#4 Sepanto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 97
  • Joined: 20-March 08

Re: dev c++ compiliation error.

Posted 21 March 2008 - 04:07 AM

any1 got an idea? i can't seem to compile the file
Was This Post Helpful? 0
  • +
  • -

#5 prads  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 113
  • Joined: 22-October 07

Re: dev c++ compiliation error.

Posted 21 March 2008 - 04:19 AM

what do u have on line 25......in your code??
Was This Post Helpful? 0
  • +
  • -

#6 Sepanto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 97
  • Joined: 20-March 08

Re: dev c++ compiliation error.

Posted 21 March 2008 - 04:25 AM

it said the problem is in line 25 of makefile.win(what i posted)
howver line 25 in the code is :

int win_check(int dim,char *game_board);


Was This Post Helpful? 0
  • +
  • -

#7 Sepanto  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 0
  • View blog
  • Posts: 97
  • Joined: 20-March 08

Re: dev c++ compiliation error.

Posted 21 March 2008 - 09:10 AM

I know it's off topic but I don't wanna open a new subject for this.
I added a snippet of c resource code, and it doesn't showi, anyone knows why?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1