-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i run the example #67
Comments
It appears there might be a linking issue with your VTK build. Could you please clarify whether you are using your own custom-built VTK, or if you're relying on the VTK build through buildDependencies while setting up ViennaPS? |
i am relying on the VTK build through buildDependencies while setting up ViennaPS.when i rebuild ,it shows"Built target buildDependencies" |
I've successfully reproduced this issue with a fresh build and utilizing a custom VTK build. It appears that the problem stems from the VTK libraries not being correctly included in the runtime path. Unfortunately, I don't have an immediate solution for this at the moment. However, it's worth noting that we're currently in the process of a major overhaul of the CMake setup, which we anticipate will likely address this problem. In the meantime, if you're able to utilize a system-wide installation of VTK, such as through a package manager like sudo apt install vtk9 on a Linux-based system, you should be able to run the Python bindings within the current setup. |
With the latest CMake overhaul this should now work. Could you please update and test again? |
he@he-virtual-machine:~/ViennaPS/build/ViennaPS/examples/holeEtching$ python3 holeEtching.py config.txt
Running 2D simulation.
Traceback (most recent call last):
File "/home/he/ViennaPS/build/ViennaPS/examples/holeEtching/holeEtching.py", line 12, in
import viennaps2d as vps
File "/home/he/.local/lib/python3.10/site-packages/viennaps2d/init.py", line 11, in
from ._viennaps2d import *
ImportError: libvtkIOXMLParser.so.1: cannot open shared object file: No such file or directory
can u help me?i dont know what's the problem,thanks a lot
The text was updated successfully, but these errors were encountered: