H14 compiling, x86_amd64 error

   3685   3   2
User Avatar
Member
83 posts
Joined: July 2005
Offline
having a problem.

I set the MSVCDir env var:

set MSVCDir=“C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC”

and I get the following error:

Failed to run C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64\cl with error 2: The system cannot find the file specified.


the directory “…\VC\bin\amd64” does not exist. Instead, I have “…\VC\bin\x86_amd64”
this is likely the problem. What might be the solution?
User Avatar
Member
7773 posts
Joined: July 2005
Offline
“x86_amd64” is the 32-bit cross-compiler that creates 64-bit executables using a 32-bit compiler process. I'm guessing that you're missing the actual 64-bit, 64-bit compiler because you're running the Express version of Visual Studio. Someone claimed to have previously made it work using the HDK:

http://forums.odforce.net/topic/20731-path-deform-hdk-plugin/?p=124370 [forums.odforce.net]
Edited by - Feb. 11, 2015 22:44:43
User Avatar
Member
83 posts
Joined: July 2005
Offline
ok, that's the problem. Somehow, on my 64-bit machine, I have installed a 32-bit compiler.
User Avatar
Member
47 posts
Joined: Jan. 2014
Offline
I got this to work by copying
CProgram Files (x86)/Microsoft Visual Studio 11.0/VC/bin/x86_amd64
to
CProgram Files (x86)/Microsoft Visual Studio 11.0/VC/bin/amd64

Then in hcmd, running:
“C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat” x86_amd64

then hcustom worked for me using the cross compiler on 64-bit windows.

It's a shame that the only freely available compiler for vc11 doesn't ship with a 64 bit compiler.
  • Quick Links