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

Error in building custom DLL

Kai_S_
Beginner
237 Views
I am trying to build a custom DLL in WinXP 32-bit using "nmake" comes with Visual Studio 2005. But I got the following error. Does anybody know what is going on? Thanks!

C:LibsIntelMKL10.0.1.015 oolsuilder>nmake ia32 interface=stdcall

Microsoft Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

if exist . emp_cdll rd /q /s . emp_cdll
NMAKE : fatal error U1077: '"C:Program FilesMicrosoft Visual Studio 8VCinlib.EXE"' : return code '0xc0000135' Stop.
0 Kudos
1 Reply
Vladimir_Lunev
New Contributor I
237 Views

To build DLL with stdcall interface you need to use special input file. See for example the file blas_stdcall_list in the directory toolsuilder. By the default the file functions_list is used.

Create the file my_stdall_list which contains such lines:
_DGEMM@60
_DDOT@20
and then use the command
>nmake ia32 interface=stdcall export=my_stdall_list

-Vladimir

0 Kudos
Reply