FreeCAD and Raspberry Pi 4

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
tiedemate
Posts: 7
Joined: Thu Nov 21, 2019 9:58 am

Re: FreeCAD and Raspberry Pi 4

Post by tiedemate »

Hi,

I tried to grab the output of the terminal. I don't know how to scroll up and access older output unfortunately, but maybe you can make anything out of it. (I can't use the terminal emulator in KDE because it's crashing all the time, so I have to use the Strg + Alt + F2 thing).
In any case good to hear there will likely be some activity directed towards the Pinebook Pro!

Best regards!
Bjoern
Attachments
tty2.log
(15.7 KiB) Downloaded 76 times
tiedemate
Posts: 7
Joined: Thu Nov 21, 2019 9:58 am

Re: FreeCAD and Raspberry Pi 4

Post by tiedemate »

Here's a second try, I managed to capture an error scrolling through the screen, and then at the end the message is different from the first try.
Sorry that I can't be more specific, I've got zero experience compiling stuff...
Attachments
IMG_20191121_193421.jpg
IMG_20191121_193421.jpg (775.66 KiB) Viewed 2403 times
IMG_20191121_193140.jpg
IMG_20191121_193140.jpg (807.67 KiB) Viewed 2403 times
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD and Raspberry Pi 4

Post by chrisb »

You can redirect the output of stdout and stderr to a file. Such log output can be included directly in the post included in code tags </>. That makes reading easier.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
tiedemate
Posts: 7
Joined: Thu Nov 21, 2019 9:58 am

Re: FreeCAD and Raspberry Pi 4

Post by tiedemate »

Very good hint, I still have a lot to learn, when it comes to Linux...

Here's the output of
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

Code: Select all

-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: GNU, version: 9.2.1
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.13.4
-- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.17") 
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found suitable exact version "2.7.17rc1") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   regex
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- Found Xerces-C: /usr/lib/arm-linux-gnueabihf/libxerces-c.so
-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version "1.2.11") 
-- PyCXX found:
--   Headers:  /home/tiedemate/freecad-source/src
--   Sources:  /home/tiedemate/freecad-source/src/CXX
--   Version:  6.2.8
-- Found OCC: /usr/include/opencascade (found version "7.3.0") 
-- -- Found OCE/OpenCASCADE version: 7.3.0
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib/arm-linux-gnueabihf
-- The imported target "vtkGUISupportQt" references the file
   "/usr/lib/arm-linux-gnueabihf/libvtkGUISupportQt-7.1.so.7.1.1"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtkGUISupportQtSQL" references the file
   "/usr/lib/arm-linux-gnueabihf/libvtkGUISupportQtSQL-7.1.so.7.1.1"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtkParseOGLExt" references the file
   "/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtkRenderingPythonTkWidgets" references the file
   "/usr/lib/arm-linux-gnueabihf/libvtkRenderingPythonTkWidgets.so"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtk" references the file
   "/usr/bin/vtk"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "pvtk" references the file
   "/usr/bin/pvtk"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkIOMPIParallel;vtkParallelMPI;vtkhdf5;vtkFiltersParallelDIY2;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- We guess that libmed was built using hdf5-openmpi version
-- Checking for one of the modules 'hdf5-openmpi'
-- Checking for one of the modules 'ompi-cxx'
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12") 
-- Found Eigen3: /usr/include/eigen3 (found suitable version "3.3.7", minimum required is "2.91.0") 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.5.0") 
-- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "2.9.1") 
-- Found OpenGL: /usr/lib/arm-linux-gnueabihf/libOpenGL.so   
-- Found OpenGLU: /usr/lib/arm-linux-gnueabihf/libGLU.so
-- Checking for module 'Coin'
--   No package 'Coin' found
-- Coin3D libraries found
-- Found Spnav: /usr/lib/libspnav.so  
-- Using default python: -python2.7
-- libshiboken built for Release
-- Found PySide Tools: /usr/bin/pyside-uic, /usr/bin/pyside-rcc
=====================================================
matplotlib not found, Plot module won't be available.
=====================================================

