WxWidgets 编译帮助
我尝试编译WxWidgets(Latest;VC9;Release),但它只输出*.obj和*.pch文件,没有*.lib文件。我知道 *.obj 文件是对象文件,而 *.pch 文件是预编译头文件,但是我是否从 C++ 引用它们,或者是否必须以某种方式将它们转换为 *.lib 文件。
顺便说一句,我从未使用过 *.pch 并且对它们一点也不熟悉。我现在才使用 C++ 几个月......
I tried to compile WxWidgets (Latest; VC9; Release), but it outputted only *.obj and *.pch files, no *.lib files. I know *.obj files are Object Files and *.pch files are Pre-Compiled Headers, but do I reference them from C++ or do I somehow have to convert them into *.lib files.
Btw, I've never used *.pch and am not at all familiar with them. I've only been using C++ for a few months now...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
作为静态库,.lib 只是 .obj 文件的集合。您可以通过在 Visual Studio 中选择“静态库”作为项目类型来获得该信息。
As a static library, a .lib is just a collection of .obj files. You can get that by selecting "Static Library" as the project type in Visual Studio.