423,834 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,834 IT Pros & Developers. It's quick & easy.

recipe for target'trigo.exe'failed

P: 2
hello ! im kind off new in programming with c++ i created a project with name trigo who had 2 classes and i have this problem that i could not fixed any suggestions ?
Nov 29 '17 #1
Share this Question
Share on Google+
2 Replies


P: 2
here is the erreur
# Project: trigo
# Makefile created by Dev-C++ 5.9.2

CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = main.o Pixel.o Quadratere.o
LINKOBJ = main.o Pixel.o Quadratere.o
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib" -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib" -static-libgcc
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include"
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++"
BIN = trigo.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm.exe -f

.PHONY: all all-before all-after clean clean-custom

all: all-before $(BIN) all-after

clean: clean-custom
${RM} $(OBJ) $(BIN)

$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)

main.o: main.cpp
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)

Pixel.o: Pixel.cpp
$(CPP) -c Pixel.cpp -o Pixel.o $(CXXFLAGS)

Quadratere.o: Quadratere.cpp
$(CPP) -c Quadratere.cpp -o Quadratere.o $(CXXFLAGS)
Nov 29 '17 #2

weaknessforcats
Expert Mod 5K+
P: 9,196
What is the error you are getting?
Nov 30 '17 #3

Post your reply

Sign in to post your reply or Sign up for a free account.