FreeCAD and Raspberry Pi 4
Re: FreeCAD and Raspberry Pi 4
Top of 0.18 branch is better - it happily opens documents saved by version from top of the master branch.
(I believe that's version 0.18.3 and a bit)
(I believe that's version 0.18.3 and a bit)
- kkremitzki
- Veteran
- Posts: 2517
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: FreeCAD and Raspberry Pi 4
The current stable tag is 0.18.3 so you can just check that out with git and build it.
Re: FreeCAD and Raspberry Pi 4
Ok, however I had installed Pyside libs already:wmayer wrote: ↑Sun Oct 13, 2019 3:10 pmFor Qt4 there should be a PySide and shiboken package that offer Python modules that can be imported at runtime. When installing them the warning should go away.if no warnings messages (see my previous post above, maybe I did something wrong or some libs are still missing, or ...?).
Without these modules the Tux wb doesn't load and the Path and FEM wb don't work 100% either.
Code: Select all
pi@raspberrypi:~ $ dpkg-query -l '*pyside*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-===============-============-=================================================
ii libpyside-dev 1.2.2+source1-3 armhf Python bindings for Qt 4 (development files)
ii libpyside-py3-1.2:armhf 1.2.2+source1-3 armhf Python3 bindings for Qt 4 (base files)
un libpyside0.3 <none> <none> (no description available)
ii libpyside1.2:armhf 1.2.2+source1-3 armhf Python bindings for Qt 4 (base files)
ii libpyside2-5.11 5.11.2-3+rpi1 armhf Python 2 bindings for Qt5 (base files)
ii libpyside2-dev 5.11.2-3+rpi1 armhf Python bindings for Qt5 (development files)
ii libpyside2-py3-5.11 5.11.2-3+rpi1 armhf Python 3 bindings for Qt5 (base files)
ii pyside-tools 0.2.15-1 armhf development tools for PySide (uic, rcc, lupdate)
ii pyside2-tools 5.11.2-3+rpi1 armhf development tools for PySide2 (uic, rcc, lupdate)
ii python-pyside 1.2.2+source1-3 all Python bindings for Qt4 (big metapackage)
ii python-pyside.phonon 1.2.2+source1-3 armhf Qt 4 Phonon module - Python bindings
ii python-pyside.qtcore 1.2.2+source1-3 armhf Qt 4 core module - Python bindings
ii python-pyside.qtdeclarative 1.2.2+source1-3 armhf Qt 4 Declarative module - Python bindings
ii python-pyside.qtgui 1.2.2+source1-3 armhf Qt 4 GUI module - Python bindings
ii python-pyside.qthelp 1.2.2+source1-3 armhf Qt 4 help module - Python bindings
ii python-pyside.qtnetwork 1.2.2+source1-3 armhf Qt 4 network module - Python bindings
ii python-pyside.qtopengl 1.2.2+source1-3 armhf Qt 4 OpenGL module - Python bindings
ii python-pyside.qtscript 1.2.2+source1-3 armhf Qt 4 script module - Python bindings
ii python-pyside.qtsql 1.2.2+source1-3 armhf Qt 4 SQL module - Python bindings
ii python-pyside.qtsvg 1.2.2+source1-3 armhf Qt 4 SVG module - Python bindings
ii python-pyside.qttest 1.2.2+source1-3 armhf Qt 4 test module - Python bindings
ii python-pyside.qtuitools 1.2.2+source1-3 armhf Qt 4 UI tools module - Python bindings
ii python-pyside.qtwebkit 1.2.2+source1-3 armhf Qt 4 WebKit module - Python bindings
ii python-pyside.qtxml 1.2.2+source1-3 armhf Qt 4 XML module - Python bindings
un python-pyside2-doc <none> <none> (no description available)
ii python-pyside2.qtcore 5.11.2-3+rpi1 armhf Python bindings for Qt5 core module (Python 2)
ii python-pyside2.qtgui 5.11.2-3+rpi1 armhf Python bindings for Qt5 Gui module (Python 2)
ii python-pyside2.qtopengl 5.11.2-3+rpi1 armhf Python bindings for Qt5 OpenGL module (Python 2)
ii python-pyside2.qtwidgets 5.11.2-3+rpi1 armhf Python bindings for Qt5 Widgets module (Python 2)
ii python-pyside2uic 5.11.2-3+rpi1 all User Interface Compiler for PySide2 (Python 2)
ii python3-pyside2.qtcore 5.11.2-3+rpi1 armhf Python bindings for Qt5 core module (Python 3)
ii python3-pyside2.qtgui 5.11.2-3+rpi1 armhf Python bindings for Qt5 Gui module (Python 3)
ii python3-pyside2.qtopengl 5.11.2-3+rpi1 armhf Python bindings for Qt5 OpenGL module (Python 3)
ii python3-pyside2.qtsvg 5.11.2-3+rpi1 armhf Python bindings for Qt5 Svg module (Python 3)
ii python3-pyside2.qtwidgets 5.11.2-3+rpi1 armhf Python bindings for Qt5 Widgets module (Python 3)
ii python3-pyside2uic 5.11.2-3+rpi1 all User Interface Compiler for PySide2 (Python 3)
pi@raspberrypi:~ $
and about shiboken:
Code: Select all
pi@raspberrypi:~ $ dpkg-query -l '*shiboken*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-=============-============-=====================================================================
ii libshiboken-dev 1.2.2-5.1+b1 armhf development files for the shiboken bindings generator library
un libshiboken-py3-1.2 <none> <none> (no description available)
ii libshiboken-py3-1.2v5:armhf 1.2.2-5.1+b1 armhf CPython3 bindings generator for C++ libraries - shared library
un libshiboken1.2 <none> <none> (no description available)
ii libshiboken1.2v5:armhf 1.2.2-5.1+b1 armhf CPython bindings generator for C++ libraries - shared library
ii libshiboken2-5.11 5.11.2-3+rpi1 armhf CPython bindings generator for C++ libraries (Python2 shared library)
ii libshiboken2-dev 5.11.2-3+rpi1 armhf CPython bindings generator for C++ libraries (development files)
ii libshiboken2-py3-5.11 5.11.2-3+rpi1 armhf CPython bindings generator for C++ libraries (Python3 shared library)
ii shiboken2 5.11.2-3+rpi1 armhf CPython bindings generator for C++ libraries
pi@raspberrypi:~ $
it seems to me that Pyside lib for Qt4-Py3 binding is installed, Shiboken py3 as well. Is there something else needed which is missing?
Re: FreeCAD and Raspberry Pi 4
Hi Clicky, thanks for your comments and your feedback. I have seen your post on the raspberry's forum: thanks for your reporting overthere
If you expect a full experience with Freecad maybe you should compile with Py2/Qt4 build because of Pyside missing module error with Py3/Qt4 one (at least for now).
I'm trying to solve this trouble right now, but no success.
-
- Posts: 7
- Joined: Mon Sep 23, 2019 5:53 am
Re: FreeCAD and Raspberry Pi 4
Thanks you very muchMartijnD wrote: ↑Fri Oct 11, 2019 4:49 am Hello All,
Hereby I can confirm a successful build on the Pi4. I used the source of 0.18.3. As far as I can see everything is working.
Here is my short list used for installing:Hope it helps someone.Code: Select all
sudo apt install cmake build-essential libtool lsb-release swig libboost-dev libboost-date-time-dev libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-thread-dev libcoin-dev libeigen3-dev libgts-bin libgts-dev libkdtree++-dev libmedc-dev libopencv-dev libproj-dev libvtk6-dev libx11-dev libxerces-c-dev libzipios++-dev qt4-dev-tools libqt4-dev libqt4-opengl-dev libqtwebkit-dev libshiboken-dev libpyside-dev pyside-tools python-dev python-matplotlib python-pivy python-ply python-pyside libocct*-dev occt-draw libsimage-dev doxygen libcoin-doc dh-exec libspnav-dev wget https://github.com/FreeCAD/FreeCAD/archive/0.18.3.zip unzip 0.18.3.zip mkdir freecad-build cd freecad-build cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7m \ -DPYTHON_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython2.7m.so \ -DPYTHON_PACKAGES_PATH=/usr/local/lib/python2.7/dist-packages/ ../freecad-source make -j4
Best regards and keep up the good work!
Martijn
I executing freecad on pi 4 successfully
Re: FreeCAD and Raspberry Pi 4
Hello everyone,
Thank you all for a solution for using freecad on RPI4.
I was able to install version 0.18 and 0.19 to do tests with my 3D printer. It works perfectly and surprisingly quickly.
I also install the Cura 4.2 slicer (https://www.dropbox.com/sh/s43vqzmi4d2b ... urm4a?dl=0) .
Maybe we will find a solution to switch to python 3 and Qt5, it will be Christmas before Christmas ?
Thanks again to everyone
Thank you all for a solution for using freecad on RPI4.
I was able to install version 0.18 and 0.19 to do tests with my 3D printer. It works perfectly and surprisingly quickly.
I also install the Cura 4.2 slicer (https://www.dropbox.com/sh/s43vqzmi4d2b ... urm4a?dl=0) .
Maybe we will find a solution to switch to python 3 and Qt5, it will be Christmas before Christmas ?
Thanks again to everyone
Re: FreeCAD and Raspberry Pi 4
You are welcome-alex- wrote: ↑Tue Oct 15, 2019 5:57 pm Hi Clicky, thanks for your comments and your feedback. I have seen your post on the raspberry's forum: thanks for your reporting overthere
If you expect a full experience with Freecad maybe you should compile with Py2/Qt4 build because of Pyside missing module error with Py3/Qt4 one (at least for now).
I'm trying to solve this trouble right now, but no success.
I am not complaining and almost everything (I know how to use ) is working now. So far only exporting as .obj had an issue - but, that's just really strange requirement I have and I can easily find several work-arounds.
Re: FreeCAD and Raspberry Pi 4
You should report your problem. As I remember recently some developers made changes to the Wavefront OBJ exporter, so if it fails for you, there is a chance of correcting the issue.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Re: FreeCAD and Raspberry Pi 4
Hey chaps,
I am trying to run FreeCAD on a Pinebook Pro. The precompiled version it will launch but then segfault when I try to open a file.
Now I tried to compile 1.8.4 using MartijnD's instructions. At 45% I get
[ 45%] Linking CXX shared library ../../../../Mod/Mesh/Mesh.so
[ 45%] Built target Mesh
make: *** [Makefile:130: all] Error 2
Any idea what I might be doing wrong? Or is the Pinebook Pro too far away from the RPi4 hardwarewise?
Thanks!
Björn
I am trying to run FreeCAD on a Pinebook Pro. The precompiled version it will launch but then segfault when I try to open a file.
Now I tried to compile 1.8.4 using MartijnD's instructions. At 45% I get
[ 45%] Linking CXX shared library ../../../../Mod/Mesh/Mesh.so
[ 45%] Built target Mesh
make: *** [Makefile:130: all] Error 2
Any idea what I might be doing wrong? Or is the Pinebook Pro too far away from the RPi4 hardwarewise?
Thanks!
Björn
Last edited by tiedemate on Thu Nov 21, 2019 5:31 pm, edited 1 time in total.
- kkremitzki
- Veteran
- Posts: 2517
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: FreeCAD and Raspberry Pi 4
Unfortunately this snippet doesn't contain the actual error, you'll have to scroll up in your build output to find it. This is just saying "make" failed, but "make" was calling commands itself to do the building, and it's the failure of one of those earlier commands that shows what happened.tiedemate wrote: ↑Thu Nov 21, 2019 5:17 pm Hey chaps,
I am trying to run FreeCAD on a Pinebook Pro. The precompiled version it will launch but then segfault when I try to open a file.
Now I tried to compile 1.8.4 using MartijnD's instructions. At 45% I get
[ 45%] Linking CXX shared library ../../../../Mod/Mesh/Mesh.so
[ 45%] Built target Mesh
make: *** [Makefile:130: all] Error 2
You can also upload the entire build output to something like https://paste.debian.net/.
No, it isn't. BTW I ordered one recently so I will be working on getting FreeCAD working on it before too long.Any idea what I might be doing wrong? Or is the Pinebook Pro too far away from the RPi4?
Thanks!
Björn