Hi all, long time no see!
i'm trying to build EMCapplication for an arm64 platform (Xilinx Zynq Ultrascale), alas things are changed quite a bit from last time i managed to make it work on a Zynq7000 some years ago!
i think i managed to have machinekit-hal up and running, tests are a go, and i can halrun some examples with halscope and basic functionalities.
Trying setting up EMCapplication following this receipe:
seems to complete without complains, but when i run linuxcnc i get this:
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/zus/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis_mm.ini'
Starting LinuxCNC...
rtapi_msgd command: /usr/libexec/machinekit/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --debug=1 --halsize=524288
rtapi_app command: /usr/libexec/machinekit/rtapi_app --instance=0 --debug=1
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
Traceback (most recent call last):
File "/usr/bin/hal_manualtoolchange", line 11, in <module>
import linuxcnc, hal
File "/home/zus/machinekit-hal/lib/python/hal.py", line 30, in <module>
import _hal
ImportError: /home/zus/machinekit-hal/lib/python/_hal.so: undefined symbol: _Py_FalseStruct
/usr/share/linuxcnc/hallib/axis_manualtoolchange.hal:1: hal_manualtoolchange exited without becoming ready
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error. You can find more information in the log:...
googling around it could be related to a python2/python3 erroneous configuration.
zus@zus-cl:/usr/bin$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 Jan 24 2017 /usr/bin/python -> python2.7
should it be python3?
sorry for the generic nonsense question, but i couldn't follow the recent developments of the project and in general i know very little
about (modern) programming :-)
Is there any suggestion on how to kickstart this? or any suggestion on how to check if i'm working in a 'sane' envoronment?