The CAM workbench nightly branch hasn't been rebased for quite a while so if you do an in-source build and switch back and forth, compiling takes a long time. I've pulled the repo into a different directory from my main FreeCAD build so I don't have to recompile everything every time I switch. I just launch freecad directly from the bin directory.
My regular FreeCAD git master branch builds fine. Here's the 'About' info:
OS: Linux Mint 16 Petra
Platform: 32-bit
Version: 0.14.0275 (Git)
Branch: master
Hash: 93fc937bd1422efabbd8ed8d2ad2ebe5c15d8d1d
Python version: 2.7.5+
Qt version: 4.8.4
Coin version: 4.0.0a
SoQt version: 1.5.0
OCC version: 6.7.0
I'm building on Linux Mint and the PIVY install isn't compatible with freecad's internal PIVY so I've edited CMakeLists.txt and changed one line to read:
OPTION(FREECAD_USE_EXTERNAL_PIVY "Use system installed python-pivy instead of the bundled." ON)
Now it compiles to about 52% before failing. That's where I'm at so far.
Code: Select all
[ 52%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/TopoShapeShellPyImp.cpp.o
[ 52%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/TopoShapeSolidPyImp.cpp.o
[ 52%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/TopoShapeVertexPyImp.cpp.o
[ 52%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/TopoShapeWirePyImp.cpp.o
[ 52%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/BRepOffsetAPI_MakePipeShellPyImp.cpp.o
/home/brad/freecam/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp: In member function ‘PyObject* Part::BRepOffsetAPI_MakePipeShellPy::setAuxiliarySpine(PyObject*)’:
/home/brad/freecam/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp:124:116: error: invalid conversion from ‘int’ to ‘BRepFill_TypeOfContact’ [-fpermissive]
this->getBRepOffsetAPI_MakePipeShellPtr()->SetMode(TopoDS::Wire(s), PyObject_IsTrue(curv), PyObject_IsTrue(keep));
^
In file included from /home/brad/freecam/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp:31:0:
/usr/local/lib/oce-0.16-dev/../../include/oce/BRepOffsetAPI_MakePipeShell.hxx:124:28: error: initializing argument 3 of ‘void BRepOffsetAPI_MakePipeShell::SetMode(const TopoDS_Wire&, Standard_Boolean, BRepFill_TypeOfContact)’ [-fpermissive]
Standard_EXPORT void SetMode(const TopoDS_Wire& AuxiliarySpine,const Standard_Boolean CurvilinearEquivalence,const BRepFill_TypeOfContact KeepContact = BRepFill_NoContact) ;
^
make[2]: *** [src/Mod/Part/App/CMakeFiles/Part.dir/BRepOffsetAPI_MakePipeShellPyImp.cpp.o] Error 1
make[1]: *** [src/Mod/Part/App/CMakeFiles/Part.dir/all] Error 2
make: *** [all] Error 2
brad@hairball ~/freecam $