[Fixed][Sketcher] windows build fails (conda)

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
CADman_x
Posts: 1
Joined: Tue Feb 15, 2022 4:20 am

Re: [Fixed][Sketcher] windows build fails (conda)

Post by CADman_x »

I also found this symbol missing using FreeCAD snap package. I did not compile from source.

Here is the call stack:

Code: Select all

Traceback (most recent call last):
  File "<string>", line 1, in <module>
<class 'ImportError'>: /snap/freecad-ppd/158/usr/lib/SketcherGui.so: undefined symbol: _ZN8Sketcher12GeoElementId5RtPntE
Cannot create object 'Body': (/snap/freecad-ppd/158/usr/lib/SketcherGui.so: undefined symbol: _ZN8Sketcher12GeoElementId5RtPntE)
Cannot create object 'Sketch': (/snap/freecad-ppd/158/usr/lib/SketcherGui.so: undefined symbol: _ZN8Sketcher12GeoElementId5RtPntE)
...
drmacro
Veteran
Posts: 8982
Joined: Sun Mar 02, 2014 4:35 pm

Re: [Fixed][Sketcher] windows build fails (conda)

Post by drmacro »

Maybe fixed for conda...but, not local source build:

Code: Select all

14:35:48  /home/mac/freecad-build/Mod/Sketcher/SketcherGui.so: undefined symbol: _ZN8Sketcher12GeoElementId5RtPntE
14:35:48  /home/mac/freecad-build/Mod/Sketcher/SketcherGui.so: undefined symbol: _ZN8Sketcher12GeoElementId5RtPntE
14:35:48  /home/mac/freecad-build/Mod/Sketcher/SketcherGui.so: undefined symbol: _ZN8Sketcher12GeoElementId5RtPntE
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
wmayer
Founder
Posts: 20307
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [Fixed][Sketcher] windows build fails (conda)

Post by wmayer »

I don't know why on some Linux systems it works and on some others it fails now. This hopefully fixes it again: git commit 6e012520d9
Syres
Veteran
Posts: 2899
Joined: Thu Aug 09, 2018 11:14 am

Re: [Fixed][Sketcher] windows build fails (conda)

Post by Syres »

wmayer wrote: Tue Feb 15, 2022 9:02 pm This hopefully fixes it again: git commit 6e012520d9
Works for me, thanks.

OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.27558 (Git)
Build type: Release
Branch: master
Hash: ce6d9e7573513bcd7e1e2354fa5f3ed73dbb7b96
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Post Reply