Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0.5

The "Cube4" is a 4x4x4 RGB LED cube with an Arduino Leonardo compatible onboard controller. [Product page]
angusgr
Freetronics Staff
Freetronics Staff
Posts: 853
Joined: Tue Apr 09, 2013 11:19 pm
Location: Melbourne, Australia
Contact:

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by angusgr » Thu Jun 27, 2013 2:09 am

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
Anything's confusing when it's new and unfamiliar. It does lessen over time, I promise... :)

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.

hamster
Posts: 6
Joined: Thu Jun 20, 2013 8:39 pm

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by hamster » Thu Jun 27, 2013 9:12 am

Hi,

Here's a quick debugging flow for the CUBE4. I have had no problem with Arduino 1.5.2

The first thing is to check that the Cube4 library works....

* Open the Arduino GUI

* Under Tools/Board menu select "Arduino Leonardo"

* Check that you have the "Cube4" libaray listed in the "Sketch\Import Library" menu option. If not, then extract the files from the Cube4 zip file and add them into the Libraries directory in the Arduino directory. Exit the GUI, restart it and see if it now appears.

* First select "Sketch\Import Library\Cube4". This verifies that the Cube4 library is correctly installed.

Now to build a 'do nothing' sketch (you shouldn't have the Cube4 plugged in unless you want to nuke the self-test program....

* Select "File\New". You should have the default empty sketch open, about 9 lines in length

* Add the following two lines to the top, then click on the button to verify it:

Code: Select all

  #include <SPI.h>
  #include <Cube.h>
You should get a message like:

Code: Select all

  Binary sketch size: 12,626 bytes (of a 28,672 byte maximum) - 44% use
If this step fails to verify then you have a problem with the library installation.

Onwards! Now is the time to check that the driver is all working.

* Make sure that the Cube4 is not plugged in.

* See if any ports are available under the Tools/Serial Port option. It is most likely grayed out unless you have a physical serial port on your PC. Take note of what serial ports are installed.

* Plug in the Cube4. Wait a while for the drivers to load (if they are there)

* See if any new port is available under the Tools/Serial Port menu option. If so then your drivers are all in place and working fine. If the port is not available check in device manager. If there is an unknown device update the driver from the one in the Arduino software's driver directory. Unplug the Cube4, plug it back in and try again.

* Select the newly appeared port in the Tools/Serial Port menu

If this all works then you should be all good to go. Next open one of the demos - "SunnyDay" is as good as any - try uploading it!

BiggusD
Posts: 4
Joined: Tue Jun 25, 2013 6:09 am

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by BiggusD » Sat Jun 29, 2013 10:23 am

Hi ,
Thanks for all your help guys, Finally got it going!,i followed hampsters' step by step debug ( good job mate), and realised i didnt have the cube4 files installed in the right place, and also i was running it as a leostick( which i thought was right before reading hampsters post, the instructions led me in this direction a little!).
Anyway, all is good now, & all example sketches work correctly.
Thanks to you smart fellows. You guys definitely dont have any blood supply diversion problems like me! ..(just kidding)
Cheers.

hamster
Posts: 6
Joined: Thu Jun 20, 2013 8:39 pm

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by hamster » Sun Jun 30, 2013 5:17 am

Great news!

Don't be too hard on yourself - when starting out it is very easy to hit a brick wall because of a little error/oversight. It is very common for instructions to be about how to do things when everything works correctly, not how to fix things when they are broken....

BiggusD
Posts: 4
Joined: Tue Jun 25, 2013 6:09 am

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by BiggusD » Mon Jul 01, 2013 2:52 am

Hi,
Yes, thats quite true about instructions.
Thanks again for your help guys, im going to try a few projects with arduino so i might be calling back in to get bailed out again!
Cheers.

vero96
Posts: 25
Joined: Sat Jun 01, 2013 10:08 pm

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by vero96 » Mon Jul 01, 2013 10:32 pm

Hi guys,

Thanks to everyone for their help, I too followed hamster's instructions seems my libraries are a bit of a mess, that and the paths. When I transferred all my old examples/sketchbook material, I did so from a win 7 PC to a win 8 PC - using a Belkin transfer cable basically everything on the old pc to the new one. Then downloaded the IDE again 1.0.5 to the win 8 PC however the IDE ended up on a different path. Long story short after reading hamsters original reply I followed the first few steps plugged the Cube4 in and what do ya know it worked. Still I spent countless hours trying to resolve this issue and I'm not quite sure if my assumption is correct, so I will take angus's advice and post the verbose output to http://www.pastebin.com as soon as I can, if anyone's interested in looking at it, because it may help others avoid the mistake/s I made. One minute it was working fine the next - nothing........and that's the part that just does not make much sense.
Any way it's doing it's thing so that what matters.

angusgr
Freetronics Staff
Freetronics Staff
Posts: 853
Joined: Tue Apr 09, 2013 11:19 pm
Location: Melbourne, Australia
Contact:

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by angusgr » Mon Jul 01, 2013 10:45 pm

Thanks hamster for posting those excellent diagnosis steps. Glad you both got it working, vero96 and BD.

FWIW you can program the Cube as either a Leonardo or a LeoStick V2, it will work either way.

vero96
Posts: 25
Joined: Sat Jun 01, 2013 10:08 pm

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0

Post by vero96 » Mon Jul 08, 2013 1:47 am

Hi, Guys and Girls angus suggested I post the verbose output of the Cube4
so here is the output while "sunny day" compiles"

http://pastebin.com/Jzh2xDEE

and here is the verbose output during upload

http://pastebin.com/iJbJBcjH

Hope this helps answer a previously asked question, I realize it has taken some time for me to get around to doing this.

Cheers, vero

yaoxuemei
Posts: 243
Joined: Fri Dec 15, 2017 7:34 am

Re: Cube4 Compiler Error/ Missing Driver /Windows8 / IDE 1.0.5

Post by yaoxuemei » Fri Dec 15, 2017 8:41 am

michael kors outlet
polo ralph lauren
pandora bracelet
jordan shoes
ralph lauren
giuseppe zanotti outlet
canada goose outlet
lunette ray ban
christian louboutin outlet
oakley sunglasses
polo ralph lauren
uggs outlet
oakley sunglasses wholesale
polo outlet
nike shoes on sale
canada goose jackets
moncler coats
canada goose jackets
ray ban wayfarer
nfl jerseys
ugg boots clearance
supreme t shirts
michael kors outlet
canada goose outlet store
ugg boots
coach outlet
tory burch outlet stores
mlb jerseys
coach outlet
supreme outlet
uggs outlet
ugg outlet
cheap ray bans sunglasses
polo outlet
ray-ban sunglasses
true religion jeans
tory burch sandals
canada goose outlet online
oakley sunglasses
uggs outlet
michael kors outlet
ugg boots
coach factory outlet
nfl jerseys wholesale
michael kors outlet online
ray ban sunglasses
ugg outlet
polo ralph lauren
uggs outlet
mulberry outlet
pandora outlet store
cheap oakley sunglasses
ray ban sunglasse
pandora jewelry outlet
ralph lauren shirts
coach outlet store online
coach outlet
cheap jordans
nike outlet store
canada goose jackets
coach outlet
uggs outlet
michael kors
fitflops sale clearance
uggs outlet
pandora outlet
cheap mlb jerseys
michael kors outlet
uggs outlet
cheap uggs
true religion
adidas outlet online
ugg outlet online clearance
polo ralph lauren outlet
fitflops sale clearance
canada goose jackets
nike shoes
michael kors outlet clearance
michael kors outlet
polo ralph lauren pas cher
longchamp bags
michael kors outlet online
coach outlet online
jordan shoes
canada goose
oakley sunglasses
mulberry handbags
true religion outlet
ray ban wayfarer
nike shoes for men
cheap ugg boots
fitflops sandals
coach outlet online
michael kors outlet online
michael kors outlet
yeezy boost
fitflops outlet
michael kors outlet clearance
nike outlet
uggs outlet
coach outlet clearance
ugg outlet
oakley sunglasses wholesale
giuseppe zanotti shoes
oakley sunglasses wholesale
tory burch outlet
oakley sunglasses wholesale
cheap oakley sunglasses
ralph lauren
ralph lauren uk
michael kors outlet clearance
polo ralph lauren shirts
canada goose outlet
pandora charms
nike shoes
nfl jerseys wholesale
coach factory outlet
canada goose jackets sale
ugg outlet
canada goose outlet
cheap ugg boots
christian louboutin shoes
coach outlet online
ralph lauren outlet
coach outlet online
uggs outlet
pandora outlet
ralph lauren polo
michael kors outlet
michael kors outlet
michael kors outlet clearance
ralph lauren uk
coach outlet store online
oakley sunglasses outlet
polo ralph lauren outlet
coach outlet
pandora outlet
ugg outlet
nike outlet
coach outlet
fred perry polo shirts
canada goose
pandora rings
michael kors outlet
nike outlet online
kate spade handbags
ugg outlet store
pandora charms
canada goose
ferragamo outlet store
polo outlet
true religion outlet store
uggs outlet
michael kors outlet online
polo ralph lauren
michael kors outlet online
coach factory outlet online
canada goose jackets
coach outlet store online
polo ralph lauren
christian louboutin
polo outlet
canada goose outlet store
coach outlet
jordan retro shoes
ralph lauren
michael kors outlet clearance
michael kors outlet online
michael kors outlet
canada goose outlet online
ugg outlet
air max shoes
uggs outlet
cheap nfl jerseys
ugg outlet
uggs on sale
ugg outlet
canada goose jackets
coach outlet
coach outlet
cheap nfl jerseys
canada goose outlet
ralph lauren
air jordan shoes
true religion outlet
polo shirts
coach factory outlet
canada goose outlet
mlb jerseys wholesale
canada goose outlet store
polo ralph lauren factory store
canada goose uk
polo ralph lauren
uggs outlet
adidas nmd
mont blanc outlet
polo outlet
mlb jerseys
longchamp
canada goose
yaoxuemei20171215

clibin009
Posts: 563
Joined: Mon Oct 23, 2017 2:57 am

chenjinyan

Post by clibin009 » Fri Jan 12, 2018 3:09 am

mbt shoes
louboutin
ray ban wayfarer
canada goose outlet
ugg outlet
michael kors uk
moncler schweiz
nfl jerseys wholesale
ugg boots on sale
air max
polo shirts
coach outlet online
vibram five fingers
longchamp outlet
adidas football boots
ugg boots
coach outlet
michael kors outlet
swarovski
cheap nfl jerseys
michael kors handbags
nike outlet store
mont blanc
scarpe mbt
the north face
adidas wings
ugg outlet
michael kors outlet
uggs outlet
scarpe hogan
ugg boots
ugg boots
adidas jeremy scott
cheap mlb jerseys
nike sb
nhl jerseys
cheap ray bans
michael kors outlet clearance
cheap nhl jerseys
michael kors
tory burch
pandora rings
canada goose jackets
michael kors handbags
moncler
ugg clearance
giuseppe zanotti shoes
coach outlet online
cheap nfl jerseys
cheap rolex watches
kate spade
michael kors outlet
coach handbags
ugg boots
tory burch
jordans
louboutin
nike air force
jordans
michael kors handbags
nike air
balance shoes
salvatore ferragamo
air max
nike outlet
oakley sunglasses
north face
coach factory outlet online
fitflops
birkenstock
nike football boots
timberland outlet
ralph lauren
ugg australia
michael kors
ugg
nike tn
birkenstock outlet
coach outlet online
pandora charms
nike blazer
ralph lauren outlet
ray ban sunglasses
pandora jewelry
ralph lauren uk
coach factory outlet online
coach outlet online
pandora jewelry
fitflops outlet
ray ban sunglasses
the north face
jordan retro
coach outlet online
timberland boots
hermes
polo ralph lauren
moncler
ugg outlet
coach outlet online
nike free run
nike uk
stan smith shoes
ugg boots sale
pandora jewelry canada
birkenstock sandals
north face uk
burberry scarf
canada goose jackets
longchamp
pandora jewelry
louboutin
coach factory online
ralph lauren
canada goose
air max
polo ralph lauren outlet
michael kors outlet
true religion jeans
oakley sunglasses wholesale
ralph lauren
michael kors outlet online
ugg outlet
burberry outlet
uggs
adidas yeezy
tory burch outlet
ray ban
air jordan 14
supreme outlet
kate spade handbags
ugg boots
nike outlet
north face jackets
ray ban
ray ban
ralph lauren uk
michael kors outlet
longchamp
louboutin
supreme uk
mont blanc pens
true religion jeans
prada
beats by dre
cheap jordans
nike factory outlet
jordan
ugg canada
ugg boots
nike huarache shoes
moncler outlet
coach outlet online
north face outlet
burberry scarf
tommy hilfiger
jordans
ray ban
ugg outlet store
coach factory outlet
nba jerseys
north face
oakley sunglasses
michael kors outlet
nike store uk
oakley sunglasses
louboutin
true religion jeans
flops
cheap mlb jerseys
the north face
under armour outlet
canada goose outlet
michael kors taschen
canada goose outlet
nike air max
pandora charms
tory burch outlet
true religion jeans
coach outlet
christian louboutin
ray ban
ray ban
ugg
jordan shoes
nike air max
ugg outlet
ferragamo outlet
ugg pas cher
moncler pas cher
polo ralph lauren
air jordan
michaelkors outlet online
moncler
coach
basketball shoes
uggs
juicy couture outlet
canada goose jackets
canada goose jackets
pandora uk
mac cosmetics
kate spade
moncler
air jordan
jordans
snapbacks wholesale
hermes outlet
ray ban sunglasses
ralph lauren
canada goose sale
michael kors outlet
cheap ugg boots
cheap ugg boots
polo ralph
manolo blahnik shoes
polo ralph
canada goose jackets
coach handbags
adidas outlet store
moncler outlet
flops
north face outlet
ugg italia
ralph lauren uk
mlb jerseys
coach outlet
ugg boots
north face jackets clearance
ugg outlet
burberry outlet canada
uggs
flip flops
doudoune canada goose
ugg boots
uggs outlet
ugg
coach outlet online
polo ralph lauren
oakley sunglasses
ray ban sunglasses
adidas stan smith shoes
swarovski crystal
uggs outlet
air jordan
flip flops
north face jackets
michael kors outlet
jordan shoes
uggs outlet
nike air max
polo ralph
timberland pro
jordan
north face
uggs outlet
replica watches
ugg boots
longchamp outlet
jordan shoes
canada goose
hermes birkin bags
north face uk
polo ralph lauren
adidas superstar
canada goose
red bottom shoes
jordan shoes
pandora
mcm bags
nike factory outlet
adidas uk
ray ban sunglasses wholesale
ugg
canada goose outlet
adidas shoes
prada handbags
coach factory outlet
supra shoes
burberry outlet online
louboutin
moncler
baseball jerseys
michael kors outlet
kate spade
north face
air max
supreme
uggs outlet
oakley sunglasses
coach factory outlet
adidas outlet
cheap oakley sunglasses
oakley canada
michael kors handbags
ugg boots
mulberry handbags
north face
canada goose jackets
ugg boots
true religion
coach outlet
canada goose
ugg boots
michael kors outlet
north face outlet
coach factory outlet
louboutin
uggs outlet
christian louboutin
timberland boots
ugg
oakley sunglasses
ferragamo shoes
ugg boots
louboutin
prada
kate spade
moncler outlet
hermes uk
canada goose canada
the north face
nike outlet
timberland boots
north face
ugg canada
oakley vault
doudoune canada goose
ugg outlet
coach outlet
oakley sunglasses
cheap nfl jerseys
nfl jerseys wholesale
canada goose sale
moncler jackets
prada bags
moncler
jordan shoes
true religion jeans
moncler
soccer jerseys
canada goose jackets
blackhawks jersey
ray ban sunglasses
longchamp handbags
moncler
coach
moncler jackets
nike air huarache
ralph lauren
pandora jewelry canada
longchamp
mont blanc pens
superdry clothing
converse shoes
louboutin
jordan pas cher
ugg boots
kate spade outlet
canada goose
ugg boots
ralph lauren
cheap nfl jerseys
adidas shoes
20181.12chenjinyan

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests