Dev C++ Recipe For Target Main.o Failed

Posted on by
Dev C++ Recipe For Target Main.o Failed Average ratng: 5,7/10 2722 votes
C++

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?

Feb 27, 2019  can't create main.o: No such file or directory recipe for target 'main.o' failed The Makefile.win file is. I have tried running dev c as administrator, downloading iostream.h-ftream.h and copying them in the 'include' directory of compiler even if changing the compile from 64bit to 32bit(with no hope).None of them is working. Jul 08, 2017  Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Recipe
P: 6
this is the makefile that is generated..
# Project: Project2
# Makefile created by Dev-C++ 5.11
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
OBJ = main.o
LINKOBJ = main.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 -pg
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.9.2/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.9.2/include' -I'C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++'
BIN = Project2.exe
CXXFLAGS = $(CXXINCS) -ansi -fno-asm -traditional-cpp -pg
CFLAGS = $(INCS) -ansi -fno-asm -traditional-cpp -pg
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)
$(CC) $(LINKOBJ) -o $(BIN) $(LIBS)
main.o: main.c
$(CC) -c main.c -o main.o $(CFLAGS)

Recipe For Target 'main.o' Failed C++

Jan 13, 2016  I tried to copy-paste the code to a new project and still failed, i tried copying the same lines of this new solution to the old solution, but that didnt help either. If I suspect right the make file needs a correct compiler, but im not sure. Jul 18, 2005  Yeah I know but as I said I'm a beginner and I have to figure out everything by myself through forums and tutorials and so on. There is an awful ton of posts about how great WinAVR is (was would be better here). Precision auto tune apple valley mn.

Dev C++ Recipe For Target Main.o Failedd

  1. Jun 02, 2014  25 C:Program Files (x86)Dev-CppMakefile.win recipe for target 'test.exe' failed these are errros that i keep on getting in the compiler. Can someone help me fix these problems?
  2. Jun 03, 2014  can someone help me resolve these errors? The project name is tt. The process is not running in the background. If someone could help me, that would be great:D.