Hi, I’m trying to use h-bridge-dc-motor but it doesn’t compile, the arduino ide show this:
(I have a similar problem with the servo node)
"Arduino:1.6.6 (Linux), Placa:“Arduino Nano, ATmega328”
sketch_aug08b:152: error: 'T' was not declared in this scope
return a.get() == b.get();
^
sketch_aug08b:152: error: template argument 1 is invalid
return a.get() == b.get();
^
sketch_aug08b:152: error: 'U' was not declared in this scope
return a.get() == b.get();
^
sketch_aug08b:152: error: template argument 1 is invalid
return a.get() == b.get();
^
sketch_aug08b:152: error: 'bool boost::operator!=(const int&, const int&)' must have an argument of class or enumerated type
return a.get() == b.get();
^
sketch_aug08b:153: error: 'T' was not declared in this scope
}
^
sketch_aug08b:153: error: template argument 1 is invalid
}
^
sketch_aug08b:153: error: 'U' has not been declared
}
^
sketch_aug08b:153: error: 'bool boost::operator==(const int&, int*)' must have an argument of class or enumerated type
}
^
sketch_aug08b:154: error: 'T' was not declared in this scope
^
sketch_aug08b:154: error: template argument 1 is invalid
^
sketch_aug08b:154: error: 'U' has not been declared
^
sketch_aug08b:154: error: 'bool boost::operator!=(const int&, int*)' must have an argument of class or enumerated type
^
sketch_aug08b:155: error: declaration of 'operator==' as non-function
template <class T, class U>
^
sketch_aug08b:155: error: 'T' was not declared in this scope
sketch_aug08b:155: error: 'a' was not declared in this scope
template <class T, class U>
^
sketch_aug08b:155: error: 'U' was not declared in this scope
template <class T, class U>
^
sketch_aug08b:155: error: template argument 1 is invalid
template <class T, class U>
^
sketch_aug08b:156: error: declaration of 'operator!=' as non-function
inline bool operator!=(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:156: error: 'T' was not declared in this scope
sketch_aug08b:156: error: 'a' was not declared in this scope
inline bool operator!=(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:156: error: 'U' was not declared in this scope
inline bool operator!=(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:156: error: template argument 1 is invalid
inline bool operator!=(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:157: error: 'T' was not declared in this scope
return a.get() != b.get();
^
sketch_aug08b:157: error: template argument 1 is invalid
return a.get() != b.get();
^
sketch_aug08b:157: error: 'bool boost::operator==(const int&, nullptr_t)' must have an argument of class or enumerated type
return a.get() != b.get();
^
sketch_aug08b:158: error: 'T' was not declared in this scope
}
^
sketch_aug08b:158: error: template argument 1 is invalid
}
^
sketch_aug08b:158: error: 'bool boost::operator==(nullptr_t, const int&)' must have an argument of class or enumerated type
}
^
sketch_aug08b:159: error: 'T' was not declared in this scope
^
sketch_aug08b:159: error: template argument 1 is invalid
^
sketch_aug08b:159: error: 'bool boost::operator!=(const int&, nullptr_t)' must have an argument of class or enumerated type
^
sketch_aug08b:160: error: 'T' was not declared in this scope
template <class T, class U>
^
sketch_aug08b:160: error: template argument 1 is invalid
template <class T, class U>
^
sketch_aug08b:160: error: 'bool boost::operator!=(nullptr_t, const int&)' must have an argument of class or enumerated type
template <class T, class U>
^
sketch_aug08b:161: error: 'T' was not declared in this scope
inline bool operator==(intrusive_ptr<T> const &a, U *b) {
^
sketch_aug08b:161: error: template argument 1 is invalid
inline bool operator==(intrusive_ptr<T> const &a, U *b) {
^
sketch_aug08b:161: error: 'T' was not declared in this scope
inline bool operator==(intrusive_ptr<T> const &a, U *b) {
^
sketch_aug08b:161: error: template argument 1 is invalid
inline bool operator==(intrusive_ptr<T> const &a, U *b) {
^
sketch_aug08b:161: error: 'bool boost::operator<(const int&, const int&)' must have an argument of class or enumerated type
inline bool operator==(intrusive_ptr<T> const &a, U *b) {
^
sketch_aug08b:163: error: variable or field 'intrusive_ptr_add_ref' declared void
}
^
sketch_aug08b:163: error: 'Chunk' was not declared in this scope
sketch_aug08b:163: error: 'chunk' was not declared in this scope
}
^
sketch_aug08b:164: error: variable or field 'intrusive_ptr_release' declared void
^
sketch_aug08b:164: error: 'Chunk' was not declared in this scope
sketch_aug08b:164: error: 'chunk' was not declared in this scope
^
sketch_aug08b:165: error: variable or field 'intrusive_ptr_add_ref' declared void
template <class T, class U>
^
sketch_aug08b:165: error: 'List' was not declared in this scope
sketch_aug08b:165: error: expected primary-expression before '>' token
template <class T, class U>
^
sketch_aug08b:165: error: 'list' was not declared in this scope
template <class T, class U>
^
sketch_aug08b:166: error: variable or field 'intrusive_ptr_release' declared void
inline bool operator!=(intrusive_ptr<T> const &a, U *b) {
^~~~
sketch_aug08b:166: error: 'List' was not declared in this scope
sketch_aug08b:166: error: expected primary-expression before '>' token
inline bool operator!=(intrusive_ptr<T> const &a, U *b) {
^
sketch_aug08b:166: error: 'list' was not declared in this scope
inline bool operator!=(intrusive_ptr<T> const &a, U *b) {
^
sketch_aug08b:167: error: 'PinKey' has not been declared
return a.get() != b;
^
sketch_aug08b:168: error: 'DirtyFlags' does not name a type
}
^
sketch_aug08b:169: error: 'NodeId' was not declared in this scope
^
sketch_aug08b:169: error: 'PinKey' was not declared in this scope
^
sketch_aug08b:169: error: expression list treated as compound expression in initializer [-fpermissive]
^
sketch_aug08b:170: error: 'NodeId' was not declared in this scope
template <class T, class U>
^~~~~
sketch_aug08b:170: error: 'PinKey' was not declared in this scope
template <class T, class U>
^
sketch_aug08b:170: error: expression list treated as compound expression in initializer [-fpermissive]
template <class T, class U>
^
sketch_aug08b:171: error: 'NodeId' was not declared in this scope
inline bool operator==(T *a, intrusive_ptr<U> const &b) {
^~~~~~
sketch_aug08b:172: error: variable or field 'markPinDirty' declared void
return a == b.get();
^~~~~~
sketch_aug08b:172: error: 'NodeId' was not declared in this scope
sketch_aug08b:172: error: 'PinKey' was not declared in this scope
return a == b.get();
^
sketch_aug08b:173: error: variable or field 'markNodeDirty' declared void
}
^
sketch_aug08b:173: error: 'NodeId' was not declared in this scope
sketch_aug08b:174: error: 'NodeId' was not declared in this scope
^
sketch_aug08b:175: error: 'TimeMs' does not name a type
template <class T, class U>
^~~~~~
sketch_aug08b:176: error: variable or field 'setTimeout' declared void
inline bool operator!=(T *a, intrusive_ptr<U> const &b) {
^~~~~~
sketch_aug08b:176: error: 'NodeId' was not declared in this scope
sketch_aug08b:176: error: 'TimeMs' was not declared in this scope
inline bool operator!=(T *a, intrusive_ptr<U> const &b) {
^~~~~~
sketch_aug08b:177: error: variable or field 'clearTimeout' declared void
return a != b.get();
^~~~~~
sketch_aug08b:177: error: 'NodeId' was not declared in this scope
sketch_aug08b:178: error: 'T' does not name a type
}
^
sketch_aug08b:179: error: 'InputT' has not been declared
^
sketch_aug08b:179: error: 'NodeId' was not declared in this scope
^
sketch_aug08b:180: error: variable or field 'emitValueImpl' declared void
#if __GNUC__ == 2 && __GNUC_MINOR__ <= 96
^~~~~~
sketch_aug08b:180: error: 'NodeId' was not declared in this scope
sketch_aug08b:180: error: 'PinKey' was not declared in this scope
#if __GNUC__ == 2 && __GNUC_MINOR__ <= 96
^~~~~~
sketch_aug08b:180: error: 'T' was not declared in this scope
#if __GNUC__ == 2 && __GNUC_MINOR__ <= 96
^
sketch_aug08b:181: error: variable or field 'emitValue' declared void
^
sketch_aug08b:181: error: 'NodeId' was not declared in this scope
sketch_aug08b:181: error: 'OutputT' has not been declared
^
sketch_aug08b:181: error: expected '(' before 'value'
^
sketch_aug08b:182: error: variable or field 'reemitValueImpl' declared void
// Resolve the ambiguity between our op!= and the one in rel_ops
^~~~~~
sketch_aug08b:182: error: 'NodeId' was not declared in this scope
sketch_aug08b:182: error: 'PinKey' was not declared in this scope
// Resolve the ambiguity between our op!= and the one in rel_ops
^~~~~~
sketch_aug08b:183: error: variable or field 'reemitValue' declared void
^
sketch_aug08b:183: error: 'NodeId' was not declared in this scope
sketch_aug08b:184: error: variable or field 'evaluateNode' declared void
template <class T>
^
sketch_aug08b:184: error: 'NodeId' was not declared in this scope
sketch_aug08b:189: error: 'State' does not name a type
#endif
^~~~~
sketch_aug08b:190: error: expected nested-name-specifier before 'using'
^
sketch_aug08b:191: error: expected nested-name-specifier before 'using'
template <class T>
^~~~~
sketch_aug08b:192: error: expected nested-name-specifier before 'void'
inline bool operator==(intrusive_ptr<T> const &p, nullptr_t) {
^~~~
sketch_aug08b:151: error: 'T' was not declared in this scope
inline bool operator==(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:151: error: template argument 1 is invalid
inline bool operator==(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:151: error: 'U' was not declared in this scope
inline bool operator==(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:151: error: template argument 1 is invalid
inline bool operator==(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
sketch_aug08b:151: error: 'bool boost::operator==(const int&, const int&)' must have an argument of class or enumerated type
inline bool operator==(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b) {
^
exit status 1
'T' was not declared in this scope
"