I am trying to write a program in C using Dev-C++ 5.6.1. I go to compile the program, and nothing happens. It compiles with zero errors, zero warnings, and an output of 0 bytes (it doesn't even create an exe file, nor any of the .o files). I am using MinGW 4.8.1 32-bit on a 64-bit system; could that be the problem?
Other than that, I don't know what could be going on.
Last edit: SilverNexus 2014-03-01
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seems that switching to TDM-GCC solved the problem (reinstalling from the TDM-GCC setup after removing the MinGW version). It now tells me I have errors when I compile, so it works.
EDIT: Nope, it only works on the first run after installation. After that, its back to not working again in the same manner (minus the "No Disk" error I linked to in the previous post; that appears to be gone for good).
EDIT 2: This problem does not appear to affect the portable version of Dev-Cpp.
Last edit: SilverNexus 2014-03-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to write a program in C using Dev-C++ 5.6.1. I go to compile the program, and nothing happens. It compiles with zero errors, zero warnings, and an output of 0 bytes (it doesn't even create an exe file, nor any of the .o files). I am using MinGW 4.8.1 32-bit on a 64-bit system; could that be the problem?
Other than that, I don't know what could be going on.
Last edit: SilverNexus 2014-03-01
Can you paste a compile log here? That might give me a lead as to what's going on.
General: MinGW GCC 4.8.1 32-bit Release
Building Makefile "C:\Users\TuxRules\Documents\MTGAI2\Makefile.win"
Executing make...
mingw32-make.exe -f "C:\Users\TuxRules\Documents\MTGAI2\Makefile.win" all
Compilation succeeded in 0.06 seconds
It completes with 0 errors, 0 warnings, and 0 output file size.
EDIT: I also get this error message on each start up of Dev-C++. I do not know if it is related to this problem.
Last edit: SilverNexus 2014-03-04
Seems that switching to TDM-GCC solved the problem (reinstalling from the TDM-GCC setup after removing the MinGW version). It now tells me I have errors when I compile, so it works.
EDIT: Nope, it only works on the first run after installation. After that, its back to not working again in the same manner (minus the "No Disk" error I linked to in the previous post; that appears to be gone for good).
EDIT 2: This problem does not appear to affect the portable version of Dev-Cpp.
Last edit: SilverNexus 2014-03-04
Additionally, this problem seems to have gone away in Dev-C++ 5.6.2.
hi guys
i have a problem with dev c++ in compile
i had make book.h
and book.cpp
and create.cpp
in the same diretory
but i have this error :
collect2.exe [Error] ld returned 1 exit status
what problem does it have ?
please help ======> this is my gmail : mohammadomrani0000@gmail.com