Hi,
I just downloaded Dev-Pas IDE 1.9.4.13 bundled with GPC + MinGW, and having tried to compile successfully a few simple programs but I cannot compile the examples provided by package like “WinHello” program. Can someone instruct me how to build those programs?
P.S 1: When I open the “Windows Hello” project file and try to compile it I get the following error:
Compile : “Error compiling resource file: E:/Dev-Pas/examples/WinHello/rsrc.o” Resource: “gcc: installation problem, cannot exec `cpp0': No such file or directory E:\Dev-Pas\bin\windres: preprocessing failed.” Compile log: “Building resource file... E:\Dev-Pas\bin\windres -i E:/Dev-Pas/examples/WinHello/rsrc.rc -o e:/dev-pas/examples/winhello/rsrc.o”
P.S 2: What does mean that .jtp extension in the server page?
P.S 3: Any other "optimization" command in GPC not available directly from IDE?
On 12 Aug 2009 at 10:31, Arsha wrote:
Hi,
I just downloaded Dev-Pas IDE 1.9.4.13 bundled with GPC + MinGW, and having tried to compile successfully a few simple programs but I cannot compile the examples provided by package like "WinHello" program.
Which file did you download? What is your Windows version?
Can someone instruct me how to build those programs?
Its all in the docs.
P.S 1: When I open the "Windows Hello" project file and try to compile it I get the following error:
Compile : "Error compiling resource file: E:/Dev-Pas/examples/WinHello/rsrc.o" Resource: "gcc: installation problem, cannot exec `cpp0': No such file or directory E:\Dev-Pas\bin\windres: preprocessing failed." Compile log: "Building resource file... E:\Dev-Pas\bin\windres -i E:/Dev-Pas/examples/WinHello/rsrc.rc -o e:/dev-pas/examples/winhello/rsrc.o"
Shouldn't happen. Please post a copy of your devpas.ini
P.S 2: What does mean that .jtp extension in the server page?
Don't know what this means.
P.S 3: Any other "optimization" command in GPC not available directly from IDE?
Run "gpc -v --help" from the command line, and you will see all the available switches.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Hello again!
My problem partly resolved. Now I can build every example provided by Dev-Pas for use with GPC. But when I open the "Windows Hello project file" I get the same error again. Building the winhello.pp is not problematic; I can build the windows hello program successfully. This makes me think that Dev-Pas IDE is not capable of compiling resource files into the project or am I wrong?
Regards, Arsha
Prof A Olowofoyeku (The African Chief)-2 wrote:
On 12 Aug 2009 at 10:31, Arsha wrote:
Hi,
I just downloaded Dev-Pas IDE 1.9.4.13 bundled with GPC + MinGW, and having tried to compile successfully a few simple programs but I cannot compile the examples provided by package like "WinHello" program.
Which file did you download? What is your Windows version?
Can someone instruct me how to build those programs?
Its all in the docs.
P.S 1: When I open the "Windows Hello" project file and try to compile it I get the following error:
Compile : "Error compiling resource file: E:/Dev-Pas/examples/WinHello/rsrc.o" Resource: "gcc: installation problem, cannot exec `cpp0': No such file or directory E:\Dev-Pas\bin\windres: preprocessing failed." Compile log: "Building resource file... E:\Dev-Pas\bin\windres -i E:/Dev-Pas/examples/WinHello/rsrc.rc -o e:/dev-pas/examples/winhello/rsrc.o"
Shouldn't happen. Please post a copy of your devpas.ini
P.S 2: What does mean that .jtp extension in the server page?
Don't know what this means.
P.S 3: Any other "optimization" command in GPC not available directly from IDE?
Run "gpc -v --help" from the command line, and you will see all the available switches.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
On 13 Aug 2009 at 9:57, Arsha wrote:
Hello again!
My problem partly resolved. Now I can build every example provided by Dev-Pas for use with GPC. But when I open the "Windows Hello project file" I get the same error again. Building the winhello.pp is not problematic; I can build the windows hello program successfully. This makes me think that Dev-Pas IDE is not capable of compiling resource files into the project or am I wrong?
I am not sure how you've drawn this conclusion (which is wrong) from your winhello problem. And I do not get any of these problems you are describing.
It would help if you addressed the questions that I asked in my last post.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
http://www.nabble.com/file/p24969001/devpas.ini devpas.ini
Prof A Olowofoyeku (The African Chief)-2 wrote:
On 13 Aug 2009 at 9:57, Arsha wrote:
Hello again!
My problem partly resolved. Now I can build every example provided by Dev-Pas for use with GPC. But when I open the "Windows Hello project file" I get the same error again. Building the winhello.pp is not problematic; I can build the windows hello program successfully. This makes me think that Dev-Pas IDE is not capable of compiling resource files into the project or am I wrong?
I am not sure how you've drawn this conclusion (which is wrong) from your winhello problem. And I do not get any of these problems you are describing.
It would help if you addressed the questions that I asked in my last post.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Here I have uploaded a copy of devpas.ini. I want to embed "Multimedia.ico" file into the program file. Whenever I open the project file, the IDE invokes windres.exe perhaps for compiling the resource file, but the program alerts me that "cpp0.exe" cannot be executed. So I must build the "*.pp" file without resources!
<Hope I have expressed myself clearly>
Regards, Arsha
Arsha a écrit :
http://www.nabble.com/file/p24969001/devpas.ini devpas.ini
Prof A Olowofoyeku (The African Chief)-2 wrote:
On 13 Aug 2009 at 9:57, Arsha wrote:
Hello again!
My problem partly resolved. Now I can build every example provided by Dev-Pas for use with GPC. But when I open the "Windows Hello project file" I get the same error again. Building the winhello.pp is not problematic; I can build the windows hello program successfully. This makes me think that Dev-Pas IDE is not capable of compiling resource files into the project or am I wrong?
I am not sure how you've drawn this conclusion (which is wrong) from your winhello problem. And I do not get any of these problems you are describing.
It would help if you addressed the questions that I asked in my last post.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Here I have uploaded a copy of devpas.ini. I want to embed "Multimedia.ico" file into the program file. Whenever I open the project file, the IDE invokes windres.exe perhaps for compiling the resource file, but the program alerts me that "cpp0.exe" cannot be executed. So I must build the "*.pp" file without resources!
cpp0.exe was present in the same directory as cc1.exe (put there by the gcc compiler), up to gcc 3.2.3: it was c:\mingw\lib\gcc-lib\mingw32\3.2.3. Starting with gcc 3.4.5 the organisation of the directories was changed: cc1.exe is in the directory C:\MinGW\libexec\gcc\mingw32\3.4.5 and cpp0.exe disappeared. This is a gcc problem I am not familiar with, and I do not know whether it is possible to produce cpp0 by some option in compiling the gcc compiler, replace cpp0.exe by something like cpp.exe (which exists in c:\mingw\bin) with some option, or to change altogether the program which calls cpp0.exe
Anybody here more familiar with C ?
Maurice
On 14 Aug 2009 at 12:58, Maurice Lombardi wrote:
[...]
cpp0.exe was present in the same directory as cc1.exe (put there by the gcc compiler), up to gcc 3.2.3: it was c:\mingw\lib\gcc-lib\mingw32\3.2.3. Starting with gcc 3.4.5 the organisation of the directories was changed: cc1.exe is in the directory C:\MinGW\libexec\gcc\mingw32\3.4.5 and cpp0.exe disappeared. This is a gcc problem I am not familiar with, and I do not know whether it is possible to produce cpp0 by some option in compiling the gcc compiler, replace cpp0.exe by something like cpp.exe (which exists in c:\mingw\bin) with some option, or to change altogether the program which calls cpp0.exe
I think I may have found something - the gcc driver is not the correct version.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
On 14 Aug 2009 at 12:58, Maurice Lombardi wrote:
cpp0.exe was present in the same directory as cc1.exe (put there by the gcc compiler), up to gcc 3.2.3: it was c:\mingw\lib\gcc-lib\mingw32\3.2.3. Starting with gcc 3.4.5 the organisation of the directories was changed: cc1.exe is in the directory C:\MinGW\libexec\gcc\mingw32\3.4.5 and cpp0.exe disappeared. This is a gcc problem I am not familiar with, and I do not know whether it is possible to produce cpp0 by some option in compiling the gcc compiler, replace cpp0.exe by something like cpp.exe (which exists in c:\mingw\bin) with some option, or to change altogether the program which calls cpp0.exe
I think I may have found something - the gcc driver is not the correct version.
Best regards, The Chief
Solved!
I copied the "gcc.exe" of my Code::Block installation into the bin directory of Dev-Pas IDE, Now everything works.
Regards, Arsha