Author Topic: how to compile  (Read 2937 times)

nishatfarhan

  • Guest
how to compile
« on: February 01, 2009, 07:33:28 pm »
hello friends i am new user of code::blocks.so can you tell me how can i compile C's source code in code blocks. i can't compile. can you please help me. tell me how to compile and run C's source code in code::block. i want to know one more thing can code::block convert C's source to .exe file. if not where can i find a .exe converter free?

Offline jtman54179

  • Single posting newcomer
  • *
  • Posts: 6
Re: how to compile
« Reply #1 on: February 01, 2009, 10:37:28 pm »
Yeah, I had this problem also. Try to find the setup file you downloaded.
If it is called codeblocks-8.02-setup.exe, then you downloaded the version without a  compiler or debugger.
Try the version codeblocks-8.02.mingwsetup.exe, this was made with a compiler and debugger already included.

If you download that version and still dont see the program compiling go to Settings>> Compiler and Debugger>> Global Compiler Settings>> Other Settings and under compiler log select full  command line
That should show any errors in your program that prevent it from compiling

And the program automatically makes an .exe file in the same folder you saved your Source C file when you compile and run it.