Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 830
    • Issues 830
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 234
    • Merge requests 234
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Issues
  • #18312
Closed
Open
Issue created Sep 17, 2021 by stefan-gavranovic@stefan-gavranovic

Error building VTK 9.0.3 with Intel(R) C++ Compiler 2021.1

Building VTK 9.0.3 with Intel icx compiler, I get compile error for following constexpr:

constexpr static std::array<vtkFFT::WindowGenerator, vtkTableFFT::MAX_WINDOWING_FUNCTION> WindowingFunctionsList =
{
  vtkFFT::HanningGenerator,
  vtkFFT::BartlettGenerator,
  vtkFFT::SineGenerator,
  vtkFFT::BlackmanGenerator,
  vtkFFT::RectangularGenerator
};
"D:\VTK\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\VTK\build\Domains\Chemistry\DomainsChemistry.vcxproj" (default target) (86) ->
"D:\VTK\build\Filters\General\FiltersGeneral.vcxproj" (default target) (88) ->
(ClCompile target) ->
  D:\VTK\VTK\Filters\General\vtkTableFFT.cxx(58,91): : error : constexpr variable 'WindowingFunctionsList' must be initialized by a constant expression [D:\VTK\build\Filters\General\FiltersGe neral.vcxproj]

    0 Warning(s)
    1 Error(s)
Edited Sep 20, 2021 by Ben Boeckel
Assignee
Assign to
Time tracking