Skip to content
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

unterminated string constant when compiling ITK 5.1.1 #2026

Closed
mboisson opened this issue Oct 1, 2020 · 5 comments
Closed

unterminated string constant when compiling ITK 5.1.1 #2026

mboisson opened this issue Oct 1, 2020 · 5 comments
Labels
type:Compiler Compiler support or related warnings

Comments

@mboisson
Copy link

mboisson commented Oct 1, 2020

Description

I am trying to compile ITK 5.1.1 from source. I have VTK 8.2.0 installed as a dependency. I get the following error when compiling :

13687 /tmp/mboisson/avx2/ITK/5.1.1/GCC-9.3.0/easybuild_obj/Wrapping/Typedefs/VtkGlue.i:97: Error: Unterminated string constant
13688 /tmp/mboisson/avx2/ITK/5.1.1/GCC-9.3.0/easybuild_obj/Wrapping/Typedefs/VtkGlue.i:50: Error: Missing #endif for conditional starting here
13689 make[2]: *** [Wrapping/Modules/ITKVtkGlue/CMakeFiles/ITKVtkGluePython.dir/build.make:166: Wrapping/Modules/ITKVtkGlue/itkImageToVTKImageFilterPython.cpp] Error 1
13690 make[2]: Leaving directory '/tmp/mboisson/avx2/ITK/5.1.1/GCC-9.3.0/easybuild_obj'
13691 make[1]: *** [CMakeFiles/Makefile2:33039: Wrapping/Modules/ITKVtkGlue/CMakeFiles/ITKVtkGluePython.dir/all] Error 2

Reproducibility

100% of the time

Versions

ITK 5.1.1, downloaded from the release section on Github

@mboisson mboisson added the type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances label Oct 1, 2020
@mboisson
Copy link
Author

mboisson commented Oct 1, 2020

I think I figured out the reason. I think cmake was not picking up the "right" python.

@mboisson mboisson closed this as completed Oct 1, 2020
@mboisson mboisson reopened this Oct 1, 2020
@mboisson
Copy link
Author

mboisson commented Oct 1, 2020

Well, no... that was not it. I still encounter the issue.

@mboisson
Copy link
Author

mboisson commented Oct 1, 2020

Note that ITK 5.0.1 compiles just fine on the same system.

@dzenanz dzenanz added type:Compiler Compiler support or related warnings and removed type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances labels Oct 1, 2020
@dzenanz
Copy link
Member

dzenanz commented Oct 1, 2020

@thewtex is VTKGlue supposed to work with wrapping?

@thewtex
Copy link
Member

thewtex commented Jan 29, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Compiler Compiler support or related warnings
Projects
None yet
Development

No branches or pull requests

3 participants