RPI4 - Debian / LinuxCNC / EtherCAT / XFCE

More
4 years 5 months ago #243515 by rodw

Please Log in to join the conversation.

More
4 years 5 months ago #243518 by ftree
adding vtk now.

Please Log in to join the conversation.

More
4 years 5 months ago #243584 by ftree

Success! I hope...
After 5 hours, there was still about 2000 files remaining to be built with ninja. (of just under 10000)

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  
[/code]

 

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.

More
4 years 5 months ago #243585 by rodw
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..

Please Log in to join the conversation.

More
4 years 5 months ago #243587 by ftree
apt install -y vtk9 python3-vtk9 libvtk9-dev libvtk9.1-qt

Some of those are covered in each other but as deps.

Please Log in to join the conversation.

More
4 years 5 months ago #243588 by rodw
Great.  Here is a minimal VTK test file the QTPYVCP guys shared with me,
 

Attachment not found

Please Log in to join the conversation.

More
4 years 5 months ago #243589 by ftree
bookworm linuxcnc-uspace-dev installs libvtk9.1-dev as a dep :-)

Please Log in to join the conversation.

More
4 years 5 months ago #243591 by ftree
FYI, I have requested that 'linux arm64' be added to the nightly builds

gitlab.kitware.com/vtk/vtk/-/pipelines/282170

Please Log in to join the conversation.

More
4 years 5 months ago #243592 by rodw
Good luck with that. It would be  a nice addition.

Please Log in to join the conversation.

More
4 years 5 months ago #243593 by ftree
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/

Please Log in to join the conversation.

Time to create page: 0.184 seconds
Powered by Kunena Forum