Fw: [gtkmm] problems while buiding libgnomecanvasmm for windows using cygwin env



----- Original Message -----
From: "Sagar Shah" <sagars dpsl net>
To: "Cedric Gustin" <cedric gustin swing be>
Sent: Friday, June 27, 2003 12:14 PM
Subject: Re: [gtkmm] problems while buiding libgnomecanvasmm for windows
using cygwin env


> Thanx Cedric once again, i immdiateky followed ur instructions
> this time with a different result of make
>
> $ make
> Making all in tools
> make[1]: Entering directory `/libgnomecanvasmm-2.0.0/tools'
> Making all in extra_defs_gen
> make[2]: Entering directory `/libgnomecanvasmm-2.0.0/tools/extra_defs_gen'
> if
>
g++ -DHAVE_CONFIG_H -I. -I. -I../../libgnomecanvas -I/usr/include/gtkmm-2.0
> -
>
I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/inc
> lude
>  -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/inc
lu
> de -
>
I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I
> /usr
>
/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/X11R6/include/f
> reet
> ype2      -g -O2 -MT generate_defs_libgnomecanvas.o -MD -MP -MF
> ".deps/generate_
> defs_libgnomecanvas.Tpo" \
>   -c -o generate_defs_libgnomecanvas.o `test -f
> 'generate_defs_libgnomecanvas.cc
> ' || echo './'`generate_defs_libgnomecanvas.cc; \
> then mv ".deps/generate_defs_libgnomecanvas.Tpo"
> ".deps/generate_defs_libgnomeca
> nvas.Po"; \
> else rm -f ".deps/generate_defs_libgnomecanvas.Tpo"; exit 1; \
> fi
> /bin/bash ../../libtool --mode=link g++  -g -O2   -o
generate_extra_defs.exe
> ge
>
nerate_defs_libgnomecanvas.o  -Wl,--export-dynamic -lgtkmm-2.0 -lgdkmm-2.0 -
> latk
>
mm-1.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgnomecanvas-2 -lart_lgpl_2 -l
> pang
>
oft2-1.0 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangow
> in32
> -1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -li
co
> nv -
> lm   -lgtkmm_generate_extra_defs-2.0
> mkdir .libs
> extracting exported symbol list from `cyggtkmm-2.0-1.dll'
> test -f .libs/impgen.c || \
>       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends
> here \
> *\// { s/^# //;s/^# *$//; p; }" -e d < ../../libtool > .libs/impgen.c
>       test -f .libs/impgen.exe || (cd .libs && \
>       if test "x" != "x" ; then  -o impgen impgen.c ; \
>       else gcc -o impgen impgen.c ; fi)
>       .libs/impgen /usr/lib/../bin/cyggtkmm-2.0-1.dll >
.libs/cyggtkmm-2.0-1
> .dll
> -def
> make[2]: *** [generate_extra_defs.exe] Error 1
> make[2]: Leaving directory `/libgnomecanvasmm-2.0.0/tools/extra_defs_gen'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/libgnomecanvasmm-2.0.0/tools'
> make: *** [all-recursive] Error 1
>
> i am using gcc 3.2.3, as there is config.log where we can see the exact
> errors but for make i dont know.
>
> if u know what the problem plz reply
> TAI
> Regards
> Sagar Shah
> Sinhagad College of Engineering
> Pune (M.S)
> India
>
>
> ----- Original Message -----
> From: "Cedric Gustin" <cedric gustin swing be>
> To: "Sagar Shah" <sagars dpsl net>; <gtkmm-list gnome org>;
> <gnome-devel-list gnome org>
> Sent: Thursday, June 26, 2003 11:05 PM
> Subject: Re: [gtkmm] problems while buiding libgnomecanvasmm for windows
> using cygwin env
>
>
> > At 11:16 AM 6/27/2003 -0700, Sagar Shah wrote:
> > >Hi all,
> > >
> > >again i am to mailing list my problems.
> > >
> > >i trying to built libgnomecanvasmm on windows using cygwin env.
> > >
> > >i have installed the windows binaries from
> >
>
><http://web.sfc.keio.ac.jp/~s01397ms/cygwin/>http://web.sfc.keio.ac.jp/~s01
> 397ms/cygwin/
> > >
> > >by these all the dependencies have be installed for libgnomecanvasmm
> > >
> > >my cgwin is installed at D:\Sagar\Cygwin and mingw at C:\Mingw
> > >
> > >and Mingw path is set before Cygwin in /etc/profile and windows path.
> > >
> > >my configuaration options are
> > >./configure --build=mingw32 CC=mingw32-gcc CXX=mingw32-g++
> >
> > Let me repeat it again : you should not mix the native windows (msvcrt)
> and
> > cygwin runtimes !!! http://web.sfc.keio.ac.jp/~s01397ms/cygwin/ provides
> > DLLs for the cygwin platform only, while my gtkmm binaries (and the
> > corresponding gtk+ DLLs available at http://www.gimp.org/win32/) are for
> > the msvcrt runtime. Don't use the mingw compiler with the cygwin
binaries.
> >
> > Also, the mingw32 compiler is not aware of your cygwin mounting points
> > (like /usr pointing to D:\Sagar\Cygwin\usr). This explains why the
> > gtk/gtk.h header cannot be found even though
/usr/include/gtk-2.0/include
> > is in the search path.
> >
> > So please try again but this time with gcc provided by the cygwin
> > distribution (don't add the mingw directory to your path) and get rid of
> > these --build=mingw32 CC=mingw32-gcc CXX=mingw32-g++ configure options.
> The
> > cygwin platform will be detected automatically.
> >
> > Mixing the native windows (msvcrt) and cygwin runtimes is a common
mistake
> > among developers. I usually recommend to use the cygwin shell with
> > cygwin-gcc only, and to rely on msys for mingw32-gcc.
> >
> > Cedric
>



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