RPI4 - Debian / LinuxCNC / EtherCAT / XFCE

More
4 years 5 months ago #243515 by rodw

Please Log in or Create an account to join the conversation.

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

Please Log in or Create an account 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 or Create an account to join the conversation.

More
4 years 5 months ago - 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..
Last edit: 4 years 5 months ago by rodw.

Please Log in or Create an account 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 or Create an account 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,
 

File Attachment:

File Name: minimal_vtk.py
File Size:1.31 KB

Please Log in or Create an account to join the conversation.

Time to create page: 0.303 seconds
Powered by Kunena Forum