Code::Blocks Forums

User forums => Help => Topic started by: marlonnnn on January 30, 2009, 09:05:03 am

Title: Help with "Build and Run"
Post by: marlonnnn 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!!!
:)





Title: Re: Help with "Build and Run"
Post by: stahta01 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
Title: Re: Help with "Build and Run"
Post by: marlonnnn 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?
Title: Re: Help with "Build and Run"
Post by: MortenMacFly 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.
Title: Re: Help with "Build and Run"
Post by: marlonnnn 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?
Title: Re: Help with "Build and Run"
Post by: MortenMacFly 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:
Title: Re: Help with "Build and Run"
Post by: marlonnnn 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.
Title: Re: Help with "Build and Run"
Post by: jtman54179 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
Title: Re: Help with "Build and Run"
Post by: Jenna 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.
Title: Re: Help with "Build and Run"
Post by: jtman54179 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?
Title: Re: Help with "Build and Run"
Post by: MortenMacFly 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.
Title: Re: Help with "Build and Run"
Post by: jtman54179 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

Title: Re: Help with "Build and Run"
Post by: MortenMacFly 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.
Title: Re: Help with "Build and Run"
Post by: Jenna 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.
Title: Re: Help with "Build and Run"
Post by: jtman54179 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

Title: Re: Help with "Build and Run"
Post by: stahta01 on February 01, 2009, 03:32:10 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

YOU do not understand we are all tired of wasting our time helping beginners; this website/forum is NOT to help beginners learning how to program.

Tim S
PS: The difference between ignorance and stupidity; is that ignorance can be solved by being willing to learn.

Please think about which group; that your comments has placed yourself into from our point of view.
At first, I just thought you were ignorant, but you are slowly changing my mind to stupid.

Title: Re: Help with "Build and Run"
Post by: jtman54179 on February 01, 2009, 06:27:27 am
I'm sorry that you all have not understood me
I did not come into this thread to make myself seem like a troll
I was simply informing the previous posters in this thread two things (which you Tim S. do not seem to understand:
1) Jens helped me out I was thanking him and in no way was I trying to make his week worse. As I said before his comment about me having the wrong version was correct. It seems the first time I did have the MinGW version, but the second time I only downloaded the standalone version. SO I re download the MinGW version and everything worked fine. HE HELPED ME AND I AM GRATEFUL. Thank you for that!
P.S. I did not feel this was a programming error, becuase despite me truly being a beginner programmer, I am not completely ignorant. I have written programs before using Codeblocks 8.02 and will continue to do so.
2) I was trying to tell Morten MacFly that his comment seemed unnecessary. When I asked the question "Whether Vista had a default compiler?" he replied "No" and then compared me not knowing that to cooking something without knowing the ingredients. I felt that this analogy was horribly inaccurate and even more, useless to solving my problem and it made the assumption that I was stupid.

And I'm sorry that all my post seemed to bring about hostility. Maybe it was what I said, maybe it was the way I said it. In no way did I ecxpect you all to hold my hand while I tried to figure out how to print "Hello, World" or some beginner program.  I was simply asking a troubleshooting problem on what I expected to be a troubleshooting thread where people would walk you through your issues patiently.

Maybe I was ignorant/stupid Tim S.  or maybe there was confusion

This will probably be my final post on this topic despite whatever future posts appear in this thread.
Title: Re: Help with "Build and Run"
Post by: MortenMacFly on February 01, 2009, 09:44:45 am
I felt that this analogy was horribly inaccurate and even more, useless to solving my problem and it made the assumption that I was stupid.
I was trying to help you by telling you that you'd better start off by understanding the platform you are trying to use. It was absolutely not telling that you are stupid. If you think different and believe that my comments are useless - it's fine with me. And don't worry - I won't help you in the future anymore.