Hi rodw, thanks for join us!
I always play around this 2 installing methods:
1 - Building LinuxCNC
linuxcnc.org/docs/stable/html/code/building-linuxcnc.html
2 - Building LinuxCNC Uspace
gnipsel.com/linuxcnc/uspace/index.html
Now I found this trying to run QtDragon in sim mode:
Code:
...
/home/pi/linuxcnc/scripts/linuxcnc: line 963: 1875 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
...
The problem is IMHO, some kind of internal or advance configuration seems not to work:
/home/pi/linuxcnc/scripts/linuxcnc: line 963: 1875 Segmentation fault $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
So, digging deep in my /home/pi/linuxcnc/scripts/linuxcnc around line 963 I have the following:
Code:
...
# 4.3.11. Run display in foreground
echo "Starting DISPLAY program: $EMCDISPLAY" >>$PRINT_FILE
result=0
case $EMCDISPLAY in <== *** THIS IS LINE 963 ON LINUXCNC SCRIPT ***
tklinuxcnc)
# tklinuxcnc is in the tcl directory, not the bin directory
if [ ! -x $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl ] ; then
echo "Can't execute DISPLAY program $LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl $EMCDISPLAYARGS"
Cleanup
exit 1
fi
$LINUXCNC_TCL_DIR/$EMCDISPLAY.tcl -ini "$INIFILE" $EMCDISPLAYARGS
result=$?
;;
...
So, what is $EMCDISPLAY? Its value seems to be wrong.
What value does it need and where do I have to set it up?
Any idea is welcome!
Thanks!