FreeCAD 10 on gentoo
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
FreeCAD 10 on gentoo
Hi
There is an ebuild for FreeCAD on gentoo but it is for V9 rev 2646
Will there be an update to a newer version?
There is an ebuild for FreeCAD on gentoo but it is for V9 rev 2646
Will there be an update to a newer version?
Re: FreeCAD 10 on gentoo
This is done by a third party, so we dont know....
Stop whining - start coding!
Re: FreeCAD 10 on gentoo
These are the official ebuilds
sci-libs/opencascade 6.3-r2
cmake didn't configure freecad becaue it couldn't detect coin3d, OOC. As a solution I bluntly changed the paths in the /freecad/CMakeCache.txt file.
What's ODE? At the moment, I couldn't repack (compile) freecad because of this following error:
I'll be looking for a solution at this forum now.
- dev-util/boost-build
dev-libs/boost
app-admin/eselect-boost
dev-python/PyQt4
dev-libs/xerces-c
media-libs/coin
sci-libs/opencascade 6.3-r2
cmake didn't configure freecad becaue it couldn't detect coin3d, OOC. As a solution I bluntly changed the paths in the /freecad/CMakeCache.txt file.
- COIN3D_DOC_PATH:PATH=/usr/share/doc/coin-3.1.3-r1/
COIN3D_INCLUDE_DIR:PATH=/usr/include/coin
OCC_INCLUDE_DIR:PATH=/opt/opencascade-6.3/ros/inc
OCC_LIBRARY:FILEPATH=/opt/opencascade-6.3/ros/Linux/lib
Code: Select all
~/source/freecad $ cmake .
-- Found Xerces-C: /usr/lib64/libxerces-c.so
-- checking for module 'ode'
-- package 'ode' not found
-- Platform is 64-bit, set -D_OCC64
-- DEBUG: -g -DFC_DEBUG
/home/valber/source/freecad/src/Build/Version.h written
-- Boost found: TRUE
-- OpenCASCADE include directory: /opt/opencascade-6.3/ros/inc
-- OpenCASCADE shared libraries directory: /opt/opencascade-6.3/ros/Linux
-- Build 64bit
-- Coin3D doc is installed
-- Tag file: /home/valber/source/freecad/src/Doc/coin.tag
-- Location: /usr/share/doc/coin-3.1.3-r1/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/valber/source/freecad
Code: Select all
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh0DElement.cpp.o
In file included from /home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshElement.hxx:34,
from /home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_Mesh0DElement.hxx:31,
from /home/valber/source/freecad/src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh0DElement.cpp:31:
/home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshElementIDFactory.hxx:34:35: error: NCollection_DataMap.hxx: No such file or directory
In file included from /home/valber/source/freecad/src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh0DElement.cpp:33:
/home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshNode.hxx:33:32: error: NCollection_List.hxx: No such file or directory
In file included from /home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshElement.hxx:34,
from /home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_Mesh0DElement.hxx:31,
from /home/valber/source/freecad/src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh0DElement.cpp:31:
/home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshElementIDFactory.hxx:38: error: expected initializer before ‘<’ token
/home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshElementIDFactory.hxx:60: error: ‘SMDS_IdElementMap’ does not name a type
In file included from /home/valber/source/freecad/src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh0DElement.cpp:33:
/home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshNode.hxx:72: error: ISO C++ forbids declaration of ‘NCollection_List’ with no type
/home/valber/source/freecad/src/3rdParty/salomesmesh/inc/SMDS_MeshNode.hxx:72: error: expected ‘;’ before ‘<’ token
make[2]: *** [src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_Mesh0DElement.cpp.o] Error 1
make[1]: *** [src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/all] Error 2
make: *** [all] Error 2
Re: FreeCAD 10 on gentoo
I had to make a change with something to do with opencascade
There is a freecad10 ebuild floating around somewhere on bugzilla, it works for me
There is a freecad10 ebuild floating around somewhere on bugzilla, it works for me
Re: FreeCAD 10 on gentoo
Thank you very much!
http://bugs.gentoo.org/show_bug.cgi?id=312063 - is that it?
Everything installed properly and works fine, which is great.
And how did you overcome Pivy?
http://bugs.gentoo.org/show_bug.cgi?id=312063 - is that it?
Everything installed properly and works fine, which is great.
And how did you overcome Pivy?
Code: Select all
Pivy and PyQt4 python modules must be installed on your system to use the 2D Drafting module.<type 'exceptions.AttributeError'>
Re: FreeCAD 10 on gentoo
I wouldnt know as I dont use 2d drafting
If anything I might have used the unstable pivy and pyqt4 bindings, but i dont use 2d drafting
If anything I might have used the unstable pivy and pyqt4 bindings, but i dont use 2d drafting
Re: FreeCAD 10 on gentoo
I'm pretty sure some people already managed to run pivy on gentoo in the past...
Have a search on this forum, you might find more info
Have a search on this forum, you might find more info
Re: FreeCAD 10 on gentoo
Open Dynamic Engine is a library which will be used when starting with the Assembly module. But for the moment you can silently ignore it.What's ODE?
Code: Select all
At the moment, I couldn't repack (compile) freecad because of this following error:
Code: Select all
error: NCollection_DataMap.hxx: No such file or directory
With the latest source tarball we also provider the generated source files for pivy. Actually it should build the pivy python module without further tweaks.And how did you overcome Pivy?
Re: FreeCAD 10 on gentoo
I'm SorryNCollection_DataMap.hxx is an OCC header file.
I rechecked the path to the libraries
Code: Select all
//Path to a file.
OCC_INCLUDE_DIR:PATH=/opt/opencascade-6.3/ros/lin/inc
//Path to a library.
OCC_LIBRARY:FILEPATH=/opt/opencascade-6.3/ros/lin/lib
Code: Select all
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_QuadraticVolumeOfNodes.cpp.o
[ 1%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/src/SMDS/SMDS_MeshVolume.cpp.o
Linking CXX shared library ../../../lib/libSMDS.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lTKernel
collect2: ld returned 1 exit status
make[2]: *** [lib/libSMDS.so] Error 1
make[1]: *** [src/3rdParty/salomesmesh/CMakeFiles/SMDS.dir/all] Error 2
make: *** [all] Error 2
Re: FreeCAD 10 on gentoo
TKernel is one of the OCC libs. Make sure that you add the right path to your linker.