8 Replies - 7303 Views - Last Post: 22 January 2012 - 11:49 AM Rate Topic: -----

#1 Frankma5  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 46
  • Joined: 07-January 12

how to make an exe file in code::blocks

Posted 22 January 2012 - 11:16 AM

i don't know if this is the right place for this but i need how to make an exe file. i have made my program but now i want to run it on my friends pc but i don't know how to make an exe file with code::blocks??
Is This A Good Question/Topic? 0
  • +

Replies To: how to make an exe file in code::blocks

#2 r.stiltskin  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1833
  • View blog
  • Posts: 4,927
  • Joined: 27-December 05

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:19 AM

As soon as you build the program, you have an .exe file (assuming you're doing it in Windows). That's what "building" the program means.
Was This Post Helpful? 0
  • +
  • -

#3 GunnerInc  Icon User is offline

  • "Hurry up and wait"
  • member icon




Reputation: 856
  • View blog
  • Posts: 2,246
  • Joined: 28-March 11

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:20 AM

From the menu build, you select Build. Then in your source directory, your program will be in either \bin\debug or \bin\release depending if it was a debug build or not.

This post has been edited by GunnerInc: 22 January 2012 - 11:20 AM

Was This Post Helpful? 1
  • +
  • -

#4 ishkabible  Icon User is offline

  • spelling expret
  • member icon





Reputation: 1616
  • View blog
  • Posts: 5,707
  • Joined: 03-August 09

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:20 AM

in your project folder goto bin -> debug -> your_project.exe or if you built it in release mode bin -> release -> your_project.exe
Was This Post Helpful? 1
  • +
  • -

#5 Frankma5  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 46
  • Joined: 07-January 12

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:37 AM

ok i have look in myprogram bin\debug and obj\debug folders and can find it. maybe there is something in the setting i have to do ?
Was This Post Helpful? 0
  • +
  • -

#6 GunnerInc  Icon User is offline

  • "Hurry up and wait"
  • member icon




Reputation: 856
  • View blog
  • Posts: 2,246
  • Joined: 28-March 11

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:38 AM

look in \bin\release
Was This Post Helpful? 0
  • +
  • -

#7 Frankma5  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 46
  • Joined: 07-January 12

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:41 AM

there is no \bin\release only \bin\Debug
Was This Post Helpful? 0
  • +
  • -

#8 jimblumberg  Icon User is offline

  • member icon


Reputation: 3845
  • View blog
  • Posts: 11,749
  • Joined: 25-December 09

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:41 AM

Also the program must build without errors before it will create an executable. Does your program compile without errors?

Jim
Was This Post Helpful? 1
  • +
  • -

#9 Frankma5  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 46
  • Joined: 07-January 12

Re: how to make an exe file in code::blocks

Posted 22 January 2012 - 11:49 AM

thanks jim :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1