[gtkmm] gtkmm2 win32 compile problems



Hi!

I failed compiling gtkmm2.2.0 under win32 after having tried a bunch of things 
(really a mega-bunch...) and after having read a lot of articles from several newsgroups.

Everything is listed below, I'd really appreciate any help!!!!

If there's a working gtkmm2/glade windows binary distribution available (maybe from 
Cristof Petig), please tell me, I'd welcome that, too.

Thanks
Nick


-------------------------------------------------------
Here's what I did:

* installed mingw-2.0.0-3, binutils-2.13.90, mingw-runtime-2.3, w32api-2.1
* installed cygwin (packages from jan24 '03)
* c:\mingw\bin;c:\cygwin\bin;c:\cygwin\usr\local\bin;c:\cygwin\usr\local\lib
* made sure in cygwin-profile that mingw-path comes first
* installed gtk+-2.2.0-20030119 and additional files from 
http://www.gimp.org/~tml/gimp/win32/ in /usr/local
* successfully compiled and ran example base.c
* added PKG_CONFIG_PATH=/usr/local/lib/pkgconfig to cygwin-profile
* in /usr/local/pkgconfig/*.pc changed prefix=/target to prefix=c:/cygwin/usr/local

* installed libsic++-1.2.3 in /usr/local
* in cygwin-bash:
** cd /usr/local/libsic++-1.2.3
** ./configure --prefix=/usr/local --build=i386-pc-mingw32 --disable-static
  (this is suggested in the README http://www.gtkmm.org/gtkmm2/docs/, Platform 
Windows)
** make
  (fails)
** make clean
** libtoolize --force
  (suggested in gtkmm-windows readme, see above)
** aclocal
** automake
** autoconf
** ./configure --prefix=/usr/local --build=i386-pc-mingw32 --disable-static
** make
  (succeeds)
** make check
  (succeeds)
** make install
  (succeeds)
  
* installed gtkmm-2.2.0 in /usr/local
* in cygwin-bash:
** ./configure --prefix=/usr/local --build=i386-pc-mingw32 --disable-static
  (this is suggested in the README http://www.gtkmm.org/gtkmm2/docs/, Platform 
Windows)
** make
  (fails, see error below)
** make clean
** libtoolize --force
  (suggested in gtkmm-windows readme, see above)
** mv aclocal.m4 acinclude.m4
   (suggested in manpages to gnu-automake)
** aclocal
** automake
** autoconf
** ./configure --prefix=/usr/local --build=i386-pc-mingw32 --disable-static
** make
  (fails, see error below)
-------------------------------------------------------

-------------------------------------------------------
Here comes the error:

/bin/bash ../../libtool --mode=link g++  -g -O2 -mms-bitfields -Wall   -o libgtk
mm_generate_extra_defs-2.0.la -rpath /usr/local/lib -no-undefined -version-info
6:0:5 -lstdc++  generate_extra_defs.lo -L/usr/local/lib -Lc:/cygwin/usr/local/li
b -lsigc-1.2 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -L/usr/loca
l/lib -Lc:/cygwin/usr/local/lib -lsigc-1.2 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk
-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodu
le-2.0 -lglib-2.0 -lintl -liconv
mkdir .libs
*** Warning: This system can not link to static lib archive c:/mingw/bin/../lib/
gcc-lib/mingw32/3.2/../../..//libstdc++.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
extracting exported symbol list from `libsigc-1.2-5.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/local/lib/../bin/libsigc-1.2-5.dll > .libs/libsigc-1.2-5
.dll-def
make[3]: *** [libgtkmm_generate_extra_defs-2.0.la] Error 1
make[3]: Leaving directory `/usr/local/gtkmm-2.2.0/tools/extra_defs_gen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/gtkmm-2.2.0/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gtkmm-2.2.0'
make: *** [all] Error 2
-------------------------------------------------------

-------------------------------------------------------
Version info:

$ automake --version
automake (GNU automake) 1.7.2
$ autoconf --version
autoconf (GNU Autoconf) 2.57
$ libtool --version
ltmain.sh (GNU libtool) 1.4e (1.1175 2003/01/01 01:57:46)
$ gcc --version
gcc.exe (GCC) 3.2 (mingw special 20020817-1)
-------------------------------------------------------





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