-- Platform is 32-bit
-- /home/tiedemate/freecad-build/src/Base/TypePy.cpp
-- /home/tiedemate/freecad-build/src/Base/BaseClassPy.cpp
-- /home/tiedemate/freecad-build/src/Base/BoundBoxPy.cpp
-- /home/tiedemate/freecad-build/src/Base/CoordinateSystemPy.cpp
-- /home/tiedemate/freecad-build/src/Base/PersistencePy.cpp
-- /home/tiedemate/freecad-build/src/Base/VectorPy.cpp
-- /home/tiedemate/freecad-build/src/Base/MatrixPy.cpp
-- /home/tiedemate/freecad-build/src/Base/RotationPy.cpp
-- /home/tiedemate/freecad-build/src/Base/PlacementPy.cpp
-- /home/tiedemate/freecad-build/src/Base/AxisPy.cpp
-- /home/tiedemate/freecad-build/src/Base/UnitPy.cpp
-- /home/tiedemate/freecad-build/src/Base/QuantityPy.cpp
-- /home/tiedemate/freecad-build/src/App/DocumentPy.cpp
-- /home/tiedemate/freecad-build/src/App/DocumentObjectPy.cpp
-- /home/tiedemate/freecad-build/src/App/ExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/App/ExtensionContainerPy.cpp
-- /home/tiedemate/freecad-build/src/App/DocumentObjectExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/App/GroupExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/App/LinkBaseExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/App/DocumentObjectGroupPy.cpp
-- /home/tiedemate/freecad-build/src/App/GeoFeaturePy.cpp
-- /home/tiedemate/freecad-build/src/App/GeoFeatureGroupExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/App/OriginGroupExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/App/PartPy.cpp
-- /home/tiedemate/freecad-build/src/App/ComplexGeoDataPy.cpp
-- /home/tiedemate/freecad-build/src/App/PropertyContainerPy.cpp
-- /home/tiedemate/freecad-build/src/App/MaterialPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Points/App/PointsPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Mesh/App/FacetPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Mesh/App/MeshPointPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Mesh/App/MeshPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Mesh/Gui/ViewProviderMeshPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ArcPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ArcOfConicPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ArcOfCirclePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ArcOfParabolaPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/BodyBasePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ConicPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/CirclePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ArcOfEllipsePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/EllipsePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/HyperbolaPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ParabolaPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/OffsetCurvePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometryPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometryExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometryIntExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometryStringExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometryBoolExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometryDoubleExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometryCurvePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/BoundedCurvePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TrimmedCurvePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/GeometrySurfacePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/LinePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/LineSegmentPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/PointPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/BezierCurvePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/BSplineCurvePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/PlanePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ConePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/CylinderPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/SpherePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/ToroidPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/BezierSurfacePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/BSplineSurfacePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/OffsetSurfacePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/PlateSurfacePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/PartFeaturePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/AttachExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Part2DObjectPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/AttachEnginePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeFacePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeShellPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/TopoShapeWirePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/BezierCurve2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Circle2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Conic2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Ellipse2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Geometry2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Hyperbola2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Curve2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Line2dSegmentPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Line2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Part/App/Geom2d/Parabola2dPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/PartDesign/App/BodyPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/PartDesign/App/FeaturePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/PartDesign/Gui/ViewProviderPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Sketcher/App/ConstraintPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Sketcher/App/SketchPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Robot/App/Robot6AxisPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Robot/App/TrajectoryPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Robot/App/WaypointPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Robot/App/RobotObjectPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Import/App/StepShapePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Fem/App/FemMeshPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Fem/App/FemPostPipelinePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Spreadsheet/App/SheetPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Path/App/CommandPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Path/App/PathPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Path/App/ToolPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Path/App/TooltablePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Path/App/FeaturePathCompoundPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Path/App/AreaPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Path/App/FeatureAreaPy.cpp
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   python27
-- found Boost: 1_67
-- boost-incude dirs are: /usr/include
-- boost-python lib is: 
-- boost_LIBRARY_DIRS is: /usr/lib/arm-linux-gnueabihf
-- Boost_LIBRARIES is: /usr/lib/arm-linux-gnueabihf/libboost_python27.so
-- area module (for Path Workbench) will be installed to: lib
-- /home/tiedemate/freecad-build/src/Mod/Path/PathSimulator/App/PathSimPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/Measure/App/MeasurementPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawPagePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewPartPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawTemplatePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawParametricTemplatePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawSVGTemplatePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewClipPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewDimensionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewDimExtentPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawHatchPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawGeomHatchPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewCollectionPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawProjGroupPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawProjGroupItemPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawViewAnnotationPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawLeaderLinePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawRichAnnoPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/GeomFormatPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/CenterLinePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/CosmeticEdgePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/CosmeticVertexPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawTilePy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawTileWeldPy.cpp
-- /home/tiedemate/freecad-build/src/Mod/TechDraw/App/DrawWeldSymbolPy.cpp
Created file /home/tiedemate/freecad-build/doc/freecad.qch
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen missing components:  dot
-- Note: Doxygen docs will look better with graphviz's dot installed.
-- Coin3D doc is not installed
-- /home/tiedemate/freecad-build/src/Gui/DocumentPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/PythonWorkbenchPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/ViewProviderPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/WorkbenchPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/SelectionObjectPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/LinkViewPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/ViewProviderLinkPy.cpp
-- /home/tiedemate/freecad-build/src/Gui/AxisOriginPy.cpp
-- 
==============
Summary report
==============

-- Build type:          
-- Compiler:            /usr/bin/c++ (9.2.1)
-- Flags:               -Wall -Wextra -Wno-write-strings 
-- Python:              [/usr/bin/python2.7] [-python2.7]
-- PCL:                 not enabled
-- pybind11:            not enabled
-- Boost:               106700
-- XercesC:             [/usr/lib/arm-linux-gnueabihf/libxerces-c.so] [/usr/include]
-- ZLIB:                1.2.11
-- PyCXX:               [/home/tiedemate/freecad-source/src]
-- OCC:                 7.3.0 [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBin;TKBool;TKBO;TKCDF;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEP;TKSTEPBase;TKSTEPAttr;TKHLR;TKFeat]
-- SMESH:               build internal
--  MEDFile:            [/usr/lib/arm-linux-gnueabihf/libmedC.so] [/usr/include]
--  HDF5:               1.10.4
--  VTK:                7.1.1
-- NETGEN:              not enabled
-- SWIG:                3.0.12
-- Eigen3               3.3.7
-- Qt4:                 
-- QtWebKit:            found
-- Shiboken:            1.2.2 [/usr/include/shiboken]
-- PySide:              1.2.2 [/usr/include/PySide]
-- PySideTools:         [/usr/bin/pyside-uic] [/usr/bin/pyside-rcc]
-- Freetype:            2.9.1
-- OpenGLU:             /usr/lib/arm-linux-gnueabihf/libGLU.so [/usr/lib/arm-linux-gnueabihf/libGLU.so][/usr/include]
-- Coin3D:              [/usr/lib/arm-linux-gnueabihf/libCoin.so] [/usr/include]
-- SPNAV:               [/usr/lib/libspnav.so] [/usr/include]
-- Matplotlib:          not found
-- Rift:                not enabled (BUILD_VR)
-- Doxygen:             not found
=================================================
Now run 'cmake --build /home/tiedemate/freecad-build' to build FreeCAD
=================================================

-- Configuring done
-- Generating done
-- Build files have been written to: /home/tiedemate/freecad-build

I can't insert the output of the subsequent
make -j4
because it exceeds the character limit, so I attached it as a textfile.

Best regards!
Bjoern
Attachments
output cmake make.zip
(123.96 KiB) Downloaded 73 times
ToniGil
Posts: 11
Joined: Wed Dec 11, 2019 8:36 am

Re: FreeCAD and Raspberry Pi 4

Post by ToniGil »

MartijnD 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:

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
Hope it helps someone.

Best regards and keep up the good work!
Martijn
Hi Martijn,

First of all, thenk you for your great job making the solution readable for newbies with your step by step explanation.

I tried to install Freecad on my raspberry pi4 with your detail and I had an error in the step "cmake...."

CMake Error: The source directory "/home/pi/freecad-source" does not exist.

Then I changed the final text "../freecad-source" --> " "../FreeCAD-0.18.3/src" as I thought it could be an error or a text to replace with the correct path. I had a new error message:

/usr/bin/python2.7: can't open file '/home/pi/FreeCAD-0.18.3/src/src/Tools/SubWCRev.py': [Errno 2] No such file or directory
CMake Error at Build/CMakeLists.txt:18 (fc_copy_file_if_different):
Unknown CMake command "fc_copy_file_if_different".


Then I tried several stupid things with no results... I attach CMakeOutput.log.

Could you please help with this? Thanks in advance.
Toni Gil.
Attachments
CMakeOutput.log
(45.84 KiB) Downloaded 64 times
wmayer
Founder
Posts: 20301
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD and Raspberry Pi 4

Post by wmayer »

tiedemate wrote: Fri Nov 22, 2019 12:46 pm I can't insert the output of the subsequent
make -j4
because it exceeds the character limit, so I attached it as a textfile.
The build fails because of this error:
In file included from /usr/include/qt4/QtOpenGL/QGLContext:1,
from /home/tiedemate/freecad-build/src/QtOpenGL.h:48,
from /home/tiedemate/freecad-source/src/Gui/Application.cpp:49:
/usr/include/qt4/QtOpenGL/qgl.h:85:17: error: conflicting declaration 'typedef GLfloat GLdouble'
85 | typedef GLfloat GLdouble;
| ^~~~~~~~
In file included from /home/tiedemate/freecad-source/src/Gui/InventorAll.h:31,
from /home/tiedemate/freecad-source/src/Gui/Application.cpp:27:
/usr/include/GL/gl.h:134:17: note: previous declaration as 'typedef double GLdouble'
134 | typedef double GLdouble; /* double precision float */
There is a conflicting type definition of GLdouble. The OpenGL lib defines it as double but Qt re-defines it as GLfloat.
wmayer
Founder
Posts: 20301
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD and Raspberry Pi 4

Post by wmayer »

ToniGil wrote: Wed Dec 11, 2019 11:10 am /usr/bin/python2.7: can't open file '/home/pi/FreeCAD-0.18.3/src/src/Tools/SubWCRev.py': [Errno 2] No such file or directory
CMake Error at Build/CMakeLists.txt:18 (fc_copy_file_if_different):
Unknown CMake command "fc_copy_file_if_different".
The source directory you set in CMake is not /home/pi/FreeCAD-0.18.3/src but /home/pi/FreeCAD-0.18.3
ToniGil
Posts: 11
Joined: Wed Dec 11, 2019 8:36 am

Re: FreeCAD and Raspberry Pi 4

Post by ToniGil »

wmayer wrote: Wed Dec 11, 2019 12:32 pm
ToniGil wrote: Wed Dec 11, 2019 11:10 am /usr/bin/python2.7: can't open file '/home/pi/FreeCAD-0.18.3/src/src/Tools/SubWCRev.py': [Errno 2] No such file or directory
CMake Error at Build/CMakeLists.txt:18 (fc_copy_file_if_different):
Unknown CMake command "fc_copy_file_if_different".
The source directory you set in CMake is not /home/pi/FreeCAD-0.18.3/src but /home/pi/FreeCAD-0.18.3
Thanks wmayer for your response.

This way it worked and finally I could execute the last line. After 2hours and a half working, I arrived to prompt and I think it´s done.

Now I have a new problem: I was waiting to find an item in Raspi menu for Freecad but it's not. A new one appeared "openCASCADE" but no Freecad.

How do I execute the program?

Thanks in advance.
Toni Gil.
wmayer
Founder
Posts: 20301
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: FreeCAD and Raspberry Pi 4

Post by wmayer »

How do I execute the program?
Inside the build directory open the folder bin. There you will find the file "FreeCAD" which you must double-click.
ToniGil
Posts: 11
Joined: Wed Dec 11, 2019 8:36 am

Re: FreeCAD and Raspberry Pi 4

Post by ToniGil »

wmayer wrote: Thu Dec 12, 2019 9:55 am
How do I execute the program?
Inside the build directory open the folder bin. There you will find the file "FreeCAD" which you must double-click.
Sorry for my newbieness and thanks so much!

It works!!!!!
Post Reply