gpt4 book ai didi

c++ - 什么是 *.o 文件?

转载 作者:IT老高 更新时间:2023-10-28 13:58:16 29 4
gpt4 key购买 nike

我正在编译自己的项目。它因这个错误而停止:

LINK||fatal error LNK1181: cannot open input file 'obj\win\release\src\lua\bindings.o'|

在win7下使用VS 2005/2008编译器使用Code::Blocks编译。还有很多其他空目录缺少 *.o 文件。

他们是做什么的?

最佳答案

以.o 结尾的文件是目标文件。编译器为每个源文件创建一个目标文件,然后将它们链接到最终的可执行文件中。

关于c++ - 什么是 *.o 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2186246/

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