You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to build c-blosc following the installation guide and I've got some errors.
Note that I'm building it on windows, so I'm using minGW and MSYS.
My error occures at:
cmake --build .
and I've got this output:
[ 1%] Building C object blosc/CMakeFiles/blosc_shared.dir/blosc.c.obj
In file included from path-to-cblosc\c-blosc-main\blosc\blosc.c:61:0:
path-to-cblosc\c-blosc-main\blosc\win32/pthread.h:97:9: error: unknown type name 'INIT_ONCE'
typedef INIT_ONCE pthread_once_t;
^~~~~~~~~
path-to-cblosc\c-blosc-main\blosc\win32/pthread.h: In function 'blosc_internal_pthread_once':
path-to-cblosc\c-blosc-main\blosc\win32/pthread.h:103:3: warning: implicit declaration of function 'InitOnceBeginInitialize' [-Wimplicit-function-declaration]
InitOnceBeginInitialize(once_control, /*dwFlags=*/0, /*fPending=*/&pending,
^~~~~~~~~~~~~~~~~~~~~~~
path-to-cblosc\c-blosc-main\blosc\win32/pthread.h:107:5: warning: implicit declaration of function 'InitOnceComplete' [-Wimplicit-function-declaration]
InitOnceComplete(once_control, /*dwFlags=*/0, /*lpContext=*/NULL);
^~~~~~~~~~~~~~~~
path-to-cblosc\c-blosc-main\blosc\blosc.c: In function 'my_malloc':
path-to-cblosc\c-blosc-main\blosc\blosc.c:214:19: warning: implicit declaration of function '_aligned_malloc' [-Wimplicit-function-declaration]
block = (void *)_aligned_malloc(size, 32);
^~~~~~~~~~~~~~~
path-to-cblosc\c-blosc-main\blosc\blosc.c: In function 'my_free':
path-to-cblosc\c-blosc-main\blosc\blosc.c:235:5: warning: implicit declaration of function '_aligned_free' [-Wimplicit-function-declaration]
_aligned_free(block);
^~~~~~~~~~~~~
At top level:
path-to-cblosc\c-blosc-main\blosc\blosc.c:149:16: warning: 'g_atfork_registered' defined but not used [-Wunused-variable]
static int32_t g_atfork_registered = 0;
^~~~~~~~~~~~~~~~~~~
mingw32-make[2]: *** [blosc\CMakeFiles\blosc_shared.dir\build.make:76: blosc/CMakeFiles/blosc_shared.dir/blosc.c.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:218: blosc/CMakeFiles/blosc_shared.dir/all] Error 2
mingw32-make: *** [Makefile:165: all] Error 2
Have you any clue to solve this ?
Here is my gcc version:
gcc.exe (Rev6, Built by MSYS2 project) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
My cmake version:
cmake version 3.27.0-rc4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
The text was updated successfully, but these errors were encountered:
Hi there !
I was trying to build c-blosc following the installation guide and I've got some errors.
Note that I'm building it on windows, so I'm using minGW and MSYS.
My error occures at:
and I've got this output:
Have you any clue to solve this ?
Here is my gcc version:
My cmake version:
The text was updated successfully, but these errors were encountered: