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

Compile error in MeshNoise/test/itkAdditiveGaussianNoiseMeshFilterTest.cxx:56 #5174

Open
seanm opened this issue Jan 24, 2025 · 1 comment
Open
Labels
type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances

Comments

@seanm
Copy link
Contributor

seanm commented Jan 24, 2025

I've been playing with building ITK with different build settings enabled/disabled, and a few times I've hit this error:

/Users/sean/external/ITK/Modules/Remote/MeshNoise/test/itkAdditiveGaussianNoiseMeshFilterTest.cxx:56:20: error: no viable conversion from 'const double' to 'VectorType' (aka 'Vector<float, 3U>')
   56 |   sphere->SetScale(SPHERE_SCALE);
      |                    ^~~~~~~~~~~~

I'm not even sure which thing I turned on that made this code build. I understand that MeshNoise is a remote module, but for the life of me I don't see any Module_MeshNoise to turn OFF.

@seanm seanm added the type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances label Jan 24, 2025
@dzenanz
Copy link
Member

dzenanz commented Jan 24, 2025

If some enabled module depends on MeshNoise, then the option for it is hidden the module is turned on (I think).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Projects
None yet
Development

No branches or pull requests

2 participants