Page 1 of 1

error:nmake is not an internal command or an external command

Posted: Thu Feb 08, 2018 6:33 am
by andy wong
hi
When I compiled nmake / f Makefile.Win32 with "xTIME Composer Command Prompt (Community_14.3.2)", it showed "Error: 'nmake' is not an internal command or an external command." This problem caused me to fail to generate the vfctrl_usb file for execution Compile python script.
Can anyone tell how to set up to run nmake instructions?
Operating system: windows 7
software version: Community_14.3.2
thanks~

Re: error:nmake is not an internal command or an external command

Posted: Thu Feb 08, 2018 11:47 am
by robertxmos
Hi Andy,

I'm not clear as to what your intent is, could you explain a bit further.

The xTime tools are shipped with a build system that uses 'xmake' (also shipped), and a set of low level Makefiles.
(xmake is similar to make 3.x but the Makefiles require xmake to be used - it keeps things simpler)

The user then provides a toplevel project Makefile that pulls in the build system's low level makefiles.

You do not have to use the xTime build system, but I would recommend that you did and will assist with any issues.

robert

Re: error:nmake is not an internal command or an external command

Posted: Fri Feb 09, 2018 1:22 am
by andy wong
robertxmos wrote:Hi Andy,

I'm not clear as to what your intent is, could you explain a bit further.

The xTime tools are shipped with a build system that uses 'xmake' (also shipped), and a set of low level Makefiles.
(xmake is similar to make 3.x but the Makefiles require xmake to be used - it keeps things simpler)

The user then provides a toplevel project Makefile that pulls in the build system's low level makefiles.

You do not have to use the xTime build system, but I would recommend that you did and will assist with any issues.

robert
hi robert,thank you!
As shown, I get nmake error when I run nmake / f Makefile.Win32 in xTime composer common-line
Image

Re: error:nmake is not an internal command or an external command

Posted: Fri Feb 09, 2018 9:15 am
by peter
Hi Andy,

This is a host control application that runs on your Windows PC and therefore requires a native compiler to build. You will therefore need to install Visual Studio - which is available for free: https://www.visualstudio.com/vs/visual-studio-express/

After that, you can have the nmake tool and Microsoft compiler by following this guide:
https://msdn.microsoft.com/en-us/library/f35ctcxw.aspx

Re: error:nmake is not an internal command or an external command

Posted: Sat Feb 10, 2018 6:57 am
by andy wong
peter wrote:Hi Andy,

This is a host control application that runs on your Windows PC and therefore requires a native compiler to build. You will therefore need to install Visual Studio - which is available for free: https://www.visualstudio.com/vs/visual-studio-express/

After that, you can have the nmake tool and Microsoft compiler by following this guide:
https://msdn.microsoft.com/en-us/library/f35ctcxw.aspx
peter,
Thanks for your reply,the links are exactly what I was hoping for.
I will work through them.