make: Nothing to be done for ‘all’ – Eclipse Error Solved

I’ve seen this odd error several times over the years, almost always after first importing a new project into Eclipse-CDT.

After import, when you try to build your project, it just returns the message make: Nothing to be done for all in the console.

And then, once you’ve got the error, nothing you do will kick your build into action – changing files, changing project settings, even deleting and recreating build configurations.

If you try to run the executable, you just get Launch failed. Binary not found.

Because, of course, make hasn’t built anything.

Aargh!

Annoying, eh?

Read moremake: Nothing to be done for ‘all’ – Eclipse Error Solved

Access GDB Directly In Eclipse Luna

This isn’t a new feature, but it’s really useful when you’re debugging in eclipse, especially if you’re using the more advance or obscure features in GDB.

Basically, when you are debugging any program, there is a way to talk directly to GDB without using the point-and-click interface of Eclipse.

It’s called the GDB console.

It’s also really easy to find. When you are next running a debug session, just click on the console icon that is displayed in the console tab. The console usually shows your program output, but there is more than just one console!

Read moreAccess GDB Directly In Eclipse Luna

Raspberry Pi Knight Rider LEDs Part 2

Now we’ve got one LED up and running, it’s pretty easy to expand this to make a light bar like K.I.T.T.’s.

Step 1 – Wire up the breadboard

The next thing we need to do is switch everything off, and then wire up the breadboard as per the circuit diagram below. Leave the female ends of the jumper wires dangling for now – we’ll plug them into the Pi in step 2.

knightrider_bb

Read moreRaspberry Pi Knight Rider LEDs Part 2

Raspberry Pi Knight Rider LEDs Part 1

This is the first part of a two parter on creating the K.I.T.T. light bar with LEDs using your Pi (I know, awesome, right?).

Here’s mine in action:

In this section we’ll install the wiringPi library on the Raspberry Pi, connect up a single LED, and write a simple program in C to make it flash.

In part two we’ll connect up more LEDs, expand the code, and then travel back to the 80s with our finished product.

Read moreRaspberry Pi Knight Rider LEDs Part 1