gpt4 book ai didi

compiler-errors - g++构建输出垃圾

转载 作者:行者123 更新时间:2023-12-02 10:54:56 29 4
gpt4 key购买 nike

将make用于C++项目时,编译器将输出以下错误和警告:

../include/Position.h:63:11: error: ?.nterprocess?.in namespace ?.oost?.does not name a type
../include/Position.h:65:11: error: ?.nterprocess?.in namespace ?.oost?.does not name a type
../include/Position.h:67:11: error: ?.nterprocess?.in namespace ?.oost?.does not name a type
../include/Position.h:72:78: error: ?.hmManager?.has not been declared
../include/Position.h:89:3: error: ?.ositionMap?.does not name a type
../include/Position.h:101:3: error: ?.MemAllocator?.does not name a type
../include/Position.h:102:3: error: ?.ositionMap?.does not name a type
../include/Position.h:103:3: error: ?.ositionMap?.does not name a type

这是怎么回事?如何再次获得此输出?

最佳答案

问题可能出在您的终端仿真器上-您是否使用SSH?

由于PuTTY中的字符集翻译,我经常看到这种情况。它默认为“Latin-1,West Europe”,但服务器似乎正在使用UTF-8。更改此设置似乎可以解决我的问题。

您的编译器可能是输出非ASCII字符的唯一内容,因此这是识别此问题的最常见位置。

关于compiler-errors - g++构建输出垃圾,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20371274/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com