移植 DevC++到Linux
我想在 Linux 上使用 DevC++,所以我用 Wine 启动它,一切正常,直到它运行该文件。
C 文件编译良好,生成了一个能够在 Linux 上运行(没有 Wine)的 .exe 文件,
$ file '/media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.exe'
/media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
$ '/media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.exe'
Hello World!
但问题是当我从 IDE 内部运行这个文件时,它显示一个非常小的窗口,不显示任何内容如果我关闭它,我就会关闭整个 IDE。
I wanted to use DevC++ on Linux, so I've started it with Wine and everything is OK until it came to run the file.
The C file compiles well and a .exe files generated that is able to run on Linux (without Wine)
$ file '/media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.exe'
/media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
$ '/media/F6AC746BAC74286F/Dev-Cpp/work/hello_on_nix.exe'
Hello World!
But the problem is when I come to run this file from inside the IDE, it shows a very small window that doesn't show any thing and if I close it, I get the entire IDE to get closed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你从命令行运行过 wine 吗?命令行上是否有“FIXME”警告?
Have you run wine from the command line? Are there "FIXME" warnings on the command line?
您看过 Anjuta 或 Kdevelop?
Have you looked at Anjuta or Kdevelop?