Thread: [Dev-C++] Resource file not compiling
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Phil S. <fy...@us...> - 2001-04-07 23:51:24
|
I just upgraded to Dev-C++ 4.01 version and now no new projects will compile. I keep getting errors when the resource file tries to build. Projects I created before upgrading compile with no problem (when I code them right... :-) the resource log says: C:\DEV-C++\BIN\windres: unrecognized option `--use-temp-file' Usage: C:\DEV-C++\BIN\windres [options] [input-file] [output-file] <snip manual help> C:\DEV-C_~1\BIN\windres: supported targets: pe-i386 pei-i386 srec symbolsrec tekhex binary ihex the compile log says: C:\DEV-C++\BIN\windres --include-dir C:\DEV-C++\INCLUDE\ --include-dir C:\DEV-C++\INCLUDE\G__~1 --include-dir C:\DEV-C++\INCLUDE\ --use-temp-file -I rc -O coff -i C:\DEV-C++\PROGRAMS\NEWFOL~1\RSRC.RC -o <snip> etc. I don't know why it's setting the --USE-temp-file if the program can't understand it. What settings can I change to set this? I've checked the FAQ at Bloodshed, and the forum at SourceForge with no luck. Phil P.S. Hurry! I've got homework due Thursday! :-( -- Fy...@us... |
|
From: Devin S. <dev...@bu...> - 2001-04-09 16:08:13
|
What does your DEV project file say? I can compare it to a "normal" one and see if there is a line in there that shouldn't be in there. I am using 4.01 with no problem. Devin ----- Original Message ----- From: "Phil Schulz" <fy...@us...> To: <dev...@li...> Sent: Saturday, April 07, 2001 5:23 PM Subject: [Dev-C++] Resource file not compiling > I just upgraded to Dev-C++ 4.01 version and now no new projects will > compile. I keep getting errors when the resource file tries to build. > Projects I created before upgrading compile with no problem (when I code > them right... :-) > > the resource log says: > C:\DEV-C++\BIN\windres: unrecognized option `--use-temp-file' > Usage: C:\DEV-C++\BIN\windres [options] [input-file] [output-file] > <snip manual help> > C:\DEV-C_~1\BIN\windres: supported targets: pe-i386 pei-i386 srec > symbolsrec tekhex binary ihex > > the compile log says: > C:\DEV-C++\BIN\windres --include-dir C:\DEV-C++\INCLUDE\ --include-dir > C:\DEV-C++\INCLUDE\G__~1 --include-dir C:\DEV-C++\INCLUDE\ > --use-temp-file -I rc > -O coff -i C:\DEV-C++\PROGRAMS\NEWFOL~1\RSRC.RC -o > <snip> > etc. > > I don't know why it's setting the --USE-temp-file if the program can't > understand it. > What settings can I change to set this? > > I've checked the FAQ at Bloodshed, and the forum at SourceForge with no > luck. > > > Phil > > P.S. Hurry! I've got homework due Thursday! :-( > -- > Fy...@us... > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Phil S. <fy...@us...> - 2001-04-11 04:51:50
|
Okay, a brand new, practically empty project .DEV says.. [Project] FileName=C:\Dev-C++\programs\New Folder\temptest.dev Name=temptest Use_gpp=1 UnitCount=2 ResFiles=C:\Dev-C++\programs\New Folder\rsrc.rc NoConsole=0 IsDll=0 Icon=C:\DEV-C_~1\BIN\Mainicon.ico [Unit1] FileName=C:\Dev-C++\programs\New Folder\main.cpp FileTime=713732709 [Unit2] FileName=C:\Dev-C++\programs\New Folder\untitled2.h FileTime=713732623 ---- Not much to go on there, I don't think. I do appreciate the help. Phil Devin Smith wrote: > > What does your DEV project file say? I can compare it to a "normal" one and > see if there is a line in there that shouldn't be in there. I am using 4.01 > with no problem. > > Devin > > ----- Original Message ----- > From: "Phil Schulz" <fy...@us...> > To: <dev...@li...> > Sent: Saturday, April 07, 2001 5:23 PM > Subject: [Dev-C++] Resource file not compiling > > > I just upgraded to Dev-C++ 4.01 version and now no new projects will > > compile. I keep getting errors when the resource file tries to build. > > Projects I created before upgrading compile with no problem (when I code > > them right... :-) > > > > the resource log says: > > C:\DEV-C++\BIN\windres: unrecognized option `--use-temp-file' > > Usage: C:\DEV-C++\BIN\windres [options] [input-file] [output-file] > > <snip manual help> > > C:\DEV-C_~1\BIN\windres: supported targets: pe-i386 pei-i386 srec > > symbolsrec tekhex binary ihex > > > > the compile log says: > > C:\DEV-C++\BIN\windres --include-dir C:\DEV-C++\INCLUDE\ --include-dir > > C:\DEV-C++\INCLUDE\G__~1 --include-dir C:\DEV-C++\INCLUDE\ > > --use-temp-file -I rc > > -O coff -i C:\DEV-C++\PROGRAMS\NEWFOL~1\RSRC.RC -o > > <snip> > > etc. > > > > I don't know why it's setting the --USE-temp-file if the program can't > > understand it. > > What settings can I change to set this? > > > > I've checked the FAQ at Bloodshed, and the forum at SourceForge with no > > luck. > > > > > > Phil > > > > P.S. Hurry! I've got homework due Thursday! :-( > > -- > > Fy...@us... > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users -- Fy...@us... |
|
From: Devin S. <dev...@bu...> - 2001-04-11 15:37:04
|
Phil, Check the project options and see if additional information is being passed to the compiler from Dev-C++. Also check Compiler Options. If you still have problems I suppose you could clear out any registry entries/INI files from Dev-C++ (assuming some are made) and when you restart the compiler it will create a default configuration. Devin. ----- Original Message ----- From: "Phil Schulz" <fy...@us...> To: <dev...@li...> Sent: Tuesday, April 10, 2001 10:24 PM Subject: Re: [Dev-C++] Resource file not compiling > Okay, a brand new, practically empty project .DEV says.. > > [Project] > FileName=C:\Dev-C++\programs\New Folder\temptest.dev > Name=temptest > Use_gpp=1 > UnitCount=2 > ResFiles=C:\Dev-C++\programs\New Folder\rsrc.rc > NoConsole=0 > IsDll=0 > Icon=C:\DEV-C_~1\BIN\Mainicon.ico > > [Unit1] > FileName=C:\Dev-C++\programs\New Folder\main.cpp > FileTime=713732709 > > [Unit2] > FileName=C:\Dev-C++\programs\New Folder\untitled2.h > FileTime=713732623 > > ---- > > Not much to go on there, I don't think. > > I do appreciate the help. > Phil > > > Devin Smith wrote: > > > > What does your DEV project file say? I can compare it to a "normal" one and > > see if there is a line in there that shouldn't be in there. I am using 4.01 > > with no problem. > > > > Devin > > > > ----- Original Message ----- > > From: "Phil Schulz" <fy...@us...> > > To: <dev...@li...> > > Sent: Saturday, April 07, 2001 5:23 PM > > Subject: [Dev-C++] Resource file not compiling > > > > > I just upgraded to Dev-C++ 4.01 version and now no new projects will > > > compile. I keep getting errors when the resource file tries to build. > > > Projects I created before upgrading compile with no problem (when I code > > > them right... :-) > > > > > > the resource log says: > > > C:\DEV-C++\BIN\windres: unrecognized option `--use-temp-file' > > > Usage: C:\DEV-C++\BIN\windres [options] [input-file] [output-file] > > > <snip manual help> > > > C:\DEV-C_~1\BIN\windres: supported targets: pe-i386 pei-i386 srec > > > symbolsrec tekhex binary ihex > > > > > > the compile log says: > > > C:\DEV-C++\BIN\windres --include-dir C:\DEV-C++\INCLUDE\ --include-dir > > > C:\DEV-C++\INCLUDE\G__~1 --include-dir C:\DEV-C++\INCLUDE\ > > > --use-temp-file -I rc > > > -O coff -i C:\DEV-C++\PROGRAMS\NEWFOL~1\RSRC.RC -o > > > <snip> > > > etc. > > > > > > I don't know why it's setting the --USE-temp-file if the program can't > > > understand it. > > > What settings can I change to set this? > > > > > > I've checked the FAQ at Bloodshed, and the forum at SourceForge with no > > > luck. > > > > > > > > > Phil > > > > > > P.S. Hurry! I've got homework due Thursday! :-( > > > -- > > > Fy...@us... > > > > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > -- > Fy...@us... > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Phil S. <fy...@us...> - 2001-04-15 22:53:03
|
I figured out what's wrong. so I have a sort-of fix. The new project dev files are missing the following: --- CompilerOptions= IncludeDirs= ObjFile= [Unit0] FileTime=713359828 -- The unit 0 is the last compile time of the rsrc.rc file Don't know why the other options are missing. I have been pasting the above into my new project DEV files. Also have been copying an old rsrc.rc and rsrc.o into the new directory. It then compiles, and I seem to be able to change the rsrc file and recompile it without killing it again. So the problem has been downgraded to an annoyance. Thanks for your suggestions. Phil > > Devin Smith wrote: > > > > > > What does your DEV project file say? I can compare it to a "normal" one > and > > > see if there is a line in there that shouldn't be in there. I am using > 4.01 > > > with no problem. > > > > > > Devin > > > -- Fy...@us... |