hidconfig lcd problem
12 Dec 2019 16:44 #152549
by porshe
Replied by porshe on topic hidconfig lcd problem
I’m sorry I didn't write right away. I got sick. There are no errors anymore. I wrote the name of the ini file incorrectly. All the same, Lcd doesn't work. What else could it be?
sourcing /home/operator/tmc/scripts/rip-environment.sh /home/operator/tmc
Setting enviroment to run Tormach LinuxCNC to run-in-place for development
Using command line supplied EMC2_HOME: /home/operator/tmc
EMC2_HOME = /home/operator/tmc, absolute path for /home/operator/tmc
EMC2_HOME: /home/operator/tmc
new PATH: /home/operator/tmc/python:/home/operator/tmc/bin:/home/operator/tmc/scripts:/home/operator/tmc/bin:/home/operator/teamviewer9qs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
new LD_LIBRARY_PATH: /home/operator/tmc/lib
new PYTHONPATH: /home/operator/tmc/python/scanner:/home/operator/tmc/python:/home/operator/tmc/python/config_picker:/home/operator/tmc/lib/python:/home/operator/tmc/python/scanner2
Temporary directory for linuxcnc: /tmp/linuxcnc
RIP environment setup complete...
setting touchscreen calibration
No calibration file found: /home/operator/gcode/pointercal.xinput
starting log rotator
logrotator.sh 3600 /home/operator/gcode/logfiles/logrotate.conf /home/operator/gcode/logfiles/logrotate.status
LOGROTATOR_PID: 20117
logrotate /home/operator/gcode/logfiles/logrotate.conf -s /home/operator/gcode/logfiles/logrotate.status
gnome-power-manager already running
HAVE_GNOME: 1
INI file: ~/tmc/configs/tormach_lathe/lathe_tn.ini
/home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
[HOSTMOT2] BITFILE0 = ''
[HOSTMOT2] BITFILE0 entry not found in INI file.
Assuming sim config.
linuxcnc ~/tmc/configs/tormach_lathe/lathe_tn.ini
Setting enviroment to run Tormach LinuxCNC to run-in-place for development
Using command line supplied EMC2_HOME: /home/operator/tmc
EMC2_HOME = /home/operator/tmc, absolute path for /home/operator/tmc
PATH: /home/operator/tmc/python:/home/operator/tmc/bin:/home/operator/tmc/scripts:/home/operator/tmc/bin:/home/operator/teamviewer9qs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
This script only needs to be run once per shell session.
prefix: /home/operator/tmc
exec_prefix: /home/operator/tmc
EMC2_BIN_DIR=/home/operator/tmc/bin
EMC2_RTLIB_DIR=/home/operator/tmc/rtlib
INIFILE: ~/tmc/configs/tormach_lathe/lathe_tn.ini
~/tmc/configs/tormach_lathe/lathe_tn.ini started with tilde
expanded INIFILE: /home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
EXTRA_ARGS:
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/operator/tmc/bin
LINUXCNC_RTLIB_DIR=/home/operator/tmc/rtlib
INIVAR=inivar
HALCMD=halcmd
LINUXCNC - 2.6.0~pre
inserted into PYTHONPATH: /home/operator/tmc/configs/tormach_lathe/python
Machine configuration directory is '/home/operator/tmc/configs/tormach_lathe'
Machine configuration file is 'lathe_tn.ini'
INIFILE=/home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
PARAMETER_FILE=~/lathe_data/emc.var
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
TASK=milltask
HALUI=halui
DISPLAY=tormach_lathe_ui.py
EMCDISPLAY_FULLPATH: /home/operator/tmc/python/tormach_lathe_ui.py
EMCDISPLAY_DIR: /home/operator/tmc/python
inserted into PYTHONPATH: /home/operator/tmc/python
NML_FILE: /home/operator/tmc/configs/common/linuxcnc.nml
User's HOME directory: /home/operator
/home/operator/tmc/scripts/check_mill_tool_table.py: tool file is /home/operator/mill_data/tool.tbl
scanning mill tool table
tool table is already up to date
Can not find -sec REDIS -var DISABLE_SERVER -num 1
DISABLE_SERVER=
Can not find -sec REDIS -var SERVER_PATH -num 1
SERVER_PATH=
SERVER_ARGS=--dir ~/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000
REDIS_SERVER_ARGS: --dir ~/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000
REDIS_SERVER_ARGS: --dir /home/operator/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000
Can not find -sec REDIS -var SERVER_LOG -num 1
SERVER_LOG=
Starting LinuxCNC...
Starting redis server program:
redis server started as: 'redis-server --dir /home/operator/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000', logging to: /dev/null
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
module helper '/home/operator/tmc/bin/linuxcnc_module_helper' found.
Starting LinuxCNC IO program: io
io started
halcmd loadusr io started
Starting HAL User Interface program: halui
halcmd loadusr -Wn halui halui -ini /home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
USBIO : HAL component starting 2019-12-12 10:32:01
libusb couldn't open USB device /dev/bus/usb/002/002: Permission denied.
libusb requires write access to USB device nodes.
2019/12/12 10:32:01.773,20223,1,hiddevice.cpp:312,Warning,hidcomp,HIDDevice,Failed to open usb device: -3
Joylcd.hal:1: Warning: File contains DOS-style line endings.
Starting TASK program: milltask
task pid=20232
Starting DISPLAY program: /home/operator/tmc/python/tormach_lathe_ui.py
PythonPlugin: Python '2.6.5 (r265:79063, Feb 27 2014, 19:56:00)
[GCC 4.4.3]'
millshuttlexpress.hal:52: value '0.0.008333' invalid for float
millshuttlexpress.hal:52: setp failed
UI version: v1.9.8
Unexpected realtime delay: check dmesg for details.
emcTaskInit: using builtin interpreter
PythonPlugin: Python '2.6.5 (r265:79063, Feb 27 2014, 19:56:00)
[GCC 4.4.3]'
is_callable(remap.g740) = TRUE
is_callable(__init__) = FALSE
Setting tolerance to 0.000000
emcTaskPlanInit() returned 0
emcTaskPlanSynch() returned 0
PythonPlugin: Python '2.6.5 (r265:79063, Feb 27 2014, 19:56:00)
[GCC 4.4.3]'
is_callable(remap.g740) = TRUE
Setting tolerance to 0.000000
emcTaskPlanInit() returned 0
RTAPI: ERROR: Unexpected realtime delay on task 1
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
emcTaskPlanSynch() returned 0
Warning - jog shuttle not detected!
caught attempt to change outside restricted directory: /home/operator/gcode
forcing current directory to /media
2019/12/12 10:32:03.935,20223,1,emcinterface.cpp:302,Error,hidcomp,EmcInterface,The size of the EMC_STAT buffer mismatches. This is probably because hidcomp is not compiled for it.
Unexpected realtime delay: check dmesg for details.
LinuxCNC status.task_mode change was unknown is now MODE_MANUAL
LinuxCNC interp_state change was unknown is now INTERP_IDLE
status.task_state was unknown is now STATE_ESTOP
RTAPI: ERROR: Unexpected realtime delay on task 1
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
reset button was pressed at -2019-12-12-10-32-05
emcTaskPlanSynch() returned 0
emcTaskPlanSynch() returned 0
issuing MDI command: M30
ensure_mode: changing LCNC mode to MODE_MDI
emcTaskPlanSynch() returned 0
emcTaskPlanSynch() returned 0
emcTaskPlanLevel() returned 0
emcTaskPlanExecute(M30) returned 1
emcTaskPlanLevel() returned 0
issuing MDI command: G21
LinuxCNC status.task_mode change was MODE_MANUAL is now MODE_MDI
LinuxCNC interp_state change was INTERP_IDLE is now INTERP_READING
status.task_state was STATE_ESTOP is now STATE_ON
emcTaskPlanLevel() returned 0
emcTaskPlanExecute(G21) returned 0
emcTaskPlanLevel() returned 0
LinuxCNC interp_state change was INTERP_READING is now INTERP_IDLE
exit button was pressed at -2019-12-12-10-32-21
Shutting down and cleaning up LinuxCNC...
20172
Killing linuxcncsvr
Killing task linuxcncsvr, PID=20172
PID TTY STAT TIME COMMAND
20232
Killing milltask
Killing task milltask, PID=20232
is_callable(__delete__) = FALSE
PID TTY STAT TIME COMMAND
20232 pts/0 S+ 0:00 milltask -ini /home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
PID TTY STAT TIME COMMAND
20171
Killing redis-server
Killing task redis-server, PID=20171
PID TTY STAT TIME COMMAND
Stopping realtime threads
halcmd stop
Unloading hal components
halcmd unload all
usbio : exiting 2019-12-12 10:32:22
shuttlexpress4: exiting
Removing HAL_LIB, RTAPI, and Real Time OS modules
/home/operator/tmc/scripts/realtime stop
module helper '/home/operator/tmc/bin/linuxcnc_module_helper' found.
Removing NML shared memory segments
rm /tmp/linuxcnc.lock
Cleanup done
/home/operator/operator_login: line 831: 20143 Killed "$SPLASH_PROGRAM" 2
UI exit code: 0
UI exited OK
File /home/operator/update_file.txt not found. No software update to perform.
terminating log rotator and subprocesses
kill -KILL 20121
kill -KILL 20117
/home/operator/operator_login: line 255: 20117 Killed logrotator.sh $LOGROTATE_SLEEP "$LOGROTATE_CONF" "$LOGROTATE_STATUS"
Warning: Spoiler!
sourcing /home/operator/tmc/scripts/rip-environment.sh /home/operator/tmc
Setting enviroment to run Tormach LinuxCNC to run-in-place for development
Using command line supplied EMC2_HOME: /home/operator/tmc
EMC2_HOME = /home/operator/tmc, absolute path for /home/operator/tmc
EMC2_HOME: /home/operator/tmc
new PATH: /home/operator/tmc/python:/home/operator/tmc/bin:/home/operator/tmc/scripts:/home/operator/tmc/bin:/home/operator/teamviewer9qs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
new LD_LIBRARY_PATH: /home/operator/tmc/lib
new PYTHONPATH: /home/operator/tmc/python/scanner:/home/operator/tmc/python:/home/operator/tmc/python/config_picker:/home/operator/tmc/lib/python:/home/operator/tmc/python/scanner2
Temporary directory for linuxcnc: /tmp/linuxcnc
RIP environment setup complete...
setting touchscreen calibration
No calibration file found: /home/operator/gcode/pointercal.xinput
starting log rotator
logrotator.sh 3600 /home/operator/gcode/logfiles/logrotate.conf /home/operator/gcode/logfiles/logrotate.status
LOGROTATOR_PID: 20117
logrotate /home/operator/gcode/logfiles/logrotate.conf -s /home/operator/gcode/logfiles/logrotate.status
gnome-power-manager already running
HAVE_GNOME: 1
INI file: ~/tmc/configs/tormach_lathe/lathe_tn.ini
/home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
[HOSTMOT2] BITFILE0 = ''
[HOSTMOT2] BITFILE0 entry not found in INI file.
Assuming sim config.
linuxcnc ~/tmc/configs/tormach_lathe/lathe_tn.ini
Setting enviroment to run Tormach LinuxCNC to run-in-place for development
Using command line supplied EMC2_HOME: /home/operator/tmc
EMC2_HOME = /home/operator/tmc, absolute path for /home/operator/tmc
PATH: /home/operator/tmc/python:/home/operator/tmc/bin:/home/operator/tmc/scripts:/home/operator/tmc/bin:/home/operator/teamviewer9qs:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
This script only needs to be run once per shell session.
prefix: /home/operator/tmc
exec_prefix: /home/operator/tmc
EMC2_BIN_DIR=/home/operator/tmc/bin
EMC2_RTLIB_DIR=/home/operator/tmc/rtlib
INIFILE: ~/tmc/configs/tormach_lathe/lathe_tn.ini
~/tmc/configs/tormach_lathe/lathe_tn.ini started with tilde
expanded INIFILE: /home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
EXTRA_ARGS:
RUN_IN_PLACE=yes
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/home/operator/tmc/bin
LINUXCNC_RTLIB_DIR=/home/operator/tmc/rtlib
INIVAR=inivar
HALCMD=halcmd
LINUXCNC - 2.6.0~pre
inserted into PYTHONPATH: /home/operator/tmc/configs/tormach_lathe/python
Machine configuration directory is '/home/operator/tmc/configs/tormach_lathe'
Machine configuration file is 'lathe_tn.ini'
INIFILE=/home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
PARAMETER_FILE=~/lathe_data/emc.var
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
TASK=milltask
HALUI=halui
DISPLAY=tormach_lathe_ui.py
EMCDISPLAY_FULLPATH: /home/operator/tmc/python/tormach_lathe_ui.py
EMCDISPLAY_DIR: /home/operator/tmc/python
inserted into PYTHONPATH: /home/operator/tmc/python
NML_FILE: /home/operator/tmc/configs/common/linuxcnc.nml
User's HOME directory: /home/operator
/home/operator/tmc/scripts/check_mill_tool_table.py: tool file is /home/operator/mill_data/tool.tbl
scanning mill tool table
tool table is already up to date
Can not find -sec REDIS -var DISABLE_SERVER -num 1
DISABLE_SERVER=
Can not find -sec REDIS -var SERVER_PATH -num 1
SERVER_PATH=
SERVER_ARGS=--dir ~/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000
REDIS_SERVER_ARGS: --dir ~/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000
REDIS_SERVER_ARGS: --dir /home/operator/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000
Can not find -sec REDIS -var SERVER_LOG -num 1
SERVER_LOG=
Starting LinuxCNC...
Starting redis server program:
redis server started as: 'redis-server --dir /home/operator/lathe_data --dbfilename dump.rdb --save 3600 1 --save 300 100 --save 60 10000', logging to: /dev/null
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
module helper '/home/operator/tmc/bin/linuxcnc_module_helper' found.
Starting LinuxCNC IO program: io
io started
halcmd loadusr io started
Starting HAL User Interface program: halui
halcmd loadusr -Wn halui halui -ini /home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
USBIO : HAL component starting 2019-12-12 10:32:01
libusb couldn't open USB device /dev/bus/usb/002/002: Permission denied.
libusb requires write access to USB device nodes.
2019/12/12 10:32:01.773,20223,1,hiddevice.cpp:312,Warning,hidcomp,HIDDevice,Failed to open usb device: -3
Joylcd.hal:1: Warning: File contains DOS-style line endings.
Starting TASK program: milltask
task pid=20232
Starting DISPLAY program: /home/operator/tmc/python/tormach_lathe_ui.py
PythonPlugin: Python '2.6.5 (r265:79063, Feb 27 2014, 19:56:00)
[GCC 4.4.3]'
millshuttlexpress.hal:52: value '0.0.008333' invalid for float
millshuttlexpress.hal:52: setp failed
UI version: v1.9.8
Unexpected realtime delay: check dmesg for details.
emcTaskInit: using builtin interpreter
PythonPlugin: Python '2.6.5 (r265:79063, Feb 27 2014, 19:56:00)
[GCC 4.4.3]'
is_callable(remap.g740) = TRUE
is_callable(__init__) = FALSE
Setting tolerance to 0.000000
emcTaskPlanInit() returned 0
emcTaskPlanSynch() returned 0
PythonPlugin: Python '2.6.5 (r265:79063, Feb 27 2014, 19:56:00)
[GCC 4.4.3]'
is_callable(remap.g740) = TRUE
Setting tolerance to 0.000000
emcTaskPlanInit() returned 0
RTAPI: ERROR: Unexpected realtime delay on task 1
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
emcTaskPlanSynch() returned 0
Warning - jog shuttle not detected!
caught attempt to change outside restricted directory: /home/operator/gcode
forcing current directory to /media
2019/12/12 10:32:03.935,20223,1,emcinterface.cpp:302,Error,hidcomp,EmcInterface,The size of the EMC_STAT buffer mismatches. This is probably because hidcomp is not compiled for it.
Unexpected realtime delay: check dmesg for details.
LinuxCNC status.task_mode change was unknown is now MODE_MANUAL
LinuxCNC interp_state change was unknown is now INTERP_IDLE
status.task_state was unknown is now STATE_ESTOP
RTAPI: ERROR: Unexpected realtime delay on task 1
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
reset button was pressed at -2019-12-12-10-32-05
emcTaskPlanSynch() returned 0
emcTaskPlanSynch() returned 0
issuing MDI command: M30
ensure_mode: changing LCNC mode to MODE_MDI
emcTaskPlanSynch() returned 0
emcTaskPlanSynch() returned 0
emcTaskPlanLevel() returned 0
emcTaskPlanExecute(M30) returned 1
emcTaskPlanLevel() returned 0
issuing MDI command: G21
LinuxCNC status.task_mode change was MODE_MANUAL is now MODE_MDI
LinuxCNC interp_state change was INTERP_IDLE is now INTERP_READING
status.task_state was STATE_ESTOP is now STATE_ON
emcTaskPlanLevel() returned 0
emcTaskPlanExecute(G21) returned 0
emcTaskPlanLevel() returned 0
LinuxCNC interp_state change was INTERP_READING is now INTERP_IDLE
exit button was pressed at -2019-12-12-10-32-21
Shutting down and cleaning up LinuxCNC...
20172
Killing linuxcncsvr
Killing task linuxcncsvr, PID=20172
PID TTY STAT TIME COMMAND
20232
Killing milltask
Killing task milltask, PID=20232
is_callable(__delete__) = FALSE
PID TTY STAT TIME COMMAND
20232 pts/0 S+ 0:00 milltask -ini /home/operator/tmc/configs/tormach_lathe/lathe_tn.ini
PID TTY STAT TIME COMMAND
20171
Killing redis-server
Killing task redis-server, PID=20171
PID TTY STAT TIME COMMAND
Stopping realtime threads
halcmd stop
Unloading hal components
halcmd unload all
usbio : exiting 2019-12-12 10:32:22
shuttlexpress4: exiting
Removing HAL_LIB, RTAPI, and Real Time OS modules
/home/operator/tmc/scripts/realtime stop
module helper '/home/operator/tmc/bin/linuxcnc_module_helper' found.
Removing NML shared memory segments
rm /tmp/linuxcnc.lock
Cleanup done
/home/operator/operator_login: line 831: 20143 Killed "$SPLASH_PROGRAM" 2
UI exit code: 0
UI exited OK
File /home/operator/update_file.txt not found. No software update to perform.
terminating log rotator and subprocesses
kill -KILL 20121
kill -KILL 20117
/home/operator/operator_login: line 255: 20117 Killed logrotator.sh $LOGROTATE_SLEEP "$LOGROTATE_CONF" "$LOGROTATE_STATUS"
Please Log in or Create an account to join the conversation.
- ftkalcevic
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 4
14 Dec 2019 04:31 #152642
by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem
There is another error in the log...
That means the binaries for hidcomp have been compiled against a different version of linuxcnc.
You'll need to re-compile hidcomp against the source code of linuxcnc you are running against.
2019/12/12 10:32:03.935,20223,1,emcinterface.cpp:302,Error,hidcomp,EmcInterface,The size of the EMC_STAT buffer mismatches. This is probably because hidcomp is not compiled for it.
That means the binaries for hidcomp have been compiled against a different version of linuxcnc.
You'll need to re-compile hidcomp against the source code of linuxcnc you are running against.
Please Log in or Create an account to join the conversation.
16 Dec 2019 11:12 #152725
by porshe
Replied by porshe on topic hidconfig lcd problem
Recompiled linuxcnc 2.6 from source. Version hidcomp 1.7. I still get this error if I enter "net relative-x halui.axis.0.pos-relative => hidcomp.0.LCD.in-float-1". Everything else works well (buttons, encoders, joysticks). Looks like something in pathpilot is blocking the output of FLOAT data. Is there any other way to output data to lcd?
Please Log in or Create an account to join the conversation.
- ftkalcevic
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 4
17 Dec 2019 21:25 #152817
by ftkalcevic
Just clarifying - you still get this error? - "The size of the EMC_STAT buffer mismatches. This is probably because hidcomp is not compiled for it."
If that is the case, you need to compile hidcomp against the same linuxcnc source code that your are running - that is, the path pilot linuxcnc source? Are doing that?
Replied by ftkalcevic on topic hidconfig lcd problem
I still get this error if I enter "net relative-x halui.axis.0.pos-relative => hidcomp.0.LCD.in-float-1".
Just clarifying - you still get this error? - "The size of the EMC_STAT buffer mismatches. This is probably because hidcomp is not compiled for it."
If that is the case, you need to compile hidcomp against the same linuxcnc source code that your are running - that is, the path pilot linuxcnc source? Are doing that?
Please Log in or Create an account to join the conversation.
19 Dec 2019 16:56 #152915
by porshe
Replied by porshe on topic hidconfig lcd problem
I can’t compile Hidcomp 1.7 for LINUXCNC - 2.6.0~pre. I get an error. For LINUXCNC - 2.6.0 it compiles well, but the Pathpilot is built on LINUXCNC - 2.6.0~pre.
Warning: Spoiler!
emcinterface.cpp: In member function ‘bool EmcInterface::Initialise(int, char**)’:
emcinterface.cpp:73: error: ‘emc_inifile’ was not declared in this scope
emcinterface.cpp:74: error: ‘emc_inifile’ was not declared in this scope
emcinterface.cpp: In member function ‘bool EmcInterface::iniLoad(const char*)’:
emcinterface.cpp:112: error: ‘emc_nmlfile’ was not declared in this scope
emcinterface.cpp: In member function ‘bool EmcInterface::emcTaskNmlGet()’:
emcinterface.cpp:234: error: ‘emc_nmlfile’ was not declared in this scope
emcinterface.cpp:247: error: ‘emc_nmlfile’ was not declared in this scope
emcinterface.cpp: In member function ‘bool EmcInterface::emcErrorNmlGet()’:
emcinterface.cpp:271: error: ‘emc_nmlfile’ was not declared in this scope
make[1]: *** [release/emcinterface.o] Error 1
make[1]: Leaving directory `/home/operator/hid/hidcomp'
make: *** [sub-hidcomp-make_default-ordered] Error 2
operator@tormachpcnc:~/hid$
emcinterface.cpp:73: error: ‘emc_inifile’ was not declared in this scope
emcinterface.cpp:74: error: ‘emc_inifile’ was not declared in this scope
emcinterface.cpp: In member function ‘bool EmcInterface::iniLoad(const char*)’:
emcinterface.cpp:112: error: ‘emc_nmlfile’ was not declared in this scope
emcinterface.cpp: In member function ‘bool EmcInterface::emcTaskNmlGet()’:
emcinterface.cpp:234: error: ‘emc_nmlfile’ was not declared in this scope
emcinterface.cpp:247: error: ‘emc_nmlfile’ was not declared in this scope
emcinterface.cpp: In member function ‘bool EmcInterface::emcErrorNmlGet()’:
emcinterface.cpp:271: error: ‘emc_nmlfile’ was not declared in this scope
make[1]: *** [release/emcinterface.o] Error 1
make[1]: Leaving directory `/home/operator/hid/hidcomp'
make: *** [sub-hidcomp-make_default-ordered] Error 2
operator@tormachpcnc:~/hid$
Please Log in or Create an account to join the conversation.
- ftkalcevic
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 4
20 Dec 2019 00:47 #152933
by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem
I've created a new branch in the hidcomp repository called v2.6, which should work with your version - I wasn't able to get a copy of v2.6.0~pre, only v2.6.0~pre1, which should be close enough.
I'm assuming you built from the source from github.com/ftkalcevic/hidcomp
Just refresh the source code - git pull
Then switch branches - git checkout v2.6
And follow the build instructions (probably just make clean, then make).
If you didn't get it from there, clone the repository - git clone github.com/ftkalcevic/hidcomp.git
Then switch branches, etc
I've compiled the code, but don't have a test system to run on.
I'm assuming you built from the source from github.com/ftkalcevic/hidcomp
Just refresh the source code - git pull
Then switch branches - git checkout v2.6
And follow the build instructions (probably just make clean, then make).
If you didn't get it from there, clone the repository - git clone github.com/ftkalcevic/hidcomp.git
Then switch branches, etc
I've compiled the code, but don't have a test system to run on.
Please Log in or Create an account to join the conversation.
20 Dec 2019 06:18 - 20 Dec 2019 06:20 #152936
by porshe
Replied by porshe on topic hidconfig lcd problem
There is a big difference between 2.6.0 ~ pre and 2.6.0 ~ pre1. I could compile 2.6.0 ~ pre1 earlier without errors. Here is a direct link to
2.6.0~pre
Thank you for your patience and work.
Thank you for your patience and work.
Last edit: 20 Dec 2019 06:20 by porshe.
Please Log in or Create an account to join the conversation.
- ftkalcevic
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 4
21 Dec 2019 05:55 #152987
by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem
There is another branch in my repository, v2.6.0-pre0
This wasn't build against the link you gave me - the contents of the VERSION file in the root directory says 2.5.0~pre
So I ended up getting the repository from the commit that changed VERSION - git checkout 6f3211f6795c3744c088097be00a851f776f67ff .
That required changes - going from linuxcnc back to emc.
(I lost my change history moving from sourceforge to github).
This wasn't build against the link you gave me - the contents of the VERSION file in the root directory says 2.5.0~pre
So I ended up getting the repository from the commit that changed VERSION - git checkout 6f3211f6795c3744c088097be00a851f776f67ff .
That required changes - going from linuxcnc back to emc.
(I lost my change history moving from sourceforge to github).
Please Log in or Create an account to join the conversation.
21 Dec 2019 16:02 #153001
by porshe
Replied by porshe on topic hidconfig lcd problem
Recompiled. In linuxcnc everything works. In the Pathpilot I get an error.
Warning: Spoiler!
/home/operator/hid/hidcomp/release/hidcomp: error while loading shared libraries: libemchal.so.0: cannot open shared object file: No such file or directory
lathe_tn.hal:96: /home/operator/hid/hidcomp/release/hidcomp exited without becoming ready
lathe_tn.hal:96: /home/operator/hid/hidcomp/release/hidcomp exited without becoming ready
Please Log in or Create an account to join the conversation.
- ftkalcevic
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 4
22 Dec 2019 02:21 #153012
by ftkalcevic
Replied by ftkalcevic on topic hidconfig lcd problem
Ok, finally some progress...
The issue was the source code for the tormach machines is a fork of the linuxcnc source at about 2.6. They have their own repository (somewhere) where they have been updating some of the core changes from the linuxcnc repository.
So, to get hidcomp to work, you need to build against the tormach source. Luckily, there is an tar file available with tormach version 1.8.2 - forum.linuxcnc.org/pathpilot/29983-notes...ot-1-8-2-source-code
1.8.2 appears to be compatible - my simple lcd test worked with X/Z position, spindle rpm, feed rate.
Use the v2.6 branch of hidcomp.
The issue was the source code for the tormach machines is a fork of the linuxcnc source at about 2.6. They have their own repository (somewhere) where they have been updating some of the core changes from the linuxcnc repository.
So, to get hidcomp to work, you need to build against the tormach source. Luckily, there is an tar file available with tormach version 1.8.2 - forum.linuxcnc.org/pathpilot/29983-notes...ot-1-8-2-source-code
1.8.2 appears to be compatible - my simple lcd test worked with X/Z position, spindle rpm, feed rate.
Use the v2.6 branch of hidcomp.
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds