Search found 1586 matches

by freman
Sun May 09, 2021 3:13 pm
Forum: Install / Compile
Topic: fresh master pull failing to build [SOLVED]
Replies: 14
Views: 1092

Re: fresh master pull failing to build

Many thanks.

I found the patch based on your work, with help from hobbes1069, here:

https://forum.freecadweb.org/viewtopic. ... 25#p502725

Applied cleanly to current master.
by freman
Sun May 09, 2021 3:02 pm
Forum: Install / Compile
Topic: FreeCAD 0.18.4 fails to build with vtk 9.0
Replies: 46
Views: 6533

Re: FreeCAD 0.18.4 fails to build with vtk 9.0

worked a treat , many thanks for your help.

after pulling distro's vtk vtk-devel it seems to be building fine with -DBUILD_SMESH=ON
by freman
Sun May 09, 2021 2:31 pm
Forum: Install / Compile
Topic: FreeCAD 0.18.4 fails to build with vtk 9.0
Replies: 46
Views: 6533

Re: FreeCAD 0.18.4 fails to build with vtk 9.0

78 #Does not build with current versions of OCCT. Is that still current ? Provides: bundled(smesh) = 5.1.2.2 Patch3: freecad-vtk9.patch From bb9bcbd51df7c3cb76c5823038e4ea0f7e25a9ff Mon Sep 17 00:00:00 2001 From: wmayer <wmayer@users.sourceforge.net> Date: Mon, 12 Oct 2020 17:56:03 +0200 Subject: [...
by freman
Sun May 09, 2021 1:43 pm
Forum: Install / Compile
Topic: FreeCAD 0.18.4 fails to build with vtk 9.0
Replies: 46
Views: 6533

Re: FreeCAD 0.18.4 fails to build with vtk 9.0

Sorry if I was not clear enough. I build FreeCAD from master. Two issues: 1. I had this working fine on Fed33 which I had just upgraded to from Fed31. Due to package version limitations on the latter I had to build a few things from source when I initially installed FC. ( Back before py2 went out of...
by freman
Sun May 09, 2021 8:30 am
Forum: Install / Compile
Topic: FreeCAD 0.18.4 fails to build with vtk 9.0
Replies: 46
Views: 6533

Re: FreeCAD 0.18.4 fails to build with vtk 9.0

If I try to install smesh on Fed34 it pulls in smesh 8.3.0 and vtk9.0.1 so maybe there are some code changes already applied there to deal with the API changes. Perhaps it's worth getting the src.rpm from Fed34 and diffing against upstream. dnf install smesh Last metadata expiration check: 2:37:03 a...
by freman
Sun May 09, 2021 8:21 am
Forum: Install / Compile
Topic: fresh master pull failing to build [SOLVED]
Replies: 14
Views: 1092

Re: fresh master pull failing to build

Why would I mark something as solved when quite clearly it is NOT solved ? Fedora may be the first distro to only offer vtk9 and are thus providing advanced warning of the API change which is causing SMESH to fail to compile. Avoiding building SMESH is a work around to allow the rest of FC to compil...
by freman
Sun May 09, 2021 7:37 am
Forum: Install / Compile
Topic: FreeCAD 0.18.4 fails to build with vtk 9.0
Replies: 46
Views: 6533

Re: FreeCAD 0.18.4 fails to build with vtk 9.0

Hobbes, please don't think that was a comment on your sterling efforts with Fedora which are much appreciated. It was a comment on my experience of posting bug reports Fedora in general, where most bugs die of old age without ever getting fixed. I was foolish in updating to current Fedora release, I...
by freman
Sun May 09, 2021 7:01 am
Forum: Install / Compile
Topic: fresh master pull failing to build [SOLVED]
Replies: 14
Views: 1092

Re: fresh master pull failing to build

Thanks so it's definitely the vtk9 issue.

Fed34 only has vtk9 which is my dumb fault for updating to "current version" and getting to deal with this kind of crap.

For now I probably don't SMESH anyway, so -DBUILD_SMESH=OFF ;)
by freman
Sat May 08, 2021 7:21 pm
Forum: Install / Compile
Topic: fresh master pull failing to build [SOLVED]
Replies: 14
Views: 1092

Re: fresh master pull failing to build

Thanks for the suggestion oB but that does not seem at all related to the errors I posted above.

There is a syntax error in building smesh and it seems related to vtk9 having made an API change as detailed in the FC forum link I posted.
by freman
Sat May 08, 2021 5:25 pm
Forum: Install / Compile
Topic: fresh master pull failing to build [SOLVED]
Replies: 14
Views: 1092

Re: fresh master pull failing to build

Well the actual error seems to be higher up, googling that is what led me to the FC issue I linked at the end. /~/FreeCAD/src/3rdParty/salomesmesh/inc/SMDS_UnstructuredGrid.hxx: In member function ‘vtkCellLinks* SMDS_UnstructuredGrid::GetLinks()’: /~/FreeCAD/src/3rdParty/salomesmesh/inc/SMDS_Unstruc...