Package Details: freecad 0.18.16117-1

Git Clone URL: https://aur.archlinux.org/freecad.git (read-only)
Package Base: freecad
Description: A general purpose 3D CAD modeler
Upstream URL: https://www.freecadweb.org/
Licenses: LGPL
Submitter: bluewind
Maintainer: gbs
Last Packager: gbs
Votes: 148
Popularity: 17.015232
First Submitted: 2018-03-22 09:25
Last Updated: 2019-05-16 21:16

Latest Comments

1 2 3 4 5 6 ... Next › Last »

XDjackieXD commented on 2019-05-08 11:28

@Premik I fixed this by adding

-DOCE_FOUND=True \
-DOCC_INCLUDE_DIR=/usr/include/opencascade \
-DOCC_LIBRARY=/usr/lib \
-DOpenCASCADE_DIR=/usr/share/opencascade

to the cmake command in the PKGBUILD

zfkerr commented on 2019-05-06 21:06

@bluewind a build falue because SHA-checksums do not match.

tioguda commented on 2019-04-22 15:13

With Kunda's link and the information contained in it, I managed to build on Manjaro by adding just one patch.

Greetings.

Ps: There is a change from the original commit of the source.

vlas commented on 2019-04-21 11:16

Hello! Getting a build error:

...
-- Coin3D doc is not installed
-- /home/vlas/.cache/yay/freecad/src/FreeCAD/src/Gui/DocumentPy.cpp
-- /home/vlas/.cache/yay/freecad/src/FreeCAD/src/Gui/PythonWorkbenchPy.cpp
-- /home/vlas/.cache/yay/freecad/src/FreeCAD/src/Gui/ViewProviderPy.cpp
-- /home/vlas/.cache/yay/freecad/src/FreeCAD/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /home/vlas/.cache/yay/freecad/src/FreeCAD/src/Gui/WorkbenchPy.cpp
-- /home/vlas/.cache/yay/freecad/src/FreeCAD/src/Gui/SelectionObjectPy.cpp
=======================================
Now run 'make' to build FreeCAD
=======================================

-- Configuring incomplete, errors occurred!
See also "/home/vlas/.cache/yay/freecad/src/FreeCAD/CMakeFiles/CMakeOutput.log".
See also "/home/vlas/.cache/yay/freecad/src/FreeCAD/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...
Error making: freecad

Console output: https://termbin.com/f8z5
CMakeOutput.log: https://termbin.com/s6jk
CMakeError.log: https://termbin.com/t2cg

Premik commented on 2019-04-17 11:01

@lonaowna I can confirm adding the cmake symbols got me one step further. Thanks. Now I'm getting OCC errors:

CMake Error at cMake/FindOpenCasCade.cmake:98 (string):
  string sub-command REGEX, mode MATCH needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:635 (find_package)

CMake Error at cMake/FindOpenCasCade.cmake:99 (file):
  file STRINGS file "//include/opencascade/Standard_Version.hxx" cannot be
  read.
Call Stack (most recent call first):
  CMakeLists.txt:635 (find_package)

I tried to add additional define:

-DOCC_INCLUDE_DIR=/usr/include/opencascade \

Since this is where the file is. But no luck. It still tries to use the //include/opencascade/ for some reason..

Kunda commented on 2019-04-08 17:55

Re: Shiboken2
Check out this open PR "Created a PySide2 and Shiboken2 cmake finder."
https://github.com/FreeCAD/FreeCAD/pull/2020

Kunda commented on 2019-04-08 17:31

Installing 0.18.16111 on latest Manjaro 18.0.4
@Premik I can confirm I have the same issue
@lonaowna I haven't tested your potential fix yet.

newsboost commented on 2019-04-03 06:17

When I try to install freecad (Arch Linux, running yay -S freecad) I get something like:

File "/usr/lib/python2.7/site-packages/hgdemandimport/demandimportpy2.py", line 147, in __call__
  raise TypeError("%s object is not callable" % repr(self))
TypeError: <unloaded module 'httppeer'> object is not callable
==> ERROR: Failure while downloading coin hg repo
  Aborting...
Error downloading sources: coin

Here's the complete message: https://pastebin.com/Jju2kRqy

lonaowna commented on 2019-03-30 15:29

Try adding this to the cmake call in the PKGBUILD to get rid of the shiboken2 and PySide2 errors:

-DSHIBOKEN_INCLUDE_DIR=/usr/include/shiboken2 \
-DSHIBOKEN_BINARY=/usr/bin/shiboken2 \
-DSHIBOKEN_LIBRARY=/usr/lib/libshiboken2.cpython-37m-x86_64-linux-gnu.so \
-DPYSIDE_INCLUDE_DIR=/usr/include/PySide2 \
-DPYSIDE_LIBRARY=/usr/lib/libpyside2.cpython-37m-x86_64-linux-gnu.so \
-DPYSIDE_PYTHONPATH=/usr/lib/python3.7/site-packages/PySide2 \
-DPYSIDE_TYPESYSTEMS=/usr/share/PySide2/typesystems \

Premik commented on 2019-03-30 09:17

The cannot find -lpthreads error is a red herring. The real error is somewhere earlier in the log. In my case I'm getting:

====================
shiboken2 not found.
====================

==================
PySide2 not found.
==================

I have both packages installed pyside2 5.12.2-2, shiboken2 5.12.2-2..