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

Voice related projects and technical discussions
Post Reply
andy wong
Member
Posts: 12
Joined: Tue Jan 02, 2018 12:04 pm

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

Post 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~


robertxmos
XCore Addict
Posts: 169
Joined: Fri Oct 23, 2015 10:23 am

Post 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
andy wong
Member
Posts: 12
Joined: Tue Jan 02, 2018 12:04 pm

Post 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
peter
XCore Addict
Posts: 230
Joined: Wed Mar 10, 2010 12:46 pm

Post 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
andy wong
Member
Posts: 12
Joined: Tue Jan 02, 2018 12:04 pm

Post 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.
Post Reply