- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MKL developers,
I got an error building a custom library on windows 7 64bit.
Here's the script and error message I got. What's wrong with it and how can I make one?
===
C:\Program Files\Intel\MKL\10.2.3.029\tools\builder>nmake em64t interface=cdecl
manifest=embed name=mkl_win64 export=all_cdecl_list buf_lib=
...
Microsoft Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
link /DLL /MANIFEST /MACHINE:AMD64 /NODEFAULTLIB /def:user_def_file.def
.\temp_cdll\*.obj mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libio
mp5md.lib msvcrt.lib kernel32.lib user32.lib /out:"mkl_win64".dll
Microsoft Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
Creating library mkl_win64.lib and object mkl_win64.exp
msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'X86' conflict
s with target machine type 'x64'
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x458'
Stop.
Cheers,
Jianshi
I got an error building a custom library on windows 7 64bit.
Here's the script and error message I got. What's wrong with it and how can I make one?
===
C:\Program Files\Intel\MKL\10.2.3.029\tools\builder>nmake em64t interface=cdecl
manifest=embed name=mkl_win64 export=all_cdecl_list buf_lib=
...
Microsoft Library Manager Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
link /DLL /MANIFEST /MACHINE:AMD64 /NODEFAULTLIB /def:user_def_file.def
.\temp_cdll\*.obj mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libio
mp5md.lib msvcrt.lib kernel32.lib user32.lib /out:"mkl_win64".dll
Microsoft Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
Creating library mkl_win64.lib and object mkl_win64.exp
msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'X86' conflict
s with target machine type 'x64'
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x458'
Stop.
Cheers,
Jianshi
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello huangjs!
it looks like you are trying to build win64 libraries in win32 environment.
Could you provide values of your LIB and PATH environment variables (echo %PATH% %LIB%)?
Is your host operation system win64?
Andrey
it looks like you are trying to build win64 libraries in win32 environment.
Could you provide values of your LIB and PATH environment variables (echo %PATH% %LIB%)?
Is your host operation system win64?
Andrey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm building it on a win64 machine (windows 7).
The problem is the build environment (VS2008 Express) was set to x86 target by default and it seems there's no way to change it to amd64 due to missing batch file.
Since it's not a MKL problem anymore I'll ask at MS forums.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - huangjs
I'm building it on a win64 machine (windows 7).
The problem is the build environment (VS2008 Express) was set to x86 target by default and it seems there's no way to change it to amd64 due to missing batch file.
Since it's not a MKL problem anymore I'll ask at MS forums.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
That's true, VS2008 Express doesn't support X64.
Hello,
I have a small comment to tim18's words. X64 support can be added to Microsoft Visual Studio 2008 Express by installing Windows SDK. Please see this webpage. Microsoft Windows 7 SDK can be downloaded from here. Also this information may be helpful.
Thanks,
Art

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page