when i run the example
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
can u help me?i dont know what's the problem,thanks a lot
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 am not able to reproduce this problem. Could you please provide additional information on your build system and building steps.
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?
I’ll close this issue due to inactivity. If you still encounter the problem, feel free to reopen it.