Of course you are correct.wandererfan wrote:ShapeString uses "FreeType" not "FreeImage". I would think "FreeImage" was for the ImageWB or for screen grabs.
We don't need to build OCCT with USE_VTK. We need VTK to build FreeCAD but not OCCT.gdo35 wrote:And do we use VTK 6.2 ?
It was not decided in previous post.
If I read blacey's post correctly
OSX's OCCT build with FreeImage, with TBB (already leading the way), without VTK
Win's OCCT build with FreeImage,without TBB, without VTK, I plan to try to upgrade the win build to use TBB
I suggest that for the FreeCAD PPA Ubuntu build should be with FreeImage, with TBB, without VTK. @gdo35, if you are ambitious and think you may want to get the OCCT7 package into the official Debian/Ubuntu repo's you'll have to think about VTK. For FreeCAD we don't need it.
When we have a working OCCT7 we will need to build nglib against it. This will require a patched nglib. As far as I know we have 3 choices;
1) wmayer has provided a patch against 5.1 for win, I haven't got it to work yet on win and haven't tried on linux
2) vejmarie has posted a 5.3 patched branch. This is being used by self-compilers on debian jessie and I believe this is what blacey is using for OSX
3) looo has posted a branch for 6.1 and submitted patches upstream that are not yet merged. Needed changes to FreeCAD master have been merged. It will not build on Win due to compiler not supporting some of the C++11 features with VS2013.
I prefer 3) We would need to use the NetGen 6.x sources and apply looo's changes as a patch in the debian folder. Easy to say, I have no idea how to do it It seems this is the "proper" way). nglib is needed for MESH_PART and FEM.
Without nglib, FreeCAD can be compiled. In the Mesh Design WB only standard and Mefisto will be available with Create mesh from shape. I think the 3D printing crowd likes the quad dominated option that NG allows. The FEM WB looses integrated meshing. There is a GMESH macro that works well and parts can be meshed in an older version, that has netgen support, and imported into a newer version. Hopefully this can be avoided, it's been this way on win for months and I feel like an ass.
Only VTK6 is required. SMESH (3rd party code integrated into FreeCAD needs it). 6.2 is needed only for FEM post processing. It only effects Trusty on Ubuntu, and FreeCAD simply disables the specific FEM post-processing that uses 6.2, FEM works otherwise. Long term goal could be to provide a FreeCAD-centric minimal VTK7 package (this is what is being done on OSX and Win).