8

carrying DevC ++ to linux

 3 years ago
source link: https://www.codesd.com/item/carrying-devc-to-linux.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

carrying DevC ++ to linux

advertisements

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.

Can you help?


Have you run wine from the command line? Are there "FIXME" warnings on the command line?

Related Articles

Carrying code C linux to Windows

I'm very blocked because I would like to porting a C code (running in Linux) to windows and I don't know how I could do this, the code has the following libraries: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <e

How can I use Open GL in a C ++ project that I carry from Linux

I just tried to compile an open source C++ application on my Mac. I get the error GL/gl.h file not found. I know that this means that it can't find the open GL library, which it needs to compile and run. I am confused about what to do next because It

Carrying the Unix application ada to Linux: Seg fault before the start of the program

I am an intern who was offered the task of porting a test application from Solaris to Red Hat. The application is written in Ada. It works just fine on the Unix side. I compiled it on the linux side, but now it is giving me a seg fault. I ran the deb

Carrying the linux socket application to Windows using MsDev

Is there openly available headers which can be used to compile linux socket application (using socket/udp/ip headers). they should define structures like sa_family_t,in_port_t Mandatory is to use Msdev and not cygwin/gcc or mingw compiler.As far as I

Suggestions for carrying the linux application on Windows

I'd like to port an application written under linux to windows. Currently I'm using Cygwin but I'm curious if there are any other options that don't force me to release my source since I'm not in the position to do so right now. Are there any other o

Is MoonlightDesktop suitable for carrying the wpf application to Linux?

I understand Moonlight is no longer supported by Xamarin, but I have a WPF application written on Windows that I would like to port to Linux. I want to avoid rewriting the UI code. I came across a Xamarin project called MoonlightDesktop (http://www.m

Linux serial port carrier and interpreter?

I'm using a serial device for a project, and what I'm trying to accomplish PC side, is listening for a command sent by the serial device, interpreting the query, running some code depending on the query, and transmitting back the result. To be honest

Node.js for Asynchronous Linux Scripting

In other programs I've written, I've enjoyed the asynchronous aspects of node.js using promises. I would like to employ this same programming style (using node.js) for Linux scripting. In other words, I'd like the ability to simultaneously execute mu

RPC communication between Linux and Solaris

I have a RPC server running in Solaris. I have a RPC client which is running fine in Solaris. When I compile and run the same code in Ubuntu, I am getting Error decoding arguments in the server. Solaris use SunRPC (ONC RPC). Not sure how to find the

What tools do you use to develop C ++ applications on Linux?

I develop C++ applications in a Linux environment. The tools I use every day include Eclipse with the CDT plugin, gdb and valgrind. What tools do other people use? Is there anything out there for Linux that rivals the slickness of Microsoft Visual St

git: Linux-Next, how to reinitialize linux-next to a particular date?

I know if we know a commit id, then we can use reset --hard to that commit: git reset --hard [[commit_id]] Question 1: if I want to find a commit of a specified date, how to do that? Looks like Linux-next will have a tag for each date, for example, t

Is shared virtual memory used when multiple processes read a file using the file pointer in Linux?

I wrote a C++ program which read a file using file pointer. And I need to run multiple process at the same time. Since the size of file can be huge (100MB~), to reduce memory usage in multiple processes, I think I need use shared memory. (For example

Page table in Linux kernel space at startup

I feel confuse in page table management in Linux kernel ? In Linux kernel space, before page table is turned on. Kernel will run in virtual memory with 1-1 mapping mechanism. After page table is turned on, then kernel has consult page tables to trans

Installing the R `forecast` Package on a Linux Cluster: Compiler Issues?

I am looking to test performance of R, more specifically some routines in the forecast package on an HPC cluster with Intel Xeon Phi co-processors. The sysadmin has, I understand, built R/3.2.5 from source following the instructions on Intel's websit

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK