I run the commands and vtk.qt is installed..
So I wanted to restart from a fresh image, something changed but still not working.
This are ALL, and the only steps I did:
- flashed the linuxcnc-2.8.0-pi4 image
- did NOT performed any "update" nor "upgrade"
- did NOT install python-vtk6 as per my previous image
- open linuxcnc and load a sim (so I created the config folder)
- copied your files in "configs" (in a subfolder called "qtdragon")
- installed your package
Code:
sudo dpkg -i vtk_7.1.1-qt5py2-1_armhf.deb
- added
Code:
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages/vtk:$PYTHONPATH
and
Code:
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/python2.7/site-packages/vtk:$LD_LIBRARY_PATH
to .bashrc as suggested by Scott
I then performed all your check with succes:
Code:
pi@linuxcnc:~ $ sudo dpkg --list | grep vtk
ii libvtk6.3 6.3.0+dfsg2-2+b6 armhf VTK libraries
ii vtk 7.1.1-qt5py2-1 armhf vtk
and
Code:
$ python
>>> import PyQt5
>>> import qt
with no error
at this point I ran linuxcnc and choose "qtdragon_xyz"
It crashed but I didn't find the reason. I attach the log1.
Run a second time and It crashed again (but shorter output) attached in log2. (I think the first one also created some default files/configs)
If I remove the two lines added in .bashrc I have an error regarding vtk not found.
Hope this make sense to you...