Anything's confusing when it's new and unfamiliar. It does lessen over time, I promise...BiggusD wrote:It seems to be the compiler dosent recognise what a cube is, so does the compiler look at the drivers? Or does installing new drivers affect the compiler bit of the program
Or am i getting confused because sometimes i feel like my brain dosent get enough blood supply for some reason

Compiler errors like "cube does not name a type" don't refer to the drivers, the cube here is part of the Cube library rather than the actual device. To confirm this, click the Tick button ("Verify") in the Arduino IDE and check you get the same error as when you click the Arrow button ("Upload"). The verify step doesn't care what you have plugged in, it just tries to compile the source code yu have loaded in the window.
Can you go through the following steps and post the full verbose compiler output, please?
angusgr wrote:please go to File -> Preferences and enable "Show Verbose output when... compiling". Then rerun the compile and copy/paste all the verbose compiler output (you'll have to do a bit of click-and-drag fussing around to select it all unfortunately, resizing the bottom pane will help, and then use Ctrl-C keyboard shortcut to Copy as the Arduino Edit->Copy won't work) and post that as well? It may be quite a lot of output so you may want to use a service like http://pastebin.com and just post a link.