User forums > Help

Help me please, I can't even get started learning programming

<< < (3/4) > >>

headkase:
I do not understand the issue why then.  When you are in the Toolchain Executable settings, without doing anything else does clicking the "auto detect" button give a success message?  If so, then they should be working.  Also, to rule out the obvious, you are clicking the "build and run" button and not just the "build" button right?  JUST to rule out the obvious.  Also, your project files aren't in a UAC protected location right?  Like "Program Files"?  If they are then move them to another location like "C:\Cpp".  Non-privileged programs cannot write to UAC locations.

CrumblingAway:
It shows the message after pressing either "build and run" or "build", so logically the issue is with the building, since it doesn't even get to the running part, as it didn't build anything to begin with.
And the project is in a simple folder on the desktop, could that be the problem?

headkase:
Your desktop folder is within your user in C:\Users so that is not a UAC protected location - not the issue.

The only thing I can suggest is uninstall 13.12 (which will also uninstall the compiler) and install the nightly and TDM-GCC 32 bit as given earlier in this thread.  Run the nightly and set up your toolchain executables manually to wherever you install TDM-GCC.  Both the nightly and TDM-GCC are MUCH newer versions of everything than what you got with the 13.12 package.  13.12 is oooollllddd.

Before running the Nightly, go to C:\Users\<Your User Name>\AppData\Roaming and delete the CodeBlocks folder.  That is the old configuration for 13.12 and you want to start fresh with the Nightly.  AppData is hidden so when you are in <Your User Name> click on the breadcrumb trail (at the top of the explorer window, which folder you are in) and it will change to an absolute path and you can add "\AppData" to it and press Enter and then you'll be in that hidden folder and then go into Roaming from there.

If you have the same issue with the combination of the Nightly and TDM-GCC then the issue is something to do with your Windows installation itself.  If you don't then it was just an issue(s) that got fixed along the way with the much newer nightly and compiler suite.

But, Python.. :P ;)

stahta01:
From my directions I wrote many months back.
https://github.com/stahta01/stahta01.github.io/blob/master/CodeBlocks/CB_Trouble_Shooting/CodeBlocks%20MinGW%20GCC%20Troubleshooting.txt

If you follow the these directions; you can confirm a good MinGW GCC installation, or not.

Part III. Run the test batch files to confirm a good MinGW Installation
A. Download zipped file.
https://github.com/stahta01/stahta01.github.io/blob/master/CodeBlocks/CB_Trouble_Shooting/MinGWHelloWorld.zip
B. Unzip the file.
C. Read the readme.txt file.
D. Run the batch files.

Edit: It might still fail because of Anti-Virus software stopping MinGW GCC.

Tim S.

CrumblingAway:
I downloaded the .rar, but how do I know if the batch files work? Here's what happens: I double click the simple1, a window opens with a lot of text and at the end it says to press any button, upon doing that two new folders appear, one with a file I have nothing to do with, and another which briefly opens a window that says "Hello World" and then closes. When I double click simple 2, again a window with a lot of text appears, I press an arbitrary button, and the window just closes. Does that mean they worked?

Also, I press the "main.c" file which is included in the .rar that I download, it opens up the "Hello World" program in Code::Blocks, and when I build and run it, it actually works. What does that mean?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version