PDA

View Full Version : Compiling for windows



Ankhwatcher
November 10th, 2009, 10:36 AM
Hi, I'm working on creating a pre-configured windows version of Qutecom (http://www.qutecom.org/) for a voip company I work with.

I would prefer to do the work of configuring and compiling on my Ubuntu x64 home server.
I have set up the server and successfully compiled a Linux version of the program from source, but I don't know how/if I can set up the compiler to create a windows installable.

If this is possible I'm sure there is already a guide, so if anyone knows its whereabouts please link me.

Thanks,
-ANkh

kavon89
November 10th, 2009, 02:55 PM
Hrm, assuming you compiled C/C++ code on Linux with the gnu tools, you may want to look into Cygwin (http://www.cygwin.com/) or MinGW (http://www.mingw.org/). MinGW is better in my opinion. If using another compiler doesn't matter, use Visual Studio.

Ankhwatcher
November 10th, 2009, 05:17 PM
I followed the GNU/Linux Instructions on this page (http://trac.qutecom.org/wiki/HowToBuildFromSource).
So I used Cmake, G++, QT, Boost and Glib along with a host of other dependancies.

Ankhwatcher
November 10th, 2009, 06:22 PM
Hi, Ankhwatcher
I am Rojerfredrar I read your post really you are doing good experiments, well I'm a computer science student so want to do some help but the problem is that I use the gnu so it is limited area for me and the other matter is that I have got admission so I have only basic knowledge I will try to solve your problem.


Thanks

Ankhwatcher
November 16th, 2009, 05:13 PM
So does anyone have any ideas? I'm sure this has been done before.

In lue of the lack of response here I have set up windows to compile it, but the dependancy management is very rough compared to Ubuntu.

thanks, ANkh

phrostbyte
November 16th, 2009, 05:20 PM
Try installing mingw (apt:mingw), it's GCC except it makes Windows binaries.

Ankhwatcher
November 16th, 2009, 06:00 PM
Try installing mingw (apt:mingw), it's GCC except it makes Windows binaries.

You mean install it in windows? In that case I have, it came with Qt.
Apt couldn't find it on Ubuntu, but I'll have a look with synaptics.