有没有人已经完成了使用 VS2008 构建 STLPort 和/或使用 VS2005 构建 x64 的工作?

发布于 2024-07-05 13:57:18 字数 134 浏览 8 评论 0原文

目前,VS2008 在 5.1.5 版本或 STLPort CVS 存储库中似乎仍然不受支持。 如果有人已经完成了这项工作,那么如果可能的话,分享会很有用:)

同样,了解 VS2005 或 2008 x64 构建所需的更改也会很有用。

At present it seems that VS2008 still isn't supported either in the 5.1.5 release or in the STLPort CVS repository. If someone has already done this work then it would be useful to share, if possible :)

Likewise it would be useful to know about the changes required for a VS2005 or 2008 x64 build.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

和影子一齐双人舞 2024-07-12 13:57:18

事实证明,x64 支持虽然没有明确说明,但确实有效。 如果您通过运行 \Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat 将环境设置为使用 x64 工具,则为您的编译器运行 configure.bat 并正常构建,您最终会得到适当的库和 dll。

不幸的是,x64 库的构建名称与 x86 库的名称相同,因此不可能“并排”安装 STLPort 以允许您使用 x86 或 x64 进行构建。

编辑:我已经在我的博客上写下了提供并行 x64 和 x86 支持以及打包 vs2008 构建所需的更改所需的操作。 请参阅此处:http://www .lenholgate.com/blog/2008/10/stlport-515-and-vs2008-and-x64.html

对于其他版本的 Visual Studio,请参阅此处:
http://www.lenholgate。 com/blog/2005/12/stlport-50-and-multiple-vc-versions.html,此处:http://www.lenholgate.com/blog/2007/05/stlport-513-and-multiple-vc-versions.html< /a> 和此处:http: //www.lenholgate.com/blog/2010/07/stlport-521-and-vs2010-and-x64.html

It turns out that x64 support, whilst not explicitly stated, just works. If you set your environment up to use the x64 tools by running \Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat then run configure.bat for your compiler and build as normal you end up with appropriate libs and dlls.

Unfortunately the x64 libs build to the same names as the x86 libs so it's not possible to have a 'side by side' installation of STLPort to allow you to build with either x86 or x64.

Edit: I've written up what you need to do to provide side-by-side x64 and x86 support as well as packaging up the changes required for vs2008 builds on my blog. See here: http://www.lenholgate.com/blog/2008/10/stlport-515-and-vs2008-and-x64.html

For other versions of Visual Studio see here:
http://www.lenholgate.com/blog/2005/12/stlport-50-and-multiple-vc-versions.html, here: http://www.lenholgate.com/blog/2007/05/stlport-513-and-multiple-vc-versions.html and here: http://www.lenholgate.com/blog/2010/07/stlport-521-and-vs2010-and-x64.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文