Skip to content

win GHA runner failing #76

@Artur-man

Description

@Artur-man

I get the following error building in windows:
https://github.com/Artur-man/ITKR/actions/runs/21477502152/job/61865100103

C:\Users\runneradmin\AppData\Local\Temp\Rtmp6FJg3S\R.INSTALL2188552d2b27\ITKR\src\itks\Modules\ThirdParty\GDCM\src\gdcm\Utilities\gdcmext\mec_mr3_io.c
C:\Users\runneradmin\AppData\Local\Temp\Rtmp6FJg3S\R.INSTALL2188552d2b27\ITKR\src\itks\Modules\ThirdParty\GDCM\src\gdcm\Utilities\gdcmext\mec_mr3_io.c: In function 'aligned_alloc_impl':
C:\Users\runneradmin\AppData\Local\Temp\Rtmp6FJg3S\R.INSTALL2188552d2b27\ITKR\src\itks\Modules\ThirdParty\GDCM\src\gdcm\Utilities\gdcmext\mec_mr3_io.c:146:15: error: implicit declaration of function 'posix_memalign' [-Wimplicit-function-declaration]
  146 |   int error = posix_memalign(&allocPtr, alignment, size);
      |               ^~~~~~~~~~~~~~
mingw32-make[3]: *** [Modules\ThirdParty\GDCM\src\gdcm\Source\MediaStorageAndFileFormat\CMakeFiles\gdcmMSFF.dir\build.make:1627: Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/__/__/Utilities/gdcmext/mec_mr3_io.c.obj] Error 1

the same error (naturally) occurs in SimpleITK build as well.
SimpleITK/SimpleITKRInstaller#78

Would appreciate if anyone has a quick fix :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions