Error 1 by the way is a general - non-specific error message. In essense it says "Something went wrong", and that is all that error message tells us, so telling us that you are getting that message really doesn't tell us a lot.
That is why the Basic 3 are important, and why they are covered in the first section of the thread in this forum titled "Please Read Before Posting a Question"
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does that install Cygwin itself, or does it count on you having Cygwin already installed?
(He asked, a stupid look on his face)
I am only partly kidding there with that self deprecating remark, I use Cygwin every day (I am as we speak running a simulation in it), but I tend to use it/run it separate from what I do with MinGW/MSYS or Dev.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, its going to be pretty hard to duplicate your error, seeing as I don't have anything like your setup here.
That is why though it is important that you tell people up front what your setup is. One of the important tools in our remote debugging arsenal is the ability to duplicate what you are seeing right in front of us. It is the next best thing to being there.
Wayne
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is a general message that tells you "something did not go correctly".
Yes, it really is that top level.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2006-06-15
An the thing that failed was:
"g++.exe: no input files "
What happens if you invoke the same g++ command line from a command console? Copy and paste it from the com pile log - you'll need to paste it into a text editor first to remove the line breaks. This might tell us if it is a Dev-C++ problem or a more general issue with the installation. You may need to set the PATH environment variable for the g++ executable.
You might also try running the make from the command line:
make -fmakefile.win
Clifford
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your Basic 3?
Error 1 by the way is a general - non-specific error message. In essense it says "Something went wrong", and that is all that error message tells us, so telling us that you are getting that message really doesn't tell us a lot.
That is why the Basic 3 are important, and why they are covered in the first section of the thread in this forum titled "Please Read Before Posting a Question"
Wayne
OK, sorry to forget about it.
I'm using WinXP SP2.
The code I'm trying to complile is the following (I'm using SDL):
include <SDL.h>
int main(int argc, char **argv)
{
printf("\nHello SDL User!\n");
}
Here follows the compile log:
Compiler: win
Building Makefile: "C:\GP2XSDK\Makefile.win"
Executing make...
make.exe -f "C:\GP2XSDK\Makefile.win" all
cygwin-mkdir -p win
g++.exe -c sdl.c -o win/sdl.o -I"C:/GP2XSDK/include/GP2X" -I"C:/GP2XSDK/include/SDL" -I"C:/GP2XSDK/lib/gcc/mingw32/3.4.2/include" -I"C:/GP2XSDK/include/c++/3.4.2/backward" -I"C:/GP2XSDK/include/c++/3.4.2/mingw32" -I"C:/GP2XSDK/include/c++/3.4.2" -I"C:/GP2XSDK/include" -DWIN32
g++.exe: no input files
make.exe: *** [win/sdl.o] Error 1
Execution terminated
Looking at your log, I see:
"cygwin-mkdir -p win"
Did you intend to use Dev with Cygwin?
I'm using Dev as it comes in the offical GP2X (the 'famous' Linux portable console) SDK I found on dev.gp2x.com
It comes pre-configured to use Cygwin.
I've noticed that installing the same package on another computer it does not give any error.
I think the GP2X part is not relevant to the problem, as another user lamented the same issue of mine.
Does that install Cygwin itself, or does it count on you having Cygwin already installed?
(He asked, a stupid look on his face)
I am only partly kidding there with that self deprecating remark, I use Cygwin every day (I am as we speak running a simulation in it), but I tend to use it/run it separate from what I do with MinGW/MSYS or Dev.
Wayne
Well, its going to be pretty hard to duplicate your error, seeing as I don't have anything like your setup here.
That is why though it is important that you tell people up front what your setup is. One of the important tools in our remote debugging arsenal is the ability to duplicate what you are seeing right in front of us. It is the next best thing to being there.
Wayne
Wayne
Note also that there are missing headers (stdio), and you do not appear to be linking the correct library.
Wayne
The very same code compiles correctly on a PC, and gives the make.exe: *** [win/sdl.o] Error 1
on another one.
I do not know what to think :|
The package installs Cygwin by itself.
If interested, you can download the GP2X SDK package form here:
http://dev.gp2x.com/sdk/gp2xsdk_060515.zip
Have your tried a simple "Hello World" sort of program first?
Wayne
Simple, non-project example code? Or is it wired in such a way to not allow that?
Wayne
I Repeat, do you have another suggestions other than looking through the Hard drive for (What I'm 100% sure) is a non-existant install of DevCPP?
Yes, change the matter-anti-matter intermix ratio. That should smooth out your warp drive.
Now go troll somewhere else.
Wayne
Hmm, now compiling the same program gives an additional error:
Unrecognized CommandLine Option "-fsave-memorized"
Then below that still the makefile error
Check through your menu entries, that option has gotten clicked somewhere. It is not supported as I recall.
Wayne
what is error 1
It is a general message that tells you "something did not go correctly".
Yes, it really is that top level.
Wayne
An the thing that failed was:
"g++.exe: no input files "
What happens if you invoke the same g++ command line from a command console? Copy and paste it from the com pile log - you'll need to paste it into a text editor first to remove the line breaks. This might tell us if it is a Dev-C++ problem or a more general issue with the installation. You may need to set the PATH environment variable for the g++ executable.
You might also try running the make from the command line:
make -fmakefile.win
Clifford
Clifford
So you didn't do a Windows search for other vestiges?
Wayne