XHC-HB04 wireless MPG pendant HAL module

More
13 years 3 months ago #36851 by f1oat
@langarod: thank you for the bug fix, I will integrate it in the next release.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #38294 by chimeno
Hello,

I have the XHC-HB04 pendant but can not get it to work with LinuxCNC, and downloaded the file and the wiki and saved in the downloads folder, then unzip. Ubuntu open the terminal to begin with make make install but i gives me file not found.
not much recently that started with linux, you can help me?

regards
Albert

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #38295 by f1oat
Hello,
Could you send us what is printed on your terminal ? What is the full error message ?
Frederic.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago - 13 years 2 months ago #38301 by chimeno
⃕
hello,

this is what I get to do make:
Code:
root@albert-desktop:~# cd Descargas/src root@albert-desktop:~/Descargas/src# ls Makefile xhc-hb04.cc xhc-hb04-layout1.ini xhc-hb04-world-mode.hal README xhc-hb04.hal xhc-hb04-layout2.ini root@albert-desktop:~/Descargas/src# make g++ -I/usr/include/linuxcnc -DVERSION=V05 xhc-hb04.cc -o xhc-hb04 -lusb-1.0 -lm -llinuxcnchal -llinuxcncini xhc-hb04.cc:34:26: error: linuxcnc/hal.h: No existe el fichero o el directorio xhc-hb04.cc:35:22: error: inifile.hh: No existe el fichero o el directorio xhc-hb04.cc:61: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:61: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:62: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:62: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:64: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:64: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:65: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:65: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:67: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:67: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:69: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:69: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:70: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:70: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:71: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:71: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:72: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:72: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:73: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:73: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:74: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:74: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:75: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:75: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:76: error: ISO C++ forbids declaration of ‘hal_s32_t’ with no type xhc-hb04.cc:76: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:78: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:78: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:79: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:79: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:80: error: ISO C++ forbids declaration of ‘hal_float_t’ with no type xhc-hb04.cc:80: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:81: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:81: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:82: error: ISO C++ forbids declaration of ‘hal_bit_t’ with no type xhc-hb04.cc:82: error: expected ‘;’ before ‘*’ token xhc-hb04.cc:93: error: ‘hal_s32_t’ does not name a type xhc-hb04.cc: In function ‘const char* iniFind(FILE*, const char*, const char*)’: xhc-hb04.cc:109: error: ‘IniFile’ was not declared in this scope xhc-hb04.cc:109: error: expected ‘;’ before ‘f’ xhc-hb04.cc:111: error: ‘f’ was not declared in this scope xhc-hb04.cc: In function ‘void xhc_display_encode(xhc_t*, unsigned char*, int)’: xhc-hb04.cc:147: error: ‘struct xhc_hal_t’ has no member named ‘a_wc’ xhc-hb04.cc:148: error: ‘struct xhc_hal_t’ has no member named ‘x_wc’ xhc-hb04.cc:149: error: ‘struct xhc_hal_t’ has no member named ‘y_wc’ xhc-hb04.cc:150: error: ‘struct xhc_hal_t’ has no member named ‘z_wc’ xhc-hb04.cc:151: error: ‘struct xhc_hal_t’ has no member named ‘a_mc’ xhc-hb04.cc:152: error: ‘struct xhc_hal_t’ has no member named ‘x_mc’ xhc-hb04.cc:153: error: ‘struct xhc_hal_t’ has no member named ‘y_mc’ xhc-hb04.cc:154: error: ‘struct xhc_hal_t’ has no member named ‘z_mc’ xhc-hb04.cc:155: error: ‘struct xhc_hal_t’ has no member named ‘feedrate_override’ xhc-hb04.cc:156: error: ‘struct xhc_hal_t’ has no member named ‘spindle_override’ xhc-hb04.cc:157: error: ‘struct xhc_hal_t’ has no member named ‘feedrate’ xhc-hb04.cc:158: error: ‘struct xhc_hal_t’ has no member named ‘spindle_rps’ xhc-hb04.cc: In function ‘void linuxcnc_simu(xhc_hal_t*)’: xhc-hb04.cc:211: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:212: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:212: error: ‘struct xhc_hal_t’ has no member named ‘jog_scale’ xhc-hb04.cc:213: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_x’ xhc-hb04.cc:214: error: ‘struct xhc_hal_t’ has no member named ‘x_mc’ xhc-hb04.cc:215: error: ‘struct xhc_hal_t’ has no member named ‘x_wc’ xhc-hb04.cc:218: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_y’ xhc-hb04.cc:219: error: ‘struct xhc_hal_t’ has no member named ‘y_mc’ xhc-hb04.cc:220: error: ‘struct xhc_hal_t’ has no member named ‘y_wc’ xhc-hb04.cc:223: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_z’ xhc-hb04.cc:224: error: ‘struct xhc_hal_t’ has no member named ‘z_mc’ xhc-hb04.cc:225: error: ‘struct xhc_hal_t’ has no member named ‘z_wc’ xhc-hb04.cc:228: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_a’ xhc-hb04.cc:229: error: ‘struct xhc_hal_t’ has no member named ‘a_mc’ xhc-hb04.cc:230: error: ‘struct xhc_hal_t’ has no member named ‘a_wc’ xhc-hb04.cc:233: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_spindle’ xhc-hb04.cc:234: error: ‘struct xhc_hal_t’ has no member named ‘spindle_override’ xhc-hb04.cc:234: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:235: error: ‘struct xhc_hal_t’ has no member named ‘spindle_override’ xhc-hb04.cc:235: error: ‘struct xhc_hal_t’ has no member named ‘spindle_override’ xhc-hb04.cc:236: error: ‘struct xhc_hal_t’ has no member named ‘spindle_override’ xhc-hb04.cc:236: error: ‘struct xhc_hal_t’ has no member named ‘spindle_override’ xhc-hb04.cc:237: error: ‘struct xhc_hal_t’ has no member named ‘spindle_rps’ xhc-hb04.cc:237: error: ‘struct xhc_hal_t’ has no member named ‘spindle_override’ xhc-hb04.cc:240: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_feedrate’ xhc-hb04.cc:241: error: ‘struct xhc_hal_t’ has no member named ‘feedrate_override’ xhc-hb04.cc:241: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:242: error: ‘struct xhc_hal_t’ has no member named ‘feedrate_override’ xhc-hb04.cc:242: error: ‘struct xhc_hal_t’ has no member named ‘feedrate_override’ xhc-hb04.cc:243: error: ‘struct xhc_hal_t’ has no member named ‘feedrate_override’ xhc-hb04.cc:243: error: ‘struct xhc_hal_t’ has no member named ‘feedrate_override’ xhc-hb04.cc:244: error: ‘struct xhc_hal_t’ has no member named ‘feedrate’ xhc-hb04.cc:244: error: ‘struct xhc_hal_t’ has no member named ‘feedrate_override’ xhc-hb04.cc:247: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc: In function ‘void compute_velocity(xhc_t*)’: xhc-hb04.cc:261: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:261: error: ‘struct xhc_t’ has no member named ‘last_jog_counts’ xhc-hb04.cc:261: error: ‘struct xhc_hal_t’ has no member named ‘jog_scale’ xhc-hb04.cc:262: error: ‘struct xhc_hal_t’ has no member named ‘jog_max_velocity’ xhc-hb04.cc:262: error: ‘struct xhc_hal_t’ has no member named ‘jog_scale’ xhc-hb04.cc:266: error: ‘struct xhc_hal_t’ has no member named ‘jog_velocity’ xhc-hb04.cc:266: error: ‘struct xhc_hal_t’ has no member named ‘jog_velocity’ xhc-hb04.cc:267: error: ‘struct xhc_hal_t’ has no member named ‘jog_increment’ xhc-hb04.cc:268: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_x’ xhc-hb04.cc:268: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_x’ xhc-hb04.cc:269: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_x’ xhc-hb04.cc:269: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_x’ xhc-hb04.cc:270: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_y’ xhc-hb04.cc:270: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_y’ xhc-hb04.cc:271: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_y’ xhc-hb04.cc:271: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_y’ xhc-hb04.cc:272: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_z’ xhc-hb04.cc:272: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_z’ xhc-hb04.cc:273: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_z’ xhc-hb04.cc:273: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_z’ xhc-hb04.cc:274: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_a’ xhc-hb04.cc:274: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_a’ xhc-hb04.cc:275: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_a’ xhc-hb04.cc:275: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_a’ xhc-hb04.cc:276: error: ‘struct xhc_t’ has no member named ‘last_jog_counts’ xhc-hb04.cc:276: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:280: error: ‘struct xhc_hal_t’ has no member named ‘jog_velocity’ xhc-hb04.cc:280: error: ‘struct xhc_hal_t’ has no member named ‘jog_velocity’ xhc-hb04.cc:282: error: ‘struct xhc_hal_t’ has no member named ‘jog_velocity’ xhc-hb04.cc:283: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_x’ xhc-hb04.cc:284: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_x’ xhc-hb04.cc:285: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_y’ xhc-hb04.cc:286: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_y’ xhc-hb04.cc:287: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_z’ xhc-hb04.cc:288: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_z’ xhc-hb04.cc:289: error: ‘struct xhc_hal_t’ has no member named ‘jog_plus_a’ xhc-hb04.cc:290: error: ‘struct xhc_hal_t’ has no member named ‘jog_minus_a’ xhc-hb04.cc: In function ‘void cb_response_in(libusb_transfer*)’: xhc-hb04.cc:309: error: ‘struct xhc_hal_t’ has no member named ‘jog_scale’ xhc-hb04.cc:310: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:311: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts_neg’ xhc-hb04.cc:311: error: ‘struct xhc_hal_t’ has no member named ‘jog_counts’ xhc-hb04.cc:313: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_x’ xhc-hb04.cc:314: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_y’ xhc-hb04.cc:315: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_z’ xhc-hb04.cc:316: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_a’ xhc-hb04.cc:317: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_feedrate’ xhc-hb04.cc:318: error: ‘struct xhc_hal_t’ has no member named ‘jog_enable_spindle’ xhc-hb04.cc:321: error: ‘struct xhc_hal_t’ has no member named ‘button_pin’ xhc-hb04.cc:322: error: ‘struct xhc_hal_t’ has no member named ‘button_pin’ xhc-hb04.cc:323: error: ‘struct xhc_hal_t’ has no member named ‘button_pin’ xhc-hb04.cc: At global scope: xhc-hb04.cc:349: error: ‘hal_pin_dir_t’ was not declared in this scope xhc-hb04.cc:349: error: ‘hal_float_t’ was not declared in this scope xhc-hb04.cc:349: error: ‘data_ptr_addr’ was not declared in this scope xhc-hb04.cc:349: error: expected primary-expression before ‘int’ xhc-hb04.cc:349: error: expected primary-expression before ‘const’ xhc-hb04.cc:349: error: expected primary-expression before ‘...’ token xhc-hb04.cc:349: error: initializer expression list treated as compound expression xhc-hb04.cc:350: error: expected ‘,’ or ‘;’ before ‘{’ token make: *** [xhc-hb04] Error 1 root@albert-desktop:~/Descargas/src#
Last edit: 13 years 2 months ago by BigJohnT. Reason: add code tags

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #38302 by f1oat
Looks like LinuxCNC dev package is missing.
Try "sudo apt-get install linuxcnc-dev"

Frederic.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #38355 by chimeno
hello

thank you very much, now I can install


Albert

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds
Powered by Kunena Forum