- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to build my C program in a mingw64 (msys2) environment using cmake.
I successfully compiled my example code with inkl mkl_malloc() call, but once including vdMul() function I get the following compile error:
Warning: .drectve `-defaultlib:"uuid.lib" ' unrecognized
Warning: corrupt .drectve at end of def file
Warning: .drectve `-defaultlib:"uuid.lib" ' unrecognized
Warning: corrupt .drectve at end of def file
Warning: .drectve `-defaultlib:"uuid.lib" ' unrecognized
Warning: corrupt .drectve at end of def file
C:/Program Files (x86)/IntelSWTools/compilers_and_libraries/windows/mkl/lib/intel64/mkl_intel_ilp64_dll.lib(./_tmp/interface_win32e_ilp64_dll/vml_fb_cpuid_iface.obj):(.text[mkl_vml_serv_cpu_detect]+0xcb): undefined reference to `__security_check_cookie'
My libraries are included in my cmake config:
find_library(MKL_CORE_LIBRARY mkl_core_dll PATHS ${MKL_ROOT_DIR}/lib/${MKL_ARCH_DIR} ${MKL_ROOT_DIR}/lib/)
find_library(MKL_INTEL_ILP64_LIBRARY mkl_intel_ilp64_dll PATHS ${MKL_ROOT_DIR}/lib/${MKL_ARCH_DIR} ${MKL_ROOT_DIR}/lib/)
find_library(MKL_SEQUENTIAL_LIBRARY mkl_sequential_dll PATHS ${MKL_ROOT_DIR}/lib/${MKL_ARCH_DIR} ${MKL_ROOT_DIR}/lib/)
Is there a compatibility problem here or am I doing something wrong?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Martin, What mkl's version you are using? The similar symptoms we were met with another performance library -- IPP. Please have a look at this post - https://software.intel.com/en-us/forums/intel-integrated-performance-primitives/topic/393628.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gennady Fedorov (Intel) wrote:
Martin, What mkl's version you are using? The similar symptoms we were met with another performance library -- IPP. Please have a look at this post - https://software.intel.com/en-us/forums/intel-integrated-performance-pri....
I'm using version 11.3.
I see this post: https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-for-windows-lnk2001-error-unresolved-external-symbol-_security_cookie
It seems to refer to VC++ compilers and .net versions. Could this still be related to my issue when using gcc?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you check whether including the bufferoverflowu.lib may resolve it? It's generally difficult to use MKL with mingw/
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page