Re: building glib on windows

2015-11-03 Thread jcupitt
Hi Tim, On 3 November 2015 at 14:53, Tim-Philipp Müller wrote: > The build system GStreamer uses for this (cerbero) should be able to do > that (our windows build bots do that): > > http://cgit.freedesktop.org/gstreamer/cerbero/ From reading the sources, it looks like cerbero/ide/vs/genlib.py is

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-03 Thread John Emmas
On 3 Nov 2015, at 11:50, Simon McVittie wrote: > > Perhaps the "inline" stuff should move to gtypes.h, or somewhere even > lower-level, like glibconfig.h? > As an experiment, I tried moving the inline stuff out of gutils.h and straight into gtypes.h (at line 391 - immediately before those newl

Re: building glib on windows

2015-11-03 Thread Tim-Philipp Müller
On Tue, 2015-11-03 at 14:40 +, jcup...@gmail.com wrote: Hi John, > have a look at this: > > https://github.com/nice-software/gtk-win32 > > Hi Ignacio, that looks great, but unfortunately I need to build on > linux and cross-compile :-( > > Does anyone have a link to linux-hosted win64 gtk b

Re: building glib on windows

2015-11-03 Thread Ignacio Casal Quinteiro
Hi, if you need msvc builds you need to build them with msvc. Mixing runtimes while it could work it might deal to unexpected problems. Regards. On Tue, Nov 3, 2015 at 3:40 PM, wrote: > On 3 November 2015 at 14:34, Ignacio Casal Quinteiro > wrote: > > have a look at this: > > https://github.c

Re: building glib on windows

2015-11-03 Thread jcupitt
On 3 November 2015 at 14:34, Ignacio Casal Quinteiro wrote: > have a look at this: > https://github.com/nice-software/gtk-win32 Hi Ignacio, that looks great, but unfortunately I need to build on linux and cross-compile :-( Does anyone have a link to linux-hosted win64 gtk build system I could ha

Re: building glib on windows

2015-11-03 Thread Ignacio Casal Quinteiro
Hey, have a look at this: https://github.com/nice-software/gtk-win32 Cheers. On Tue, Nov 3, 2015 at 3:26 PM, wrote: > Hi everyone, > > I'm trying to make my own 64-bit glib DLLs for Windows users. I'm > cross-compiling from linux with jhbuild. It seems to be working, > except that VS users can

building glib on windows

2015-11-03 Thread jcupitt
Hi everyone, I'm trying to make my own 64-bit glib DLLs for Windows users. I'm cross-compiling from linux with jhbuild. It seems to be working, except that VS users can't link to the libraries I'm making. It looks like I need to generate .def and .lib files. Does anyone know the recommended way t

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-03 Thread Simon McVittie
On 03/11/15 09:30, John Emmas wrote: > On 02/11/2015 22:50, Arnavion wrote: >> https://github.com/GNOME/glib/blob/236e804/glib/gutils.h#L69 >> Presumably this is not being included by gtypes.h > > 1) Firstly, it needs to get #included quite a long way down (around line > 95 of gtypes.h). The reas

Re: Broken 'C' compilation when building from Master with MSVC

2015-11-03 Thread John Emmas
2nd attempt - sorry if this comes through twice... On 02/11/2015 22:50, Arnavion wrote: > https://github.com/GNOME/glib/blob/236e804/glib/gutils.h#L69 > Presumably this is not being included by gtypes.h > Yeah, that's true - and fixing it kinda works but it leaves a couple of problems... 1) F