Git Product home page Git Product logo

Comments (12)

wassimj avatar wassimj commented on August 29, 2024 1

If it continues to give the same error, I think I know why. The following link seems wrong:
/home/arun/.config/blender/3.2/scripts/addons/topologicsverchok/site-packages/topologic/./libTopologicCore.so.0
There shouldn't be a /./ between topologic and libTopologicCore.so.0

from topologicsverchok.

wassimj avatar wassimj commented on August 29, 2024

Thank you for flagging this. I will look at the build tool chain soon and fix it

from topologicsverchok.

wassimj avatar wassimj commented on August 29, 2024

@sanzoghenzo I have updated the linux release. Please test and let me know if this is now resolved. Thank you for spotting it.

from topologicsverchok.

sanzoghenzo avatar sanzoghenzo commented on August 29, 2024

Hi, thanks for the quick update!

Unfortunately, it still doesn't work for me, but I realized it's not your fault.
the files at the left are from your zip file, those at the right are in the blender addon folder.

image

I suppose blender's add-on installer doesn't like symlinks...

after fixing the symlinks it still complains about missing libTKernel.so.7, and indeed there's no such file:

image

from topologicsverchok.

wassimj avatar wassimj commented on August 29, 2024

Oh that is disappointing. OK, I have removed all the symlinks and uploaded a new -B release in the same place. It works perfectly well on my Ubuntu Groovy Gorilla Linux. So, not sure what the problem is. There shouldn't be a libTKernel.so.7 It should either be 7.7 or 7.7.0. In any case, I removed all the .7.7 and .7.7.0 files and left only .so files and it seems to be working fine. Thank you for your patience. I hope it works, but if not, please reply here and I will try to debug some more.

from topologicsverchok.

wassimj avatar wassimj commented on August 29, 2024

Found out I still had a glitch finding the libTopologicCore.so.0 file. I fixed that (hopefully) with the patchelf command. I uploaded a "-C" version to the release. Hopefully that solves it. Please let me know.

from topologicsverchok.

sanzoghenzo avatar sanzoghenzo commented on August 29, 2024

Just tried the "-D" version, the libTopologicCore problem is gone, but unfortunately I still have the libTKernel.so.7 problem.
Not only that, I tried to make a symlink of that file and repeat for every file it told me... here's the list:

ln -s libTKernel.so libTKernel.so.7
ln -s libTKMath.so libTKMath.so.7
ln -s libTKOffset.so libTKOffset.so.7
ln -s libTKPrim.so libTKPrim.so.7
ln -s libTKMesh.so libTKMesh.so.7
ln -s libTKBO.so libTKBO.so.7
ln -s libTKShHealing.so libTKShHealing.so.7
ln -s libTKG3d.so libTKG3d.so.7
ln -s libTKG2d.so libTKG2d.so.7
ln -s libTKGeomBase.so libTKGeomBase.so.7
ln -s libTKGeomAlgo.so libTKGeomAlgo.so.7
ln -s libTKTopAlgo.so libTKTopAlgo.so.7
ln -s libTKFillet.so libTKFillet.so.7.7
ln -s libTKBool.so libTKBool.so.7.7
ln -s libTKBRep.so libTKBRep.so.7.7

At this point I got another error:

Traceback (most recent call last):
  File "/usr/share/blender/3.1/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/sanzo/.config/blender/3.1/scripts/addons/topologicsverchok/__init__.py", line 56, in <module>
    import topologic
ImportError: /home/sanzo/.config/blender/3.1/scripts/addons/topologicsverchok/site-packages/topologic/./libTopologicCore.so.0: undefined symbol: _ZN24BRepBuilderAPI_MakeShape5BuildEv

I have no idea of what's going on here!

from topologicsverchok.

wassimj avatar wassimj commented on August 29, 2024

This beyond my ability. All I can suggest is to see if you have a conflicting installation of OCCT. Perhaps from FreeCAD or another topologic installation as a pure python module? On my Linux installation I have nothing OCCT related in /usr/local/lib and it works.

from topologicsverchok.

Sinasta avatar Sinasta commented on August 29, 2024

I had a similar issue and it was caused by the interaction with another Blender addon called Vi-suite which hat netgen and by this some opencascade libraries bundled. I would try deactivating all Blender Addons and cleaning all opencascade installs in the python directory

from topologicsverchok.

arunkvijay avatar arunkvijay commented on August 29, 2024

Traceback (most recent call last): File "/home/arun/Apps/blender-3.2.1-linux-x64/3.2/scripts/modules/addon_utils.py", line 335, in enable mod = __import__(module_name) File "/home/arun/.config/blender/3.2/scripts/addons/topologicsverchok/__init__.py", line 56, in <module> import topologic ImportError: /home/arun/.config/blender/3.2/scripts/addons/topologicsverchok/site-packages/topologic/./libTopologicCore.so.0: file too short

I have the same issue with the latest version [v.0.8.1.10]. I have removed Freecad installation

from topologicsverchok.

wassimj avatar wassimj commented on August 29, 2024

I have updated the release. Can you please delete your version and re-download and let me know? Thanks

from topologicsverchok.

arunkvijay avatar arunkvijay commented on August 29, 2024

This is resolved now. Thank you

from topologicsverchok.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.