Trying to compile a file using nmake, keep getting an error

  • Thread starter Michael Berlin1
  • Start date
M

Michael Berlin1

LIBCMT.lib(chkstk.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'is the error in questionhere's the command line and flags:CC = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\SDK\ScopeCppSDK\vc15\VC\bin\CL.exe"CFLAGS = -D_WIN32 -DDEBUG /c /nologo /GR /GX /W3 /Gy /MT /ZiI'm trying to compile it for x86. I've also tried using vssalsx86.bat to change the environment, but that doesn't work. Neither does using the x86 native tools compiler command line.Any ideas?

Continue reading...
 
Back
Top Bottom