[M3devel] Impossible to compile to recent Windows versions
dirk muysers
dmuysers at hotmail.com
Sat May 25 16:49:52 CEST 2019
My configuration:
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 21 Model 16 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=21
PROCESSOR_REVISION=1001
running Windows 7 Pro
I am using M3 release "cm3-min-x86-d5.10.0-VC2015-20160102"
After struggling a lot I removed Visual Studio 10 (which I never use as such) and installed Microsoft Build Tools 2019
I then edited "NT.common" in bin/config:
-----
Msdev = SystemDrive & "\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools"
VCInstallDir = Msdev & "\\VC\\Tools\\MSVC\\14.21.27702"
DevEnvDir = Msdev & "\\Common7\\\IDE"
end end end end
if VCInstallDir
VCBin = VCInstallDir & "\\bin\\Hostx64\\x86"
VCLib = VCInstallDir & "\\lib"
VCInc = VCInstallDir & "\\include"
end
-----
and I still get:
Microsoft (R) Incremental Linker Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
-out:Maketables.exe
-subsystem:console
-entry:mainCRTStartup
-nodefaultlib
-debug
-incremental:no
-opt:ref
-delayload:ws2_32.dll
-delayload:advapi32.dll
-delayload:gdi32.dll
-delayload:netapi32.dll
-delayload:user32.dll
-delayload:comctl32.dll
-delayload:rpcrt4.dll
-delayload:iphlpapid.dll
delayimp.lib
_m3main.obj
Main.mo
Common.io
Common.mo
Loader.io
Loader.mo
Editor.io
Editor.mo
Printer.io
Printer.mo
C:\Users\Public\programs\cm3\pkg\libm3\NT386\m3.lib.sa
C:\Users\Public\programs\cm3\pkg\m3core\NT386\m3core.lib.sa
iphlpapi.lib
rpcrt4.lib
winspool.lib
comctl32.lib
ws2_32.lib
comdlg32.lib
netapi32.lib
gdi32.lib
user32.lib
advapi32.lib
kernel32.lib
msvcrt.lib
Main.mo : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
After trying everything, worming my way through the configuration labyrinth, I am at the end of my wits.
If anybody has an idea...
Otherwise I can't use M3 anymore.
Am I the only one using Windows?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20190525/d6b67cb9/attachment.html>
More information about the M3devel
mailing list