Skip to content

Instantly share code, notes, and snippets.

@maryrosecook
Created May 6, 2011 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maryrosecook/959500 to your computer and use it in GitHub Desktop.
Save maryrosecook/959500 to your computer and use it in GitHub Desktop.
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for program g++ or c++ : /usr/bin/g++
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.599s)
Waf: Entering directory `/Users/maryrosecook/code/nodewii/build'
[1/3] cxx: src/base.cc -> build/default/src/base_1.o
[2/3] cxx: src/wiimote.cc -> build/default/src/wiimote_1.o
In file included from ../src/base.cc:9:
../src/../include/wiimote.h:12:33: error: bluetooth/bluetooth.h: No such file or directory
../src/wiimote.cc:10:33: error: bluetooth/bluetooth.h: No such file or directory
../src/../include/wiimote.h:13:44: error: ../src/wiimote.cc:11:44:../vendor/cwiid/libcwiid/cwiid.h: No such file or directory
error: ../vendor/cwiid/libcwiid/cwiid.h: No such file or directory
In file included from ../src/wiimote.cc:13:
../src/../include/wiimote.h:13:44: error: ../vendor/cwiid/libcwiid/cwiid.h: No such file or directory
In file included from ../src/wiimote.cc:13:
../src/../include/wiimote.h:123: error: ISO C++ forbids declaration of 'cwiid_wiimote_t' with no type
../src/../include/wiimote.h:123: error: expected ';' before '*' token
../src/../include/wiimote.h:128: error: field 'state' has incomplete type
../src/../include/wiimote.h:133: error: 'bdaddr_t' does not name a type
In file included from ../src/base.cc:9:
../src/../include/wiimote.h:123: error: ISO C++ forbids declaration of 'cwiid_wiimote_t' with no type
../src/../include/wiimote.h:123: error: expected ';' before '*' token
../src/../include/wiimote.h:128: error: field 'state' has incomplete type
../src/../include/wiimote.h:133: error: 'bdaddr_t' does not name a type
../src/wiimote.cc: In member function 'int WiiMote::Connect(const char*)':
../src/wiimote.cc:46: error: 'class WiiMote' has no member named 'mac'
../src/wiimote.cc:46: error: 'str2ba' was not declared in this scope
../src/wiimote.cc:48: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:48: error: 'class WiiMote' has no member named 'mac'
../src/wiimote.cc:48: error: 'cwiid_open' was not declared in this scope
../src/wiimote.cc: In member function 'int WiiMote::Rumble(bool)':
../src/wiimote.cc:58: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:58: error: 'cwiid_set_rumble' was not declared in this scope
../src/wiimote.cc: In member function 'int WiiMote::Led(int, bool)':
../src/wiimote.cc:66: error: 'CWIID_LED1_ON' was not declared in this scope
../src/wiimote.cc:66: error: 'CWIID_LED2_ON' was not declared in this scope
../src/wiimote.cc:66: error: 'CWIID_LED3_ON' was not declared in this scope
../src/wiimote.cc:66: error: 'CWIID_LED4_ON' was not declared in this scope
../src/wiimote.cc:68: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:68: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:68: error: 'cwiid_get_state' was not declared in this scope
../src/wiimote.cc:70: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:74: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:74: error: 'cwiid_set_led' was not declared in this scope
../src/wiimote.cc: In member function 'int WiiMote::IrReporting(bool)':
../src/wiimote.cc:91: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:91: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:91: error: 'cwiid_get_state' was not declared in this scope
../src/wiimote.cc:94: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:96: error: 'CWIID_RPT_IR' was not declared in this scope
../src/wiimote.cc:98: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:98: error: 'cwiid_set_rpt_mode' was not declared in this scope
../src/wiimote.cc: In member function 'int WiiMote::AccReporting(bool)':
../src/wiimote.cc:106: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:108: error: 'CWIID_RPT_ACC' was not declared in this scope
../src/wiimote.cc:110: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:110: error: 'cwiid_set_rpt_mode' was not declared in this scope
../src/wiimote.cc: In member function 'int WiiMote::ExtReporting(bool)':
../src/wiimote.cc:118: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:120: error: 'CWIID_RPT_EXT' was not declared in this scope
../src/wiimote.cc:122: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:122: error: 'cwiid_set_rpt_mode' was not declared in this scope
../src/wiimote.cc: In member function 'int WiiMote::ButtonReporting(bool)':
../src/wiimote.cc:130: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:130: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:130: error: 'cwiid_get_state' was not declared in this scope
../src/wiimote.cc:133: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:135: error: 'CWIID_RPT_BTN' was not declared in this scope
../src/wiimote.cc:137: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:137: error: 'cwiid_set_rpt_mode' was not declared in this scope
../src/wiimote.cc: In static member function 'static void WiiMote::TriggerMessages(ev_timer*, int)':
../src/wiimote.cc:151: error: 'class WiiMote' has no member named 'wiimote'
../src/wiimote.cc:151: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:151: error: 'cwiid_get_state' was not declared in this scope
../src/wiimote.cc:158: error: 'CWIID_IR_SRC_COUNT' was not declared in this scope
../src/wiimote.cc:163: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:163: error: 'CWIID_X' was not declared in this scope
../src/wiimote.cc:164: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:164: error: 'CWIID_Y' was not declared in this scope
../src/wiimote.cc:197: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:198: error: 'CWIID_EXT_NONE' was not declared in this scope
../src/wiimote.cc:203: error: 'CWIID_EXT_NUNCHUK' was not declared in this scope
../src/wiimote.cc:207: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:207: error: 'CWIID_X' was not declared in this scope
../src/wiimote.cc:208: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:208: error: 'CWIID_Y' was not declared in this scope
../src/wiimote.cc:215: error: 'class WiiMote' has no member named 'state'
../src/wiimote.cc:216: error: 'class WiiMote' has no member named 'state'
Waf: Leaving directory `/Users/maryrosecook/code/nodewii/build'
Build failed:
-> task failed (err #1):
{task: cxx base.cc -> base_1.o}
-> task failed (err #1):
{task: cxx wiimote.cc -> wiimote_1.o}
make: *** [build_bindings] Error 1
@tbranyen
Copy link

tbranyen commented May 6, 2011

Hmmm. I'll do some research and see whats up. Guessing I just need to change the headers around for OS X. I'll modify the README as well, since I forgot a few other steps as well.

Also, you tried this on OS X correct?

@maryrosecook
Copy link
Author

Yes, that's right, on OS X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment