工程在VC下编译没有问题,能正常执行。可惜导出.mak文件之后,在命令行执行.mak文件就会报错。
错误信息如下:
C:\Documents and Settings\Administrator>nmake D:\work\Desk\Desk.makMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.No configuration specified. Defaulting to Desk - Win32 Debug.
Warning: cannot find "Desk.dep"
NMAKE : fatal error U1073: don't know how to make '.\Desk.cpp'
Stop.
以前没接触过makefile文件,哪位大牛能指点下。
错误信息如下:
C:\Documents and Settings\Administrator>nmake D:\work\Desk\Desk.makMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.No configuration specified. Defaulting to Desk - Win32 Debug.
Warning: cannot find "Desk.dep"
NMAKE : fatal error U1073: don't know how to make '.\Desk.cpp'
Stop.
以前没接触过makefile文件,哪位大牛能指点下。
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.NMAKE : fatal error U1052: file 'Desk.mak' not found
Stop.按照楼上的方法还是出错
操作系统的Path环境变量增加相应路径即可