Trouble compiling FreeCAD on an ARM64 SD845 device
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- EnigmaVoidX
- Posts: 26
- Joined: Tue Mar 31, 2020 4:39 am
Trouble compiling FreeCAD on an ARM64 SD845 device
Hello everyone, I was linked to this post by some people. I dont own an rpi4, but I am trying to run it on a arm64 device (specifically ubuntu Bionic inside a proot/chroot enviornment on a SD845 device).
I followed the instructions on the link on the first post of this page, problem is python 2.7 doesnt work for me, I get permission denied, python 3 works though. I can easily build using python3 but when it comes to launching it I get segfaults. I dont know if its python 3 or the fact I'm using a software 3d accelerator (llvmpipe)?
Any input?
I followed the instructions on the link on the first post of this page, problem is python 2.7 doesnt work for me, I get permission denied, python 3 works though. I can easily build using python3 but when it comes to launching it I get segfaults. I dont know if its python 3 or the fact I'm using a software 3d accelerator (llvmpipe)?
Any input?
Last edited by Kunda1 on Wed Apr 08, 2020 8:29 pm, edited 1 time in total.
Reason: Thread split off from https://forum.freecadweb.org/viewtopic.php?f=42&t=37458
Reason: Thread split off from https://forum.freecadweb.org/viewtopic.php?f=42&t=37458
Re: FreeCAD and Raspberry Pi 4
Hi, I don't know about ARM64 device, however following previous investigations the segfault issue seems due to Coin3D-QT5.EnigmaVoidX wrote: ↑Wed Apr 01, 2020 7:35 pm I dont own an rpi4, but I am trying to run it on a arm64 device .... I can easily build using python3 but when it comes to launching it I get segfaults. I dont know if its python 3 or the fact I'm using a software 3d accelerator (llvmpipe)?
Any input?
So you can try to compile PY3/Qt4 https://forum.freecadweb.org/viewtopic. ... 80#p340741
Last edited by -alex- on Fri Apr 03, 2020 7:13 pm, edited 2 times in total.
Re: FreeCAD and Raspberry Pi 4
Edit: post deleted due to topic spliting.
Last edited by -alex- on Mon Apr 13, 2020 5:58 pm, edited 1 time in total.
- EnigmaVoidX
- Posts: 26
- Joined: Tue Mar 31, 2020 4:39 am
Re: FreeCAD and Raspberry Pi 4
The issue for me is, during make and cMake I get errors due to my system keep throwing permission errors for Python2.7. Am in SOL? Technically a pi4 and sd845 soc both run arm64 architecture, only different is I'm running linux in a container.
Re: FreeCAD and Raspberry Pi 4
Ok you are right ARMV8 of RPI4 is arm64, so if your device is the same I assume compiling PY3/Qt4 should work the same, that would avoid troubles with py2 denied access isn't? Although I have not so much skills about all those stuffs sorryEnigmaVoidX wrote: ↑Sun Apr 05, 2020 7:54 pm Technically a pi4 and sd845 soc both run arm64 architecture, only different is I'm running linux in a container.
- EnigmaVoidX
- Posts: 26
- Joined: Tue Mar 31, 2020 4:39 am
Re: FreeCAD and Raspberry Pi 4
I was able to access python2, build goes fine but I still get segfault at launch. I can access freecad in console mode. It was built with py2/qt4. It cant be opengl support as my llvmpipe has opengl support as I can use gmsh which requires openGL. This is the error as followed:-alex- wrote: ↑Mon Apr 06, 2020 4:57 amOk you are right ARMV8 of RPI4 is arm64, so if your device is the same I assume compiling PY3/Qt4 should work the same, that would avoid troubles with py2 denied access isn't? Although I have not so much skills about all those stuffs sorryEnigmaVoidX wrote: ↑Sun Apr 05, 2020 7:54 pm Technically a pi4 and sd845 soc both run arm64 architecture, only different is I'm running linux in a container.
- EnigmaVoidX
- Posts: 26
- Joined: Tue Mar 31, 2020 4:39 am
Re: FreeCAD and Raspberry Pi 4
I followed your commands and now I get an error that says:-alex- wrote: ↑Fri Apr 03, 2020 2:29 pmHi, I don't know about ARM64 device, however following previous investigations the segfault issue seems due to Coin3D-QT5.EnigmaVoidX wrote: ↑Wed Apr 01, 2020 7:35 pm I dont own an rpi4, but I am trying to run it on a arm64 device .... I can easily build using python3 but when it comes to launching it I get segfaults. I dont know if its python 3 or the fact I'm using a software 3d accelerator (llvmpipe)?
Any input?
So you can try to compile PY3/Qt4 https://forum.freecadweb.org/viewtopic. ... 80#p340741
QWidget::Repaint: Recursive repaint detected.
Re: FreeCAD and Raspberry Pi 4
Could you give us the QT version installed? And thank you to past the output error by using the code tag tool in you message.EnigmaVoidX wrote: ↑Wed Apr 08, 2020 6:31 amI followed your commands and now I get an error that says:-alex- wrote: ↑Fri Apr 03, 2020 2:29 pmHi, I don't know about ARM64 device, however following previous investigations the segfault issue seems due to Coin3D-QT5.EnigmaVoidX wrote: ↑Wed Apr 01, 2020 7:35 pm I dont own an rpi4, but I am trying to run it on a arm64 device .... I can easily build using python3 but when it comes to launching it I get segfaults. I dont know if its python 3 or the fact I'm using a software 3d accelerator (llvmpipe)?
Any input?
So you can try to compile PY3/Qt4 https://forum.freecadweb.org/viewtopic. ... 80#p340741
QWidget::Repaint: Recursive repaint detected.
Please Kunda could you maybe splite the last 6 messages from EnigmaVoidX and my replies in a new thread titeld" Trouble to compile FreeCAD on an ARM64 SD845 device"? Because that does not concerne directly Raspberry PI4 device.Kunda1 wrote:ping
Re: Trouble compiling FreeCAD on an ARM64 SD845 device
Done
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- EnigmaVoidX
- Posts: 26
- Joined: Tue Mar 31, 2020 4:39 am