thenameisnigel-old / microbridge

Automatically exported from code.google.com/p/microbridge
0 stars 0 forks source link

usb.cpp:698: error: 'direction' was not declared in this scope #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Alter code for Arduino 1.0 (wiring.h == arduino.h)
2. Make and run a simple app
3.

What is the expected output? What do you see instead?
Program connecting
=========
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:17:20: error: wiring.h: 
No such file or directory
In file included from 
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:18:
/Users/username/Documents/Arduino/libraries/Adb/usb.h:193: error: 'boolean' has 
not been declared
/Users/username/Documents/Arduino/libraries/Adb/usb.h:211: error: 'boolean' has 
not been declared
In file included from 
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:20:
/Users/username/Documents/Arduino/libraries/Adb/max3421e.h:94: error: 'boolean' 
does not name a type
/Users/username/Documents/Arduino/libraries/Adb/max3421e.h:95: error: 'boolean' 
does not name a type
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp: In function 'int 
usb_dispatchPacket(uint8_t, usb_endpoint*, unsigned int)':
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:137: error: 'millis' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp: In static member 
function 'static void USB::poll()':
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:232: error: 'millis' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:259: error: 'millis' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:278: error: 'millis' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:285: error: 'millis' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp: At global scope:
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:488: error: 'boolean' 
has not been declared
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp: In static member 
function 'static int USB::write(usb_device*, usb_endpoint*, uint16_t, 
uint8_t*)':
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:516: error: 'millis' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp: At global scope:
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:617: error: 'boolean' 
has not been declared
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp: In static member 
function 'static int USB::controlRequest(usb_device*, uint8_t, uint8_t, 
uint8_t, uint8_t, uint16_t, uint16_t, uint8_t*)':
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:656: error: 'boolean' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:656: error: expected 
`;' before 'direction'
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:664: error: 'direction' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:687: error: 'direction' 
was not declared in this scope
/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:698: error: 'direction' 
was not declared in this scope
===========

What version of the product are you using? On what operating system?
Latest trunk

Please provide any additional information below.
Its on mac OSX ML

Original issue reported on code.google.com by magnuskn...@gmail.com on 10 Jan 2013 at 8:09

GoogleCodeExporter commented 9 years ago
Im an idiot :D clearly.... 
"/Users/username/Documents/Arduino/libraries/Adb/usb.cpp:17:20: error: 
wiring.h:"

Original comment by magnuskn...@gmail.com on 10 Jan 2013 at 8:10

GoogleCodeExporter commented 9 years ago
So the solution is to make shure to replace wiring.h at all the locations, 
ticket is solved

Original comment by magnuskn...@gmail.com on 10 Jan 2013 at 8:12