Author Topic: Help with "Build and Run"  (Read 6602 times)

Offline marlonnnn

  • Single posting newcomer
  • *
  • Posts: 4
Help with "Build and Run"
« on: January 30, 2009, 09:05:03 am »
Hello, i use windows xp, and when i try Build and Run, the compiler don't do anything neither show any menssage on the logs, and when i press only "RUN", the program shows to me a menssage i don't build the file, and ask me if i want buit it now!!
I saved the codeblocks in the C:\!
Sorry for any inconvenience, it's my first post here, and my english is so bad!!!
:)






Offline stahta01

  • Lives here!
  • ****
  • Posts: 6636
    • My Best Post
Re: Help with "Build and Run"
« Reply #1 on: January 30, 2009, 04:12:01 pm »
What Compiler are you Using?
What Operating System?

Please try turning on Full Compiler Logging and post the results after a rebuild.

This is done by selecting the "Full command line" option
Under menu "Settings" -> "Compiler and Debugger" -> "Other Setting" tab, "Compiler logging".

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline marlonnnn

  • Single posting newcomer
  • *
  • Posts: 4
Re: Help with "Build and Run"
« Reply #2 on: January 30, 2009, 08:05:12 pm »
What Compiler are you Using?
What Operating System?

Please try turning on Full Compiler Logging and post the results after a rebuild.

This is done by selecting the "Full command line" option
Under menu "Settings" -> "Compiler and Debugger" -> "Other Setting" tab, "Compiler logging".

Tim S


I use the compiler for C and my Operating System is Windows XP sp2.
I try do it, but the compiler don't work again, and don't show any message in the log!
what i do?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Help with "Build and Run"
« Reply #3 on: January 30, 2009, 08:17:39 pm »
what i do?
Do you have a compiler installed at all? Notice: C::B is *not* a compiler. The compiler is an "addon" to C::B.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline marlonnnn

  • Single posting newcomer
  • *
  • Posts: 4
Re: Help with "Build and Run"
« Reply #4 on: January 30, 2009, 08:29:47 pm »
what i do?
Do you have a compiler installed at all? Notice: C::B is *not* a compiler. The compiler is an "addon" to C::B.

Yes i do. So that "addon" there in C::B right?
Before i install codeblocks i modified the variavel path of windows for use a compiler java, This may cause a problem?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Help with "Build and Run"
« Reply #5 on: January 30, 2009, 08:36:18 pm »
compiler java,
Erm... are you aware that C::B is a C/C++ IDE, as stated on the webpage?! :shock:
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline marlonnnn

  • Single posting newcomer
  • *
  • Posts: 4
Re: Help with "Build and Run"
« Reply #6 on: January 30, 2009, 08:52:13 pm »
compiler java,
Erm... are you aware that C::B is a C/C++ IDE, as stated on the webpage?! :shock:

nooo mann, i know that C::B is a C/C++ IDE, i studied for it a long time and now i want use C::B again for solution some algoritms in C.
but before install C::B i was studing for java, and i had change the "variavel path" of windows for compiler.
i think it is causing that problem.

Offline jtman54179

  • Single posting newcomer
  • *
  • Posts: 6
Re: Help with "Build and Run"
« Reply #7 on: January 31, 2009, 09:58:42 am »
I would like to report the same problem
the Program worked fine until I uninstalled it once
I don't know what you mean about Codeblocks not being a compiler, it has worked before I uninstalled it but now it does not work

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Help with "Build and Run"
« Reply #8 on: January 31, 2009, 10:11:33 am »
I don't know what you mean about Codeblocks not being a compiler, it has worked before I uninstalled it but now it does not work

Exactly what he wrotes: C::B is not a compiler, it's an Integrated Development Environment.

For your convenience we released a windows version, that shipped with a compiler-suite (MinGW), but an installer without compiler also exists.

C::B (the IDE) can handle many different compilers of different vendors.

You have to make sure, that you have a compiler installed and that C::B knows the path to the executables.

Offline jtman54179

  • Single posting newcomer
  • *
  • Posts: 6
Re: Help with "Build and Run"
« Reply #9 on: January 31, 2009, 10:18:53 am »
OK it knows the path to my files but I'm not sure what compiler it was using before
I'm pretty sure I didn't download the MIniGW version
does vista have a default compiler that Code Blocks would automatically know to use?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Help with "Build and Run"
« Reply #10 on: January 31, 2009, 11:58:18 am »
does vista have a default compiler that Code Blocks would automatically know to use?
No.
See: If you don't know the compiler you are using something is very wrong... :shock:
It's like cooking and not knowing the ingredients.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jtman54179

  • Single posting newcomer
  • *
  • Posts: 6
Re: Help with "Build and Run"
« Reply #11 on: January 31, 2009, 08:34:56 pm »
does vista have a default compiler that Code Blocks would automatically know to use?
No.
See: If you don't know the compiler you are using something is very wrong... :shock:
It's like cooking and not knowing the ingredients.
I think your reply was unnecessary
It provided no helpful information and seemed only to in an effort to belittle me
I don't know what you mean about Codeblocks not being a compiler, it has worked before I uninstalled it but now it does not work
For your convenience we released a windows version, that shipped with a compiler-suite (MinGW), but an installer without compiler also exists.


Thank you I retried the download with the MinGW package and it worked fine


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Help with "Build and Run"
« Reply #12 on: January 31, 2009, 09:00:05 pm »
I think your reply was unnecessary
What's wrong with the "No"? That was the answer to your question.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Help with "Build and Run"
« Reply #13 on: January 31, 2009, 09:02:36 pm »
I think your reply was unnecessary
It provided no helpful information and seemed only to in an effort to belittle me

If you ask questions in the way you did, you show your lack af knowledge about the absolute basics of programming and you can be glad that you get an answer anyway.

If you are so thin-skinned you should ask your questions in a beginners forum, not here.

You waste our time with absolute unnecessary  questions.

All the C::B devs have to work for bread and do C::B developping in their spare time.
The moderators have to read all forum threads in addition and if one of us finds the time to answer such silly questions without silently closing the thread or deleting the post (the question is not really C::B related, and therefore violating our forum rules) it only shows your arrogance and ignorance.

We are not a beginners support forum.

This might sound a little hard for you, but I had a hard week on work, and if I have to read and answer such posts on weekend it only makes me furious.

Offline jtman54179

  • Single posting newcomer
  • *
  • Posts: 6
Re: Help with "Build and Run"
« Reply #14 on: February 01, 2009, 12:41:33 am »
Jens:
Completely understandable why youre mad. But the comment wasnt for you
You helped me out by telling me I had the wrong version
The reply was to Morten MacFly who did not add anything to the thread except vaguely echo your previous comment that I had the wrong version
I don't think my skin is thin, I just didn't like his reply. It did nothing to help me, as I said before
I realize I'm a beginner, but if you truly want to help someone , there are certain ways to do it