Re: Installing GTK+ on MSW - help!!



(I'm taking the freedom to CC to the gtk-list as the issue may be of
general interest.)

Yes, you may use cygwin for compiling. You might want to have a look
at the following file for an example:

   http://cvs.gnome.org/viewcvs/giv/giv/makefile.mingw?view=markup

This makefile assumes that the gtk developer package has been unzip'd
in /usr/local under cygwin. Especially note the -mms-bitfields
-mno-cygwin flags that are necessary in order to get the executable
not to be dependent on the GPL'd cygwin.dll .

Regarding my earlier comment on the use of nsis for making an install
program, you may want to have a look on:

   http://cvs.gnome.org/viewcvs/giv/giv/giv.nsi?view=markup

This creates an installation routine that is dependent on the 
installation of the Gtk runtime package.

Regards,
Dov

On Tue, May 11, 2004 at 04:17:47PM -0700, Jamil wrote:
> Wow!
> You just saved me a whole lot of time and effort. Thanks man!!
> Look, just one more question, I am compiling using cygwin, would that be
> ok with the binary package of GTK+ you're suggesting?
> 
> TIA
> 
> -----Original Message-----
> From: Dov Grobgeld [mailto:dov imagic weizmann ac il] 
> Sent: May 11, 2004 3:57 PM
> To: Jamil_Alkadir hotmail com
> Cc: gtk-list gnome org
> Subject: Re: Installing GTK+ on MSW - help!!
> 
> If you don't explicitely want to, you don't need to compile gtk in
> order to compile against it under Windows. You can just grab the 
> precompiled gtk+-libraries from:
> 
>    http://www2.arnes.si/~sopjsimo/gimp/stable.html
> 
> Get "Gtk+2 for Windows" as well as the Developer files at the bottom
> of the page. (Isn't there a FAQ about this somewhere?)
> 
> Possibly you also have to manually set up pkg-config to give the
> correct --cflags and --libs paths afterwards. I don't remember 
> exactly what I did.
> 
> (I also recommend creating an installation e.g. with the NSIS installer
> to make it really easy for your client.)
> 
> Regards,
> Dov
> 
> On Tue, May 11, 2004 at 12:15:47PM -0700, Jamil wrote:
> > Oops! Sorry for the HTML stuff
> > Here we go again.
> > I am in the process of installing GTK+ in my computer and as you know
> > there are other libraries that have to be installed in advance.
> > 
> > I am now trying to install libiconv-1.9.1 but I get an error that has
> > thrown me off, that is because the OS I am installing is a WinXPensive
> > using CYGWIN. I know, I know, but I am only doing this because a
> client
> > wants one of my applications to work on the bloodies OS. I am really a
> > Penguin kind of guy.
> > 
> >  
> > 
> > Any way, here is the problem.
> > 
> > Compiler
> > 
> > ~~~~~~~~
> > 
> >  Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
> > 
> > Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld
> > --with-gnu-as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
> > --libdir=/usr/lib --libexecdir=/usr/sbin --mandir=/usr/share/man
> > --infodir=/usr/share/info
> > --enable-languages=c,ada,c++,f77,pascal,java,objc --enable-libgcj
> > --enable-threads=posix --with-system-zlib --enable-nls
> > --without-included-gettext --enable-interpreter
> --enable-sjlj-exceptions
> > --disable-version-specific-runtime-libs --enable-shared
> > --disable-win32-registry --enable-java-gc=boehm
> > --disable-hash-synchronization --verbose --target=i686-pc-cygwin
> > --host=i686-pc-cygwin --build=i686-pc-cygwin
> > 
> > Thread model: posix
> > 
> > gcc version 3.3.1 (cygming special)
> > 
> >  
> > 
> > Error
> > 
> > ~~~~~
> > 
> >  /usr/bin/install: cannot remove `/usr/lib/../bin/cygiconv-2.dll':
> > Permission denied
> > 
> > make[1]: *** [install] Error 1
> > 
> > make: *** [install] Error 2
> > 
> >  
> > 
> > Can any one help??
> > 
> >  
> > 
> > Thanks folks!!
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]