Skip to content

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

Closed

Description

@seanm

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.

Activity

  1. added
    type:Bug
    on Jan 24, 2025
  2. dzenanz commented on Jan 24, 2025

    @dzenanz
    Member

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

  3. hjmjohnson commented on Apr 28, 2026

    @hjmjohnson
    Member

    Subsumed by the master remote-module tracking issue: #6160. Per-module disposition, ingest queue, archival follow-ups, and discoverability work all live there now.

  4. hjmjohnson commented on Apr 28, 2026

    @hjmjohnson
    Member

    Elevated to top of Wave-1 ingest priority in #6160 — the MeshNoise compile error is the only OPEN user-filed issue against any Wave-1 module, so this is the first ingest in the queue. The compile failure will resolve as a side effect of moving the module in-tree (the deprecated API in itkAdditiveGaussianNoiseMeshFilterTest.cxx will be fixed in the same ingest cleanup pass).

  5. hjmjohnson commented on Apr 28, 2026

    @hjmjohnson
    Member

    Closing fix in flight: #6161 ingests ITKMeshNoise into Modules/Filtering/MeshNoise/ and replaces TSphere::VectorType(SPHERE_SCALE) with the .Fill(static_cast<float>(SPHERE_SCALE)) pattern. Verified locally — itkAdditiveGaussianNoiseMeshFilterTest.cxx now compiles cleanly. Will close this issue automatically when #6161 merges.

  6. added 2 commits that reference this issue on Apr 29, 2026
    5d95c9b
    212c707
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions