C++ Learning Community Forum
August 01, 2010, 03:19:55 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Hello.
Home
Help
Search
Login
Register
C++ Learning Community Forum
>
Other than C++....
>
Computer Lab
>
code::blocks and .exe
Pages: [
1
]
« previous
next »
Print
Author
Topic: code::blocks and .exe (Read 952 times)
oulyt
C++ Freak
Posts: 340
code::blocks and .exe
«
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
Re: code::blocks and .exe
«
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
Zeitgeist: Addendum
The Venus Project
Interesting stuff.
oulyt
C++ Freak
Posts: 340
Re: code::blocks and .exe
«
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
Re: code::blocks and .exe
«
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
Re: code::blocks and .exe
«
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
Re: code::blocks and .exe
«
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
http://www.youtube.com/watch?v=y4uUpJRJZ_c
oulyt
C++ Freak
Posts: 340
Re: code::blocks and .exe
«
Reply #6 on:
April 08, 2009, 07:42:36 PM »
got it. thanks guys
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General C++ Programming
-----------------------------
=> C++ Help
===> C Programming
=> C++ Tips
=> C++ in General
=> 3rd Party Libraries Programming
-----------------------------
Platform Specific Programming
-----------------------------
=> Windows
=> Linux
=> DirectX
=> OpenGL
-----------------------------
C++ Creations
-----------------------------
=> Finished Products
=> Work in Progress
-----------------------------
Resources
-----------------------------
=> Recommended Resources
=> Bookworm's Corner
===> Accelerated C++: Practical Programming by Example
===> Code Complete
-----------------------------
Other than C++....
-----------------------------
=> Off Topic
=> Other Programing Languages
===> ASM Programming
=> Computer Lab
=> The Community
Loading...