Pelles C forum

Pelles C => General discussions => Topic started by: Muhammed on December 13, 2005, 08:54:56 PM

Title: compiling with Pelles
Post by: Muhammed on December 13, 2005, 08:54:56 PM
Compiling for beginners
Title: compiling with Pelles
Post by: Muhammed on December 13, 2005, 08:57:07 PM
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.
Title: compiling with Pelles
Post by: Ngan Lo on December 14, 2005, 04:23:26 AM
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.
Title: compiling with Pelles
Post by: Muhammed on December 14, 2005, 09:07:04 PM
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?
Title: compiling with Pelles
Post by: Muhammed on December 14, 2005, 09:09:53 PM
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
Title: compiling with Pelles
Post by: Muhammed on December 14, 2005, 09:19:30 PM
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
Title: Run povars32.bat
Post by: Robert on December 15, 2005, 06:57:52 AM
The povars32.bat file in the folder ...\PellesC\bin must be run before a compile is made from the command line.

Robert Wishlaw