Visual studio 17 lnk1112 error module machine type 'arm' conflicts with target machine type 'x64'10/3/2023 I have added the /MT (to stop dependency on libc.lib which is not installed with VS 2005 or 2008 but did come with 2003) & /architecture options. Most of the compiler switches were already provided with the source. Ifort /dll /Qsave /exe:DLLName.dll /architecture:SSE3 /libs:static /MT /map: DLLName.map %LINK_F90_STATIC% one_of_several_source_code.F. I have all the required SKDs & Visual Studio 8 installed. I cannot find an equivalent option to the /MACHINE switch. However when I use the 64 bit application cmd prompt I get the above error. I am using a 64 bit Vista machine and I can build the Fortran source to a 32 bit DLL without any problem using the Intel Fortran Build for IA-32 Applications cmd prompt. We use several third party DLLs and have obtained the source code for several of these. Firstly the module & target machine types are different, but more importantly I am not using Visual Studio, so cannot apply the fixes suggested in the other thread ()ĭetail: I am trying to port our application to support 64 bit. ![]() This is the same error code as another thread on this forum but differs in a couple of ways. I get this error (fatal error LNK1112: module machine type 'IA64' conflicts with target machine type '圆4') when trying to create a DLL from Fortran source. All I need to do is tell the compiler/linker that my machine is 圆4/amd64 & not IA64 but how?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |