简体   繁体   English

将DevC ++移植到Linux

[英]Porting DevC++ to Linux

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. 我想在Linux上使用DevC ++,所以我用Wine来启动它,一切正常,直到运行该文件为止。

The C file compiles well and a .exe files generated that is able to run on Linux (without Wine) C文件编译良好,并生成了一个.exe文件,该文件可以在Linux上运行(无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. 但是问题是,当我从IDE内部运行此文件时,它显示了一个很小的窗口,没有显示任何内容,如果我将其关闭,则会使整个IDE关闭。

Have you run wine from the command line? 您是否从命令行运行酒? Are there "FIXME" warnings on the command line? 命令行上是否有“ FIXME”警告?

您是否看过AnjutaKdevelop

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM