Package Details: freecad-git 0.19.r582.g0cfea3fee3-1

Git Clone URL: https://aur.archlinux.org/freecad-git.git (read-only, click to copy)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL: https://www.freecadweb.org/
Licenses: LGPL
Conflicts: freecad, freecad-appimage, freecad-appimage-git
Provides: freecad
Submitter: gborzi
Maintainer: greyltc
Last Packager: greyltc
Votes: 96
Popularity: 0.54
First Submitted: 2012-03-03 13:46
Last Updated: 2021-05-09 15:39

Required by (3)

Sources (1)

Latest Comments

« First ‹ Previous ... 26 27 28 29 30 31 32 33 34 35 36 ... Next › Last »

budulay commented on 2012-06-08 02:24

Hi, I've been getting this error for quite a a few weeks now:

TopoShape.cpp:1947:75: error: no matching function for call to 'StlTransfer::BuildIncrementalMesh(const TopoDS_Shape&, float&, bool, Handle_StlMesh_Mesh&)'
TopoShape.cpp:1947:75: note: candidate is:
In file included from TopoShape.cpp:1930:0:
/opt/opencascade/inc/StlTransfer.hxx:51:34: note: static void StlTransfer::BuildIncrementalMesh(const TopoDS_Shape&, Standard_Real, const Handle_StlMesh_Mesh&)
/opt/opencascade/inc/StlTransfer.hxx:51:34: note: candidate expects 3 arguments, 4 provided
make[6]: *** [libPart_la-TopoShape.lo] Error 1
make[6]: Leaving directory `/home/budulay_arch/AUR/freecad-git/src/freecad-build/src/Mod/Part/App'

This is the function call from TopoShape.cpp:1930 that causes the error:
StlTransfer::BuildIncrementalMesh(this->_Shape, accuracy, aMesh);

And here's the function definition from StlTransfer.hxx:51:
Standard_EXPORT static void BuildIncrementalMesh(const TopoDS_Shape& Shape,const Standard_Real Deflection,const Handle(StlMesh_Mesh)& Mesh) ;

Both of those have three arguments, so I'm completely lost as to why it doesn't work.

budulay commented on 2012-06-08 02:21

Hi, I've been getting this error for quite a a few weeks now:

TopoShape.cpp:1947:75: error: no matching function for call to 'StlTransfer::BuildIncrementalMesh(const TopoDS_Shape&, float&, bool, Handle_StlMesh_Mesh&)'
TopoShape.cpp:1947:75: note: candidate is:
In file included from TopoShape.cpp:1930:0:
/opt/opencascade/inc/StlTransfer.hxx:51:34: note: static void StlTransfer::BuildIncrementalMesh(const TopoDS_Shape&, Standard_Real, const Handle_StlMesh_Mesh&)
/opt/opencascade/inc/StlTransfer.hxx:51:34: note: candidate expects 3 arguments, 4 provided
make[6]: *** [libPart_la-TopoShape.lo] Error 1
make[6]: Leaving directory `/home/budulay_arch/AUR/freecad-git/src/freecad-build/src/Mod/Part/App'

This is the function call from TopoShape.cpp:1930 that causes the error:
StlTransfer::BuildIncrementalMesh(this->_Shape, accuracy, aMesh);

And here's the function definition from StlTransfer.hxx:51:
Standard_EXPORT static void BuildIncrementalMesh(const TopoDS_Shape& Shape,const Standard_Real Deflection,const Handle(StlMesh_Mesh)& Mesh) ;

Both of those have three arguments, so I'm completely lost as to why it doesn't work.

gborzi commented on 2012-05-31 22:38

@atcw
I just finished compiling freecad-git without problems, and without the additional line for eigen3 include.

Anonymous comment on 2012-05-30 22:46

Thanks for fixing the M_PI stuff.
Unfortunately it would still not compile for me and break with the following error:
Core/Approximation.cpp:58:31: fatal error: Eigen/LeastSquares: No such file or directory
But it is a simple fix
Append the following to the call of the configure script in the PKGBUILD file
A backslash "\" to the last line and after that add the following line
--with-eigen3-include=/usr/include/eigen3/
call makepkg in the folder with PKGBUILD, then install the generated package with pacman -U filenameofgeneratedpackage.tar.xz

