I was a little terse last night. My apologies. I really don't see how I incurred your wrath quite as quickly as I did. As far as I understand, I followed the rules. Please give me an opportunity to explain better.
As per my initial post I downloaded and installed Code::Blocks with MingW. What MingW is I don't know. I ran the C::B app and saw the "Hello World" default code - very helpful. So I ran it. Success! I'm well on my way.
From the File menu I selected New >> Class and was met with a bewildering array of options. All I care about is my class's name, do I need a Virtual Deconstructor? I don't know. I did note that the header file was going to be created under \include and the cpp file under \src. Given that I don't know C::B at all, I accept the defaults given to me. I hit Build. It fails with the list of errors given below.
Having read in Features
http://www.codeblocks.org/features that it doesn't use makefiles, I figure the Custom Build System should be taking care of building my new class (I'm wrong). So I locate the C::B forum and search. I'm looking for the phrase "No such file or directory" but the forum search gives me Match All Words and Match Any Words options. The search results are useless. So I go to Google. I search
"No such file or directory" code blocks and work through the first few pages of results.
There's something about WxWidgets, some Linux stuff, plenty of new acronyms I don't know: MSVC, STL, etc. etc. So I go searching for the documentation that must exists. The web site does not have a "getting started" area, but it does link to a manual. So I dutifully download and begin reading. Are you aware the manual does not have a table of contents? Are you also aware that the first sentence is "
The instructions for chapter 3 on page 53 and ?? on page ?? are official documentations of the CodeBlocks Wiki site and available in english only.". I take this to mean the manual is only a rough draft. But I plow on. After a few pages I'm reading about build targets, workspaces, dependencies and assembler files. So this isn't starting with the easy stuff; on page 5 I'm lost.
So I went back to the forum and, being a member of other forums, I have a bit of a clue what to do. I locate the appropriate section and read the stickies at the top. Yes, it's true I didn't post an "I am new, I am here" post to your Welcome Newcomers thread. I read IMPORTANT! READ THIS BEFORE ASKING FOR HELP! Again, by point 2 you've lost me. How do I know if the error I receive is generated from the compiler or the IDE? I don't know. Is my problem library or framework specific? I know it's specific to C::B 'cause so far I've used only the defaults to start a project and it's failed.
At this point I threw myself on the mercy of the forum! If I had completely the wrong end of the stick, I expected a kind person to say, "hey, you should read the Beginner's Guide, here's a link" or something. Instead Morten replied "How should we know?" That's just
stunningly helpful.
I see that you Morten (Martin) are part of the C::B team. You must get a 100 posters a day asking the same inane questions over and over. And as you noted, you're legally required to read all forum posts. So I don't envy you. But if you're frustrated enough to respond unhelpfully, how about you do yourself a favour and update your documentation? Fix the manual. Put a Beginners heading on your web site and fill it with useful tutorials.
My summation of the C::B project from my meagre experience is that there's a high technical barrier to entry and one of the lead people involved trolls the forum. Marten, you should spend some time at
http://arduino.cc/forum/ and see how a good forum is run.
PS. All I want to know is the answer to my reply to Jens. Where are the include directories configured in a C::B project?