-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels