C++ Learning Community Forum
August 01, 2010, 03:19:55 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hello. Smiley
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: code::blocks and .exe  (Read 952 times)
oulyt
C++ Freak
***
Posts: 340



View Profile
« on: April 07, 2009, 10:21:37 PM »

i think this is the right place to ask o.0

well i wrote up some code and you know how when you compile codeblocks would automaticly create a .exe file. for some reason for this program i wrote up it wont create one =/ anybody know why it wont make one or how to make it?
Logged
biggoron
C++ Freak
***
Posts: 351


View Profile
« Reply #1 on: April 07, 2009, 10:47:00 PM »

Are you building to an executable target? Go into the project preferences and check the target type.
Logged

oulyt
C++ Freak
***
Posts: 340



View Profile
« Reply #2 on: April 07, 2009, 11:13:02 PM »

i checked the properties and its set to create a .exe its checked. the target type is set to consol app. it works when i build/run from the compiler.
Logged
ih8censorship
Megalomaniac!!!
Administrator
C++ guru
*****
Posts: 1236



View Profile
« Reply #3 on: April 08, 2009, 06:33:24 PM »

Search all the projects directories for an exe file. It's possible you're compiling as release or debug without realizing it and your file is going somewhere you don't expect.
Logged

PC==perfect_companion

Knowledge cannot come packaged and predigested; it must be chewed over carefully before swallowed.

What have you tried?
oulyt
C++ Freak
***
Posts: 340



View Profile
« Reply #4 on: April 08, 2009, 06:52:09 PM »

i found one. it went into my bin\debug\  usually though it just goes into the folder with all the main.cpp. first time its done this.
Logged
Seismosaur
ez::esS::AI::Entity::Brain
C++ Freak
***
Posts: 461



View Profile
« Reply #5 on: April 08, 2009, 07:40:36 PM »

Code::Blocks pojects have defualt build directories called "Debug" and "Release". Just above the code editor, you can see which target you are building to, and the executable will be in the bin\ whichever build target.
Logged

oulyt
C++ Freak
***
Posts: 340



View Profile
« Reply #6 on: April 08, 2009, 07:42:36 PM »

got it. thanks guys Cheesy
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!