meshing seems broken on 0.19 macOS builds

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
leonardshelby
Posts: 73
Joined: Sat Feb 24, 2018 6:09 pm

meshing seems broken on 0.19 macOS builds

Post by leonardshelby »

Hi,

the "tesselate shape" function doesn't work on the latest 0.19pre builds for macOS anymore. An error message is attached, but I don't have any idea what to do with it. After I click on ok it says: Name 'MeshPart' is not defined.

I hope this will be fixed.. if there's anything I can to to help/test, I'd be happy to.


OS: macOS 10.15
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21093 (Git)
Build type: Release
Branch: master
Hash: 31bb4d84b92bc587bd79912dd15e132713610773
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Attachments
Screenshot 2020-05-17 at 13.12.32.png
Screenshot 2020-05-17 at 13.12.32.png (39.83 KiB) Viewed 957 times
wmayer
Founder
Posts: 20317
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: meshing seems broken on 0.19 macOS builds

Post by wmayer »

You should open the Report View under the View > Panels to see the full and non-truncated error message.

But from the snippet I could see obviously the linker fails to load a 3rd party library called libmesh.so which I think must be part of netgen.
leonardshelby
Posts: 73
Joined: Sat Feb 24, 2018 6:09 pm

Re: meshing seems broken on 0.19 macOS builds

Post by leonardshelby »

Here's the "full report":

Traceback (most recent call last):
File "<string>", line 1, in <module>
<class 'ImportError'>: dlopen(/Applications/FreeCAD.app/Contents/Resources/lib/MeshPart.so, 2): Symbol not found: __ZN6netgen7testoutE
Referenced from: /Applications/FreeCAD.app/Contents/Resources/lib/libNETGENPlugin.8.3.dylib
Expected in: /Applications/FreeCAD.app/Contents/Resources/lib/libmesh.so
in /Applications/FreeCAD.app/Contents/Resources/lib/libNETGENPlugin.8.3.dylib
Traceback (most recent call last):
File "<string>", line 5, in <module>
<class 'NameError'>: name 'MeshPart' is not defined
name 'MeshPart' is not defined
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: meshing seems broken on 0.19 macOS builds

Post by sgrogan »

wmayer wrote: Sun May 17, 2020 11:47 am But from the snippet I could see obviously the linker fails to load a 3rd party library called libmesh.so which I think must be part of netgen.
I think this related to this. https://forum.freecadweb.org/viewtopic. ... 08#p399217
The OSX build uses the same updated dependencies.
"fight the good fight"
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: meshing seems broken on 0.19 macOS builds

Post by looo »

I tried to avoid this, but actually there are versions of smesh available which are not strictly pinned against netgen. So the dependency solver simple combines an older package of smesh with the latest netgen. By pinning the smesh version to FreeCAD, and by using the updated smesh it should be possible to avoid such incompatibilities for future update cycles.
To solve this for now, we need to get the updated smesh working on win. Linux is already working and I hope osx will work without additional trouble.
Post Reply