zoukankan      html  css  js  c++  java
  • vc6 在英文操作系统下编译带中文路径的vc工程

    我装的操作系统是win2003英文版,装了个英文版的vc6.

    某日在"E:\新工程测试"目录下创建了一个vc工程,但是怎么都不能build, 提示如下:

    Compiling...
    StdAfx.cpp
    e:\疴工踌测牯\test1\stdafx.cpp(0) : fatal error C1033: cannot open program database 'e:\疴工踌测牯\test1\debug\vc60.pdb'
    Error executing cl.exe.

    Test1.exe - 1 error(s), 0 warning(s)

    为什么vc6编译不能识别中文路径啊? 用google搜索了一下,发现vc6的编译程序 cl.exe 会根据控制面板里“区域和语言选项”的设置,用相关的代码页对路径进行解释。

    原先我的设置是:

    [Standards and formats]: English(United Kingdom)
    [Location]: China
    [Language for non-Unicode programs]: Chinese (PRC)

    改成以下设置,问题解决

    [Standards and formats]: Chinese (PRC)
    [Location]: China
    [Language for non-Unicode programs]: Chinese (PRC)

  • 相关阅读:
    迷宫城堡 HDU
    Strategic game POJ
    Warm up HDU
    Network POJ
    Delphi Tstream 流
    Delphi 获得文件大小的五种方法
    Delphi Messagebox 介绍
    delphi idftp
    Delphi 操作Excel
    Delphi 打印对象 Tprinter 常用属性、方法、函数、打印示例
  • 原文地址:https://www.cnblogs.com/finema/p/1651603.html
Copyright © 2011-2022 走看看