c dev cpp makefile win error 1
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta makefile.win error dev c Discuss the workings and policies of this site About Us Learn build error in dev c++ more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us dev-cpp\makefile.win [build error] [project1.exe] error 1 Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like makefile.win has changed you, helping each other. Join them; it only takes a minute: Sign up Dev C++ compilation error, permission denied up vote 5 down vote favorite I want to compile a code program using dev c++ compiler but my compiler didn't compile my code.The program consist of two files one is header and other is implementation .cpp file.
Build Error Error 1The code i want to compile is correct and working,but it didn't compiling on my pc(windows 7) Please help The error which i am getting is Permission denied ld returned 1 exit status C:\Makefile.win [Build Error] [Project1.exe] Error 1 here is my compile log Compiler: Default compiler Building Makefile: "C:\Makefile.win" Executing make... make.exe -f "C:\Makefile.win" all g++.exe -c testProgDoublyLinkedList.cpp -o testProgDoublyLinkedList.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/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" g++.exe testProgDoublyLinkedList.o -o "Project1.exe" -L"C:/Dev-Cpp/lib" -mwindows C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot open output file Project1.exe: Permission denied collect2: ld returned 1 exit status make.exe: *** [Project1.exe] Error 1 Execution terminated c++ compilation dev-c++ share|improve this question edited Sep 28 '13 at 15:04 Appleshell 2,90521757 asked May 5 '12 at 16:51 youmir ali 26112 1 What's your operating system? you seem to have a permissions problem. –Tamer Shlash May 5 '12 at 16:54 1 Perhaps you haven't closed the last execution window you opened, so the file ld.exe is still used, and so access to it is not permitted! –Tamer Shlash May 5 '12 a
here for a quick overview of the site Help Center Detailed answers to any questions you
Gcc.exe: Internal Error: Aborted (program Collect2)might have Meta Discuss the workings and policies of this main.o error 1 qt site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or makefile win has changed reload from disk posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community http://stackoverflow.com/questions/10463958/dev-c-compilation-error-permission-denied of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Dev-C++ - [Build Error] [main.o] Error 1 up vote 1 down vote favorite Im running into big trouble with my compiler Dev-C++, every time i compile any project, whether it is 1 im working on, http://stackoverflow.com/questions/6260929/dev-c-build-error-main-o-error-1 or a completely fresh 1 I get the same error every single time, I have been on the bloodshed forums and IRC channel but Im not getting anywhere with it... at the moment and every project I try to compile gives the same error... C:\Dev-Cpp\MY_Project\Makefile.win [Build Error] [main.o] Error 1 Compiler log Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\MY_Project\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\MY_Project\Makefile.win" all g++.exe -D__DEBUG__ -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/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -pg -g3 The system cannot find the path specified. make.exe: *** [main.o] Error 1 Execution terminated c++ compiler-construction dev-c++ share|improve this question asked Jun 7 '11 at 5:25 Synxmax 1,56811030 2 Don't use Dev-C++? Other than that, I guess check that all the paths in the console output are valid. But really, don't use Dev-C++. –Seth Carnegie Jun 7 '11 at 5:28 @Seth Carnegie I have checked all of the paths and they all exist...and also it happens when I compile a
Error] [main.o] Error1 Posted on August 4, 2009 by anuragpatil Say your Dev C++ is in C drive of Windows (C:\Dev-Cpp\) Copy following text to Tools >> Compiler Options >> Directories >> Binaries and click OK. C:\Dev-Cpp\Bin C:\Dev-Cpp\libexec\gcc\mingw32\3.4.2 See https://anuragpatil.wordpress.com/2009/08/04/dev-c-makefile-win-build-error-main-o-error-1/ the image below. Additionally add following text to Tools >> Compiler Options >> Programs before .exe C:\Dev-Cpp\Bin Please let me know if this has been helpful to you or not. Like this:Like Loading... Related http://forums.devshed.com/programming/60780-devc-4-9-5-0-build-error-test-exe-error-1-a-post2632368.html About anuragpatil I am from Mumbai, India. View all posts by anuragpatil → This entry was posted in Computers, Programming, Technical and tagged Dev C++, Dev C++ compile, Dev C++ compile error, Dev error 1 C++ compile error windows vista, Dev C++ compile errors vista, Dev C++ compile errors windows vista, dev c++ makefile build error, Dev C++ Makefile.win, Dev C++ Makefile.win [Build Error] [main.o] Error 1, Dev-C++ [Build Error] Error 1 vista, Dev-C++ [Build Error] Error 1 windows vista, Dev-C++: Error 1, Makefile.win, Makefile.win [Build Error] Error 1, Makefile.win [Build Error] Error 1 vista, Makefile.win [Build Error] Error 1 windows vista, win has changed Makefile.win [Build Error] [main.o] Error 1, vista, windows, windows vista, [Build Error] [main.o] Error 1. Bookmark the permalink. ← com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was 0 msago. 22 Responses to Dev C++ Makefile.win [Build Error] [main.o] Error1 one says: August 15, 2009 at 9:09 pm didn't work😦 bye Reply one says: August 15, 2009 at 9:34 pm I had to add: c:\dev-cpp\bin\ to the .exe files in the programs tab, Vista didn't do it correctly. now it works fine =D Reply anonymous says: October 7, 2009 at 7:23 am didnt work Reply Anonymous says: October 18, 2009 at 8:08 pm Yes, it works for me gr8. I have problem with files, but WITH this tutorial its ok Reply Anonymous says: November 18, 2009 at 5:34 pm yes…it solved my problem… Thnx.. Reply Praveen says: December 9, 2009 at 2:27 pm thanks it work mee for 2 times Reply rst says: April 14, 2010 at 8:46 pm it works, thanks Reply THANKS!! says: April 25, 2010 at 6:21 pm it works, thank you!! Reply hasan says: May 2, 2010 at 11:24 pm It works for me. Thanks very much, I was really suffering with this stuff.
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search Forum Programming Languages C Programming Devc++ 18.104.22.168 [Build Error] [test.exe] Error 1 Thread: Devc++ 22.214.171.124 [Build Error] [test.exe] Error 1 Share This Thread Tweet This + 1 this Post To Linkedin Subscribe to this Thread Subscribe to This Thread May 7th, 2003,01:39 AM #1 No Profile Picture phantom_turtle View Profile View Forum Posts Contributing User Devshed Newbie (0 - 499 posts) Join Date May 2003 Posts 79 Rep Power 14 Devc++ 126.96.36.199 [Build Error] [test.exe] Error 1 I like the idea of the Devc++ project and I would very much like to use it as my main compilor but I keep getting this same error "C:\Dev-Cpp\Makefile.win [Build Error] [test.exe] Error 1". I currently use MSVC++6 and everything compiles fine. I have included an example of code that complies with the "C:\Dev-Cpp\Makefile.win [Build Error] [test.exe] Error 1" but compiles fine in msvc++. The following code is linked to winsock32.lib. (The code just sends a udp packet) Code: #include