How to make a standalone executable file by Cygwin without using 'startxwin'?

11 views
Skip to first unread message

Henri Aghaei

unread,
Jan 29, 2015, 9:10:47 AM1/29/15
to cygwin...@googlegroups.com
I have a executable file made by Cygwin Compiler. Once you click MyFile.Exe it does not run and a black screen pops up and says:

Parsing ....
Parsing ...


.
.
.
.


Display can't open.


So, to have MyFile.exe run. I simply type 'startxwin' into the Cygwin Terminal and a white terminal pops up and from there I am able to run my MyFile.exe. However, I don't like the way it takes to run! I would like the end user to click on MyFile.exe and it runs immediately! 

Therefore, what would you suggest me to get around this problem? I believe that I have installed all the required packages from Cygwin on my PC. As it is compiled in Linux platform I am not able to compile my files in Visual Studio or other similar IDEs. 

Not to mention that when I use dependency walker, it shows me that I have no files missing! 

What do you say?

Paul King

unread,
Nov 7, 2015, 12:13:18 PM11/7/15
to cygwin...@googlegroups.com
Which "Cygwin compiler" are you talking about? Did you try running
MyFile.exe inside a shell?

pjk
> --
> You received this message because you are subscribed to the Google Groups
> "cygwin-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cygwin-users...@googlegroups.com.
> To post to this group, send email to cygwin...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cygwin-users.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages