RPI4 - Debian / LinuxCNC / EtherCAT / XFCE

More
23 May 2022 11:34 #243604 by rodw
Time for me to reinstall your image.  Its broken :(
My Pi is pretty broken with all the stuff I've built on it. Just have to find some time...
 

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

More
23 May 2022 15:31 - 23 May 2022 15:32 #243620 by ftree
I have compile deb packages for rpi like so. I pushed the the wheel build var though to debuild with --set-envvar=“VTK_WHEEL_BUILD=ON” as it doesn’t look like Debian enable that salsa.debian.org/science-team/vtk9/-/raw/master/debian/rules

apt install -y chrpath cmake debhelper-compat default-jdk default-libmysqlclient-dev dh-sequence-python3 doxygen-latex \
ghostscript gnuplot-nox graphviz hdf5-tools dh-sequence-javahelper libalglib-dev javahelper libavcodec-dev \
libavformat-dev libavutil-dev libdigest-md5-perl libdouble-conversion-dev libeigen3-dev libexpat-dev \
libfontconfig1-dev libfreetype6-dev libftgl-dev libgdal-dev libgl1-mesa-dev libgl-dev libgl2ps-dev \
libglew-dev libglu1-mesa-dev libglu-dev libhdf5-openmpi-dev libhpdf-dev libjpeg-dev libjs-mathjax \
libjsoncpp-dev liblz4-dev libmrmpi-dev libnetcdf-cxx-legacy-dev libnetcdf-dev libogg-dev libosmesa6-dev \
libpng-dev libpq-dev libproj-dev libsqlite3-dev libswscale-dev libtbb-dev libtheora-dev \
libtiff-dev libutfcpp-dev libx11-dev libxdmf-dev libxml2-dev libxpm-dev libxt-dev lzma mpi-default-dev \
pkg-config python3-dev python3-matplotlib python3-mpi4py qtbase5-dev libqt5opengl5 \
r-base-core r-base-dev r-base xauth xvfb

git clone https://salsa.debian.org/science-team/vtk9.git
cd vtk9
dch -a "compiled by djsftree"
debuild -i -us -uc -b --set-envvar="VTK_WHEEL_BUILD=ON"
/usr/lib/python3 -m pip install wheel
/usr/lib/python3 setup.py bdist_wheel
/usr/lib/python3 -m pip install dist/vtk-*.whl

This at least maintains deb packaging :-)
Last edit: 23 May 2022 15:32 by ftree.

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

More
23 May 2022 20:09 - 23 May 2022 20:10 #243637 by ftree

The wheel is in
build/dist
on my pi it is called
vtk-9.1.20220518.dev0-cp310-cp310-linux_aarch64.whl

So tonight I'll be onto installing qtpyvcp
 


 

Can you share that whl ?  I'm struggling to get vtk compiled.
Last edit: 23 May 2022 20:10 by ftree.

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

More
23 May 2022 20:22 #243639 by rodw
Contact me via my web site  here
www.vmn.com.au/contact
or use the chat
and I'll share my stuff in Google Drive. 

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

More
24 May 2022 06:57 #243666 by rodw
hmm, unmet build dependencies right near the end

qtdeclarative5-dev tcl-dev tk-dev

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

More
01 Jun 2022 15:37 - 01 Jun 2022 15:40 #244380 by ajsinfotech
Hi elovalvo

Who/where was this installed? 
cd /usr/lib/python3/dist-packages/qtvcp/designer


I mean the qtvcp thing.
Thanks
Last edit: 01 Jun 2022 15:40 by ajsinfotech.

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

More
01 Jun 2022 18:46 #244390 by elovalvo
Qtvcp is installed with Linuxcnc

The LinuxCNC installation procedure creates automatically the structure and related files

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

More
01 Jun 2022 19:18 #244396 by ajsinfotech
Ok.
So much compilations and installations got me a little confused, sorry.

Many thanks elovalvo!

 

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

More
11 Dec 2022 14:15 #259192 by hamed
   hello
   i use your code for installing on rpi
   but i have an error after running this command:

sudo make image board=bcm2711

    the error is this:

Setting up python3-matplotlib (3.5.2-4) ...
Processing triggers for libglib2.0-0:arm64 (2.74.2-1) ...
Processing triggers for libc-bin (2.36-6) ...
Processing triggers for man-db (2.11.1-1) ...
/usr/bin/mandb: can't write to /var/cache/man/82238: No space left on device
/usr/bin/mandb: can't create index cache /var/cache/man/82238: No space left on devic                                                                                        e
Setting up glib-networking:arm64 (2.74.0-1) ...
Processing triggers for fontconfig (2.13.1-4.5) ...
Setting up libsoup2.4-1:arm64 (2.74.3-1) ...
Setting up gstreamer1.0-plugins-good:arm64 (1.20.3-1+b1) ...
Setting up libsoup-3.0-0:arm64 (3.2.2-1) ...
Setting up libgssdp-1.6-0:arm64 (1.6.2-2) ...
Setting up libgupnp-1.6-0:arm64 (1.6.2-1) ...
Setting up libgupnp-igd-1.0-4:arm64 (1.2.0-3) ...
Setting up libnice10:arm64 (0.1.18-2) ...
Setting up gstreamer1.0-plugins-bad:arm64 (1.20.3-2+b1) ...
Processing triggers for libc-bin (2.36-6) ...
+ python3 -m pip install /root/userscripts/vtk-9.1.20220601.dev0-cp310-cp310-linux_aa                                                                                        rch64.whl
Processing /root/userscripts/vtk-9.1.20220601.dev0-cp310-cp310-linux_aarch64.whl
Installing collected packages: vtk
ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device

make: *** [Makefile:132: image] Error 1

  i have enough space on sd card (64GB)
   but i think your volume that  specified for installing vtk is not enough
  my report of sd card is:

hamed@raspberrypi:~/Downloads/rpi-img-builder-master $  df -Bm
Filesystem     1M-blocks   Used Available Use% Mounted on
/dev/root         59626M 18837M    38311M  33% /
devtmpfs           3745M     0M     3745M   0% /dev
tmpfs              3907M     0M     3907M   0% /dev/shm
tmpfs              1563M     2M     1562M   1% /run
tmpfs                 5M     1M        5M   1% /run/lock
/dev/mmcblk0p1      255M    72M      184M  29% /boot
tmpfs               782M     1M      782M   1% /run/user/1000
/dev/loop1p1       4610M     1M     4356M   1% /home/hamed/Downloads/rpi-img-builder-master/sysroot
/dev/loop2p1        256M    56M      201M  22% /home/hamed/Downloads/rpi-img-builder-master/p1
/dev/loop2p2       7161M  7142M        0M 100% /home/hamed/Downloads/rpi-img-builder-master/p2

at first thanks for your great job
but if you have any point for solving my problem, please help me.



 

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

Time to create page: 0.095 seconds
Powered by Kunena Forum