FreeCAD Slackwarex64 -Current can't open libTKFillet
I built FreeCAD on my x64 -current box today and am getting the following
Code:
Traceback (most recent call last): I found this http://forum.freecadweb.org/viewtopic.php?t=13646 But looking at the date/time on the packages I see that I built VTK before opencascade so the fix there doesn't seem to be my problem. I didn't post http://www.linuxquestions.org/questi...ls-4175561999/ because the build works fine. Its when I tried to open a file I get the erorr. |
Did you built FreeCAD only or rebuilt every deps as well?
|
I built all the deps. Its a clean install of -current, burned an iso a week or so ago and put a new ssd in and did a fresh install. So there wasn't any old deps, all were built new.
|
So, what is the output of...
Code:
ls -l /usr/lib64/libTKFillet* EDIT: I intend to run FreeCAD on this system when I upgrade to 14.2, so I'm curious about the fix. |
Hmm, not found. I thought it was part of one of the packages I built so where did it go.
Am I right that its part of VTK here it is Code:
root@darkstar:/# ls /opt/OpenCASCADE/lib64/libTKFillet* |
Based on a quick Google search, it seems like it should be a part of OpenCASCADE.
http://www.opencascade.com/doc/occt-..._tkfillet.html |
Yea, I found it under opencascade.
|
I rather suspect, in that case, that either the cmake build for FreeCAD needs to be told where to find it or you can edit /etc/ld.so.conf to have it available at run time.
FWIW, I think that editing /etc/ld.so.conf would be the wrong thing to do. |
Hi enine, thanks for the very useful report, I can reproduce it easily here, sorry for the cockup :(
I recognise the essential truth of what Mr Cranium says about /etc/ld.so.conf, but adding /opt/OpenCASCADE/lib64 may be a relatively clean solution, since FreeCAD does not use a wrapper script. Alternatively, I could write a trivial wrapper script. Yeah, ok, I'll write a wrapper script. Edit: wrote a wrapper script. Quick and dirty, you can remove the symlink /usr/bin/FreeCAD, and put this script at that location, and make it executable: Code:
#!/bin/sh |
Thanks, 55020. This is why I made the Open Source switch years ago. I still have tickets with Microsoft for bugs I reported in server 2003
Only minor issue, if I just run FreeCAD it errors, I have to specify /usr/bin/FreeCAD to run your wrapper. Apparently FreeCAD is elsewhere in the path getting found first. Off to try printing my son a Google Cardboard |
Try to see here if it cankarjeva help https://github.com/saxa/slackbuilds/...uild-order.txt
But i think you have to configure correctly opencascade. |
I just ran into this after updating OpenCASCADE. After rebuilding FreeCAD, the issue went away.
|
Could it be possible to have the FEM module working?
I think it needs some other packages like netgen and/or GMSH and calculix? |
Quote:
https://www.freecadweb.org/wiki/FEM_Install |
All times are GMT -5. The time now is 07:13 AM. |