Bug 17991 - Compilation on Windows not supported
Summary: Compilation on Windows not supported
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: All Windows (All)
: low enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-09 05:22 UTC by mahesh
Modified: 2019-12-03 19:22 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description mahesh 2008-10-09 05:22:40 UTC
Hi,

I am trying to build the telepathy-glib , that is downloaded from site
http://telepathy.freedesktop.org/releases/telepathy-glib/

I am using Microsot Visual Sudio 6.0 for the same.
Have downloaded the "dbus-glib-0.76" from the freedesktop link and
Have downloaded the "glib-dev_2.18.1-2_win32" from  the link http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/ 

these 2 opensources have provided me the necessarary include files of glib and dbus.
But while compiling I am stuck at the error mentioned in Summary as I am not getting the file
"telepathy-enums.h" in any of these opensource and also not on the net.

Please give your inputs on same, also le me know whether I am going in right direction to build telepathy-glib source on win32.
regards,
Mahesh 
9th Oct 2008
Comment 1 Simon McVittie 2008-10-09 06:57:44 UTC
telepathy-glib does not support compilation on Windows, for several reasons.

telepathy-glib contains code generated by scripts that are run at compile time - everything in _gen/ is a generated file like that. You can't build it by a process not involving the autoconf/automake/libtool build system we provide (unless you construct a build system of similar complexity).

We also don't test compilation with Visual Studio's C compiler, or with any of the free gcc-based compilers on Windows. We would accept reasonable portability patches for compilation with cygwin, mingw32 or Visual Studio (in increasing order of expected difficulty) but can't devote much time to it ourselves; we don't develop in Windows.

The direction I'd recommend going in for compilation on Windows is to set up a Unix-like environment using cygwin or mingw32, in which you can run the normal autoconf/automake/libtool build system. OABuild <http://people.collabora.co.uk/~oleavr/OABuild/> uses this approach.

(Please do not set inflated priorities when reporting bugs.)
Comment 2 mahesh 2008-10-13 04:47:48 UTC
Hi 
As per the suggessation in previous case, I tried to set up the MinGW 5.1.4 and was successed in compiling a simple C program using MinGW.
Now I have the latest telepathy-glib latest version(0.7.16)which I am trying to build using MinGW. I have gone through the README and INSTALL which comes along with package, but these files dont describe much about how to compile on Windows using MinGW Cross Compilation.
Can I get some guidelines for the same(which also take care of running the shell scripts and creating OS specific headers in the _gen folder etc..)

Thanks & Regards,
Mahesh Kulkarni
Comment 3 GitLab Migration User 2019-12-03 19:22:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/7.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.