【问题标题】:How to clean the obj and lib files generated by nmake如何清理nmake生成的obj和lib文件
【发布时间】:2013-08-09 14:51:03
【问题描述】:

我在 VS 2012 控制台中使用 nmake 来编译 GDAL,我想知道哪个命令可以帮助我删除上次由 nmake 命令生成的所有文件。

c:\gdal>nmake clean

Microsoft (R) Program Maintenance Utility Version 11.00.60610.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'clean'
Stop.

【问题讨论】:

    标签: nmake


    【解决方案1】:

    我知道了,在查看了 makefile.vc 之后,里面有一个干净的目标。 只需执行以下命令:

    nmake /f makefile.vc clean
    

    【讨论】:

    • NMAKE:致命错误 U1052:找不到文件“makefile.vc”。停下来。
    • 可能你有“Makefile”,所以在命令中将 makefile.vc 更改为 Makefile,它应该会运行。
    猜你喜欢
    • 2015-08-06
    • 2014-05-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-11-08
    • 1970-01-01
    • 1970-01-01
    • 2015-01-30
    相关资源
    最近更新 更多