NO

Author Topic: compiling with Pelles  (Read 4735 times)

Muhammed

  • Guest
compiling with Pelles
« on: December 13, 2005, 08:54:56 PM »
Compiling for beginners

Muhammed

  • Guest
compiling with Pelles
« Reply #1 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.

Ngan Lo

  • Guest
compiling with Pelles
« Reply #2 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.

Muhammed

  • Guest
compiling with Pelles
« Reply #3 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?

Muhammed

  • Guest
compiling with Pelles
« Reply #4 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

Muhammed

  • Guest
compiling with Pelles
« Reply #5 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

Offline Robert

  • Member
  • *
  • Posts: 245
Run povars32.bat
« Reply #6 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