Code::Blocks Forums

User forums => Help => Topic started by: WingNut13 on November 13, 2011, 12:48:04 am

Title: Will not run program
Post by: WingNut13 on November 13, 2011, 12:48:04 am
I'm new to Code::blocks, so this is probably a configuration issue.

When I try and run a simple test program that has only one window and a text box, All that appears is a Wx widgets application template that says "Hello Code::Blocks User!" at the bottom.

XP Pro SP3
Code::Blocks 10.05
wxWidgets 2.8.8
Title: Re: Will not run program
Post by: Alpha on November 13, 2011, 02:56:50 am
I am not sure I understand your problem;
Title: Re: Will not run program
Post by: Radek on November 13, 2011, 08:08:22 am
Code Blocks are often adding "default files" to your project when you create a new project. Predefined main programs, headers and so on. Perhaps, some people like it. As I have just checked, you have become a victim of such behaviour  :mrgreen:

Check file tree and delete all unwanted files (files you have not written) from it. Try compiling again. Luckily, wxWidgets project has an option "create empty project" (a checkbox) while creating a project, which cause no additional files in your newly created project. You will start an empty project with no files and your first action will be adding a new file to the project.