fresh master pull failing to build [SOLVED]

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: fresh master pull failing to build

Post by wmayer »

Some months ago I ported FreeCAD to vtk9. Here is the branch with a single commit: https://github.com/wwmayer/FreeCAD/comm ... 0f7e25a9ff

I will rebase it to current master and if it still compiles I will merge it.
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: fresh master pull failing to build

Post by wmayer »

git commit 0cfea3fee3e7848

There is only one thing that probably must be touched to make it working with vtk9:
https://github.com/FreeCAD/FreeCAD/comm ... a46feR1018
User avatar
freman
Veteran
Posts: 2203
Joined: Tue Nov 27, 2018 10:30 pm

Re: fresh master pull failing to build

Post by freman »

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.
user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: fresh master pull failing to build

Post by user1234 »

wmayer wrote: Sun May 09, 2021 10:19 amgit commit 0cfea3fee3e7848
Compiles with charm here:

Code: Select all

OS: Debian GNU/Linux bullseye/sid (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.24848 (Git)
Build type: Release
Branch: master
Hash: 0cfea3fee3e7848bbf043d2b1a19f6405d7ebe25
Python version: 3.9.2
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
VTK: 9.0.1
Testing later when more time to spare.

Greetings
user1234

edit: VTK version added
User avatar
freman
Veteran
Posts: 2203
Joined: Tue Nov 27, 2018 10:30 pm

Re: fresh master pull failing to build

Post by freman »

compiled fine. I don't have any mesh work to actually test it on.

OS: Fedora 34 (Thirty Four) (LXQt//usr/share/xsessions/lxqt)
Word size of FreeCAD: 64-bit
Version: 0.20.24847 (Git)
Build type: Release
Branch: master
Hash: 20e756306d9aa624fcbf465f0345d721673ce720
Python version: 3.9.4
Qt version: 5.15.2
Coin version: 4.0.0a
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)


Fedora package vtk Version : 9.0.1
Post Reply