-
Notifications
You must be signed in to change notification settings - Fork 520
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
3d slicer 5.6.1 vtk complie error #7637
Comments
@lassoan Do you know how to solve this? thank you. |
Few questions:
|
Unless the problem has been problem clearly identified1, I suggest you post the question at https://discourse.slicer.org/ Once you have done so, considering commenting here with a link to the post so that we can close this issue 🙏 Footnotes |
I followed the steps below to compile: I didn't modify any files, but after compiling I found that a py file was modified: |
I tried vs2022 again today, and the following error also occurred:
|
The following are the projects that failed to compile (they are all related to vtk python wrapper), and the others passed the compilation: |
Try a very short build path, like |
Now build path is |
Thanks for your patience with this. As hinted by @pieper, consider trying a very short path. Using |
Throughout your experiments, after opening the solution file of a specific project (e.g Assuming that after opening The expected output should be similar to the following:
|
Let's now check if the issue has been addressed in the latest version of VTK. Since the version of VTK built as part of Slicer is not the latest, this will help us understand if the root problem has already been fixed. To move forward consider building VTK by cloning it from git, see https://docs.vtk.org/en/latest/build_instructions/build.html |
Another piece of information: I can compile and run and debug on another computer, but the same steps don't work on this computer. |
I compiled 3D slicer (5.6.1), but vtk failed to compile successfully (vs2019, Qt5.15.2). It seems to be python related, and one of them reported an error:
The text was updated successfully, but these errors were encountered: