-
Notifications
You must be signed in to change notification settings - Fork 9
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
Python interpreter does not find compiled libraries #30
Comments
@jpdefrutosSINTEF is this related (https://discourse.slicer.org/t/python-message-failed-to-import-pythonqt-qslicerxxxxmodulewidgets/21575/3?. If so, please make sure that you reply to that post in discourse to add that we are experiencing similar issues (give me a mention in discourse so I have it referenced and can discuss with the developers tomorrow) |
Information needed @olevs, @jpdefrutosSINTEF :
|
I compiled Slicer with the new Python 3.9, and looks like the bug is gone. The extension is loaded without Python complaining at all, as you can see in blank Python terminal of the attached image. Slicer was compiled as a release version, as well as the Slicer-liver extension. I got a lot of issues trying to compile the debug version of Slicer on Windows 10. |
Same for me on macOS Javier. A lot of issues in the super build when trying to build Slicer in Debug mode (stops in ITK). Release mode works ok though. |
Exactly, ITK is the package failing while compiling the debug version... sus |
Could you guys open an issue on the official Slicer repo? I think not having Debug is workable, but you might need it further down the road. |
Quick update: Slicer compiles fine in Debug mode, as well as Slicer-Liver. Though there is an error when creating the resection plane. I will add the information in another issue, to not glut this thread |
@ALive-research/alive-software Should we close this one? |
Describe the bug
When executing Liver.py to build the UI, Python interpreter fails in loading the library qSlicerLiverResectionsModuleWidgetsPythonQt on Windows 10 (Liver.py line 178). The library file it is compiled and exists in the solution directory. Other modules are found and loaded correctly.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
To load the qSlicerLiverResectionsModuleWidgetsPythonQt library an complete the execution of Liver.py
Screenshots
![python_issue](https://user-images.githubusercontent.com/30429725/150779345-e2ca7544-df38-43f5-805d-e6d05ee79d5c.png)
Desktop (please complete the following information):
Additional context
The libraries are compiled as static (.lib) instead of dynamic (.dll)
The text was updated successfully, but these errors were encountered: