编译 GTK+从 Linux 到 Windows 的应用程序

发布于 2024-10-06 13:23:07 字数 225 浏览 1 评论 0原文

我是 Linux 新手,过去几天一直在学习 gtk+,并且想知道如何编译一个应用程序以在 Windows 而不是 Linux (ubuntu) 上运行。我在快速搜索时发现了 这个,但我对 Linux 的了解并不多- 目前存在,因此不确定如何继续本教程。有没有其他方法可以做到这一点?

I'm new to linux and have been learning gtk+ the past couple of days, and was wondering how you would go about compiling an application to run on windows instead of linux (ubuntu). I found this while doing a quick search but my knowledge of linux is non-existent at the moment so not sure how to proceed with the tutorial. Are there any alternative methods to do this?.

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

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

发布评论

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

评论(2

屋顶上的小猫咪 2024-10-13 13:23:07

我只在 Windows 上编译并使用 Cygwin 测试 'nix 版本(在直接进入 'nix 操作系统并编译之前),但看起来像 可能会帮助您入门。

I've only compiled on Windows and used Cygwin to test 'nix versions (before going right into a 'nix OS and compiling), but looks like this might get you started.

救赎№ 2024-10-13 13:23:07

在其他操作系统中进行编译是没有意义的,因为如果没有在目标平台上进行测试就无法分发二进制文件。
那为什么不在同一平台上编译呢?

Compiling in other OS does not make sense while you can't disribute your binary without testing it on the target platform.
Then why not to compile on the same platform?

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