- Posts: 12160
- Thank you received: 0
RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
4 years 5 months ago #243515
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
See elvalvos post on this thread just above
forum.linuxcnc.org/9-installing-linuxcnc...xfce?start=50#243432
forum.linuxcnc.org/9-installing-linuxcnc...xfce?start=50#243432
Please Log in to join the conversation.
4 years 5 months ago #243518
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
adding vtk now.
Please Log in to join the conversation.
4 years 5 months ago #243584
by ftree
Hi Rod. Any reason to compile vtk9.1? It is in sid already?
packages.debian.org/source/bookworm/vtk9
Did it need those particular build ops to work with qtpyvcp?
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Success! I hope...
After 5 hours, there was still about 2000 files remaining to be built with ninja. (of just under 10000)
[/code]Code:apt install -y build-essential mesa-common-dev mesa-utils freeglut3-dev ninja-build git cmake git clone --recursive https://gitlab.kitware.com/vtk/vtk.git mkdir build cd build cmake -GNinja -DVTK_WHEEL_BUILD=ON -DVTK_WRAP_PYTHON=ON ../vtk/ ninja python setup.py bdist_wheel Then checking with python [code]cnc@bcm2711:~/devel/build$ python3 >>> import vtk >>> print(vtk.vtkVersion.GetVTKSourceVersion()) vtk version 9.1.0 >>> exit() Now I just have to find where the wheel file is living
Hi Rod. Any reason to compile vtk9.1? It is in sid already?
packages.debian.org/source/bookworm/vtk9
Did it need those particular build ops to work with qtpyvcp?
Please Log in to join the conversation.
4 years 5 months ago #243585
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Thats awesome if you found them.
I had looked and I must have been looking for the wrong thing.
Let us know what debs you install and I'll try tonight
EDIT: yes QTPYVCP uses VTK..
I had looked and I must have been looking for the wrong thing.
Let us know what debs you install and I'll try tonight
EDIT: yes QTPYVCP uses VTK..
Please Log in to join the conversation.
4 years 5 months ago #243587
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
apt install -y vtk9 python3-vtk9 libvtk9-dev libvtk9.1-qt
Some of those are covered in each other but as deps.
Some of those are covered in each other but as deps.
Please Log in to join the conversation.
4 years 5 months ago #243588
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Great. Here is a minimal VTK test file the QTPYVCP guys shared with me,
Attachment not found
Please Log in to join the conversation.
4 years 5 months ago #243589
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
bookworm linuxcnc-uspace-dev installs libvtk9.1-dev as a dep
Please Log in to join the conversation.
4 years 5 months ago #243591
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
FYI, I have requested that 'linux arm64' be added to the nightly builds
gitlab.kitware.com/vtk/vtk/-/pipelines/282170
gitlab.kitware.com/vtk/vtk/-/pipelines/282170
Please Log in to join the conversation.
4 years 5 months ago #243592
by rodw
Replied by rodw on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
Good luck with that. It would be a nice addition.
Please Log in to join the conversation.
4 years 5 months ago #243593
by ftree
Replied by ftree on topic RPI4 - Debian / LinuxCNC / EtherCAT / XFCE
by adding /artifacts/browse/build/dist/ to the end of the build links here
gitlab.kitware.com/vtk/vtk/-/pipelines/282170
you can download the whl
for example linux x86-x64
gitlab.kitware.com/vtk/vtk/-/jobs/691537...s/browse/build/dist/
for example linux x86-x64
gitlab.kitware.com/vtk/vtk/-/jobs/691537...s/browse/build/dist/
Please Log in to join the conversation.
Time to create page: 0.184 seconds