gborzi commented on 2012-05-14 22:07

Fixed.

PerisH commented on 2012-05-14 17:55

Hi! I'm having problems to compile the package. This last two weeks when i tried to compile and this error can't let me build freecad-git and my actual version is broken.

././src/SMESH/SMESH_MeshEditor.cpp:6972:53: warning: narrowing conversion of 'nSide[1].std::list<_Tp, _Alloc>::size<const SMDS_MeshNode*, std::allocator<const SMDS_MeshNode*> >()' from 'std::list<const SMDS_MeshNode*>::size_type {aka long unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]
make[4]: *** [SMESH_MeshEditor.lo] Error 1
make[4]: se sale del directorio `/tmp/yaourt-tmp-perish/aur-freecad-git/src/freecad-build/src/3rdParty/salomesmesh'
make[3]: *** [all-recursive] Error 1

gborzi commented on 2012-04-06 16:33

This new PKGBUILD fixes the problem reported by Tempel. It adds -fpermissive to the compilation flags to get rid of the error.

gborzi commented on 2012-04-05 16:28

@Tempel
I have the same problem with -git, haven't tried freecad stable. Tried recompiling both soqt and coin, but it still fails with that error message. So, I came to the conclusion that it could be a compiler problem, it is the only relevant thing that has recently changed. Downgrading gcc to 4.6.3 solves the problem.

Tempel commented on 2012-04-05 01:14

Building fails for me during the configure step with:

checking whether libSoQt is available... false
configure: error:
**** Cannot find SoQt devel files. ****

I installed soqt as a dependency of pivy-hg just for this package, so I'm certain it's there. This occurs with both freecad and freecad-git packages. Any thoughts?

gborzi commented on 2012-03-14 20:09

I found a workaround to the boost "hard" dep problem. Now the package() function includes a few lines that create symlinks under /usr/lib/freecad-git/lib for the required versioned boost libraries to the unversioned ones, e.g.
ls -l /usr/lib/freecad-git/lib/libboost_*
returns
lrwxrwxrwx 1 root root 31 Mar 14 20:46 /usr/lib/freecad-git/lib/libboost_filesystem.so.1.49.0 -> /usr/lib/libboost_filesystem.so
lrwxrwxrwx 1 root root 36 Mar 14 20:46 /usr/lib/freecad-git/lib/libboost_program_options.so.1.49.0 -> /usr/lib/libboost_program_options.so
lrwxrwxrwx 1 root root 26 Mar 14 20:46 /usr/lib/freecad-git/lib/libboost_regex.so.1.49.0 -> /usr/lib/libboost_regex.so
lrwxrwxrwx 1 root root 28 Mar 14 20:46 /usr/lib/freecad-git/lib/libboost_signals.so.1.49.0 -> /usr/lib/libboost_signals.so
lrwxrwxrwx 1 root root 27 Mar 14 20:46 /usr/lib/freecad-git/lib/libboost_system.so.1.49.0 -> /usr/lib/libboost_system.so
and
ldd /usr/bin/freecad-git |grep boost
returns
libboost_program_options.so.1.49.0 => /usr/lib/freecad-git/lib/libboost_program_options.so.1.49.0 (0x00007f12a031f000)
libboost_signals.so.1.49.0 => /usr/lib/freecad-git/lib/libboost_signals.so.1.49.0 (0x00007f12a010b000)
libboost_regex.so.1.49.0 => /usr/lib/freecad-git/lib/libboost_regex.so.1.49.0 (0x00007f129fe01000)
libboost_filesystem.so.1.49.0 => /usr/lib/freecad-git/lib/libboost_filesystem.so.1.49.0 (0x00007f129fbe2000)
libboost_system.so.1.49.0 => /usr/lib/freecad-git/lib/libboost_system.so.1.49.0 (0x00007f129f9df000)
This applies to freecad as well, I tested it by compiling freecad with boost 1.48.0, then upgrading boost.