GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Oct 02, 2014 8:26 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Gtk+ App On Windows
PostPosted: Fri Feb 01, 2008 5:15 pm 
Offline
Familiar Face

Joined: Thu Jan 10, 2008 8:54 pm
Posts: 7
Hello,
I made an application on Linux and I am now trying to get it to run on Windows. It runs well so far but with one very annoying problem: when the exe is launched it opens up a windows command prompt along with my main window. Is there a special way I need to compile my app on windows?

Thanks
Nicholas


Top
 Profile  
 
 Post subject: Answer..
PostPosted: Fri Feb 01, 2008 8:32 pm 
Offline
Familiar Face

Joined: Thu Jan 10, 2008 8:54 pm
Posts: 7
To answer my own question: I had to add -Wl,-subsystem,windows to my gcc paramters.

Nicholas


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group