Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7222 Discussions

mkl_gmp.h : catastrophic error: could not open source file "cstddef.h"

Derek_Baikie
Beginner
1,290 Views
hi,

Has anyone had similar issuesincluding mkl_gmp.h.
I think there is a buf here, as the include should be against

/* let stddef.h define size_t */
#define __need_size_t
#if defined (__cplusplus)
#include
#else
#include
#endif
#undef __need_size_t

I'm a bit stumped as to whather I can work around this problem and would welcome any advice?

Thanks
Derek
0 Kudos
1 Solution
Gennady_F_Intel
Moderator
1,290 Views
uoting - Derek Baikie
hi,
Has anyone had similar issuesincluding mkl_gmp.h.
I think there is a buf here, as the includeshould be against

/* let stddef.h define size_t */
#define __need_size_t
#if defined (__cplusplus)
#include
#else
#include
#endif
#undef __need_size_t

I'm a bit stumped as to whather I can work around this problem and would welcome any advice?

Thanks
Derek

Derek,

This is the known issue and will be fixed in the future versions.
As a temporarily workaround, you can replace #include by
#include
--Gennady

View solution in original post

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
1,291 Views
uoting - Derek Baikie
hi,
Has anyone had similar issuesincluding mkl_gmp.h.
I think there is a buf here, as the includeshould be against

/* let stddef.h define size_t */
#define __need_size_t
#if defined (__cplusplus)
#include
#else
#include
#endif
#undef __need_size_t

I'm a bit stumped as to whather I can work around this problem and would welcome any advice?

Thanks
Derek

Derek,

This is the known issue and will be fixed in the future versions.
As a temporarily workaround, you can replace #include by
#include
--Gennady

0 Kudos
Reply