Makefile.win Build Error Project2.exe Error 1
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers dev c++ build error project1.exe error 1 or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Makefile.win Dev C++
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; makefile.win has changed it only takes a minute: Sign up Dev-C++ giving error for Makefile.win and g++ stopping up vote 1 down vote favorite I have installed Dev-C++, but when I make a C program and run it, it gives me an error, main.o error 1 qt like: C:\Users\Ved\Dev-Cpp\Makefile.win [Build Error] [Project1.exe] Error 1 And when I checked the log it shows the following: Compiler: Default compiler Building Makefile: "C:\Users\Ved\Dev-Cpp\Makefile.win" Executing make... make.exe -f "C:\Users\Ved\Dev-Cpp\Makefile.win" all gcc.exe main.o -o "Project1.exe" -L"C:/Users/Ved/Dev-Cpp/lib" gcc.exe: Internal error: Aborted (program collect2) Please submit a full bug report. See
Gcc.exe: Internal Error: Aborted (program Collect2)
Windows 8 64 bit, can I actually run Dev-C++ on 64 bit? And can this error be fixed? c++ makefile dev-c++ share|improve this question asked Jan 4 '14 at 5:00 Ved 881313 Have you looked at this question yet? –B-Con Jan 4 '14 at 5:06 Yes, but the solutions do not work for me. –Ved Jan 4 '14 at 7:04 Your problem is probably explained by this answer: stackoverflow.com/a/12812582/1362568, and in that case the solution is this answer: stackoverflow.com/a/13148384/1362568 –Mike Kinghan Jan 14 '14 at 12:54 add a comment| 1 Answer 1 active oldest votes up vote -1 down vote Check if in the compiler directory there is g++.exe. If you can see it go to: Installing c++/g++ on Windows and download the file full.exe then follow the instruction and put the directory in path. After that restart your pc, go to the cmd and try to compile there. If it works change the toolchain of the IDE. If you need help contact me :) share|improve this answer edited Aug 30 '15 at 11:24 Yvette Colomb 12.8k93775 answered Aug 30 '15 at 11:00 Chiara Coppola 1 Can you add some detail from this link to explain the process. Essentially, this is a link only answer and may be closed. –Yvette Colomb Aug 30 '15 at 11:23 Recommending to go to some random website and download a .ex
this project. And whenever I makefile win has changed reload from disk come to compile it, I get a make file error. Its
G++.exe Has Stopped Working
weird cuz all the other projects compiles correctly. And even when I come to copy some new short http://stackoverflow.com/questions/20917121/dev-c-giving-error-for-makefile-win-and-g-stopping code replacing the original one, it compiles perfectly, which is making me more sure that there is some mistake in the code itself. First of all, here is the make file: 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Project: Project1 # Makefile http://www.cplusplus.com/forum/general/106512/ created by Dev-C++ 4.9.9.2 CPP = g++.exe CC = gcc.exe WINDRES = windres.exe RES = OBJ = main.o $(RES) LINKOBJ = main.o $(RES) LIBS = -L"C:/Dev-Cpp/lib" -L"C:/SDL-1.2.15/lib" -mwindows -lmingw32 -lSDLmain -lSDL INCS = -I"C:/Dev-Cpp/include" CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/SDL-1.2.15/include" BIN = A-Engine.exe CXXFLAGS = $(CXXINCS) CFLAGS = $(INCS) RM = rm -f .PHONY: all all-before all-after clean clean-custom all: all-before A-Engine.exe all-after clean: clean-custom ${RM} $(OBJ) $(BIN) $(BIN): $(OBJ) $(CPP) $(LINKOBJ) -o "A-Engine.exe" $(LIBS) main.o: main.cpp $(CPP) -c main.cpp -o main.o $(CXXFLAGS) The compile log: 1
2
3
4
5
6
7
8
9
10
Compiler: Default compiler Building Makefile: "C:\Users\user01\Desktop\A-Studios\C++\SDL\A-Engine\Makefile.win" Executing make... make.exe -f "C:\Users\user01\Desktop\A-Studios\C++\SDL\A-Engine\Makefile.win" all g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/inclu
Database CPUs Solaris Novell OpenVMS DOS Unix Mac Lounge Login» Register» Connect» Hardware & Devices ▼ General Hardware CPUs/Overclocking Networking See More... Software ▼ http://www.computing.net/answers/programming/dev-c-compier-just-not-working-/24305.html Security and Virus Office Software PC Gaming See More... Operating Systems ▼ Windows 10 Windows 8 Windows 7 Windows XP See More... Off-Topic Tags How-tos Drivers Ask a Question Computing.NetForumsProgrammingC/C++ Solved DEV C++ Compier just NOT working :/ Tags:Programmingerror message Xploit February 12, 2011 at 09:06:33 Specs: Windows 7 I have no idea why it's not working. I thought i may be writing programs with poor syntax or something error 1 but even when i run the example programs. It shows errors D: Here's some example code:#include