compiling with Pelles

Started by Muhammed, December 13, 2005, 08:54:56 PM

Previous topic - Next topic

Muhammed


Muhammed

Hello.
I've just installed Pelles C and in theory i know how it (and other compilers work) but when i try to compile something, the c. file can't be found. Please help me cause I'm a total newby and have tried it so many times.

Ngan Lo

PellesC wont build single .c file, u need to create project.  8)

1st create a project, in proper build target (means Win32/Console/DLL... etc), add your .c file to your project then click build button.

Muhammed

Thank you.
Theres another problem. I tried to to do it the way you said but the include file stdio.h couldn't be find.
What is wrong?

Muhammed

Please tell me how to compile with Pelles step by step.
I know the steps and tried it hundred times but it doesn't work so I hope you can help me.
Thanks

Muhammed

I started a project. I built it to a -obj. file. Then I wrote into cmd:
Pocc [file].obj.
Then the cmd says: fatal error#1035: Could not find include file: stdio.h.
What shall I do? I copypasted this include file to c:, to the pelles file....
Please help me

Robert

The povars32.bat file in the folder ...\PellesC\bin must be run before a compile is made from the command line.

Robert Wishlaw