Re: Win32 Binaries
- From: "Surya Kiran Gullapalli" <suryakiran gullapalli gmail com>
- To: "Frank Naumann" <fnaumann boerde de>
- Cc: gtkmm-list gnome org
- Subject: Re: Win32 Binaries
- Date: Tue, 30 May 2006 13:26:34 +0530
> Compilation went fine, but linking is showing some problems. Linker says,
> its unable to find m.lib file for linking. m.lib it seems is required for
> pango.
> I've searched for m.lib but could not find. My installation of windows or
> gtkmm is faulty, or am i missing something here?
What compiler you used now and what are the linker settings?
I've used Visual C++ 7.1 compiler. The output of compilation is shown below. I've removed the m.lib dependency in the LIBS, and here is the output.
==================================
cl -nologo -EHsc /TP /IZ:\windows\gtk\include\gtkmm-2.4 /IZ:\windows\gtk\lib\gtkmm-2.4\include /IZ:\windows\gtk\include\glibmm-2.4 /IZ:\windows\gtk\lib\glibmm-2.4\include /IZ:\windows\gtk\include\gdkmm-
2.4 /IZ:\windows\gtk\lib\gdkmm-2.4\include /IZ:\windows\gtk\include\pangomm-1.4 /IZ:\windows\gtk\include\atkmm-1.6 /IZ:\windows\gtk\include\gtk-2.0 /IZ:\windows\gtk\include\sigc++-2.0 /IZ:\windows\gtk\lib\sigc++-2.0\include
/IZ:\windows\gtk\include\glib-2.0 /IZ:\windows\gtk\lib\glib-2.0\include /IZ:\windows\gtk\lib\gtk-2.0\include /IZ:\windows\gtk\include\pango-1.0 /IZ:\windows\gtk\include\cairo /IZ:\windows\gtk\include\atk-1.0 /c example_buttonbox.cc /Foexample_buttonbox.obj
example_buttonbox.cc
Z:\windows\gtk\include\gtkmm-2.4\gtkmm\treeview.h(1589) : warning C4541: 'dynamic_cast' used on polymorphic type 'Gtk::CellRenderer' with /GR-; unpredictable behavior may result
Z:\windows\gtk\include\gtkmm-
2.4\gtkmm\treeview.h(1618) : warning C4541: 'dynamic_cast' used on polymorphic type 'Gtk::CellRenderer' with /GR-; unpredictable behavior may result
Z:\windows\gtk\include\gtkmm-2.4\gtkmm\treeview.h(1646) : warning C4541: 'dynamic_cast' used on polymorphic type 'Gtk::CellRenderer' with /GR-; unpredictable behavior may result
Z:\windows\gtk\include\gtkmm-2.4\gtkmm\treeview.h(1674) : warning C4541: 'dynamic_cast' used on polymorphic type 'Gtk::CellRenderer' with /GR-; unpredictable behavior may result
Z:\windows\gtk\include\gtkmm-2.4\gtkmm\treeview.h
(1702) : warning C4541: 'dynamic_cast' used on polymorphic type 'Gtk::CellRenderer' with /GR-; unpredictable behavior may result
Z:\windows\gtk\include\gtkmm-2.4\gtkmm\treeview.h(1730) : warning C4541: 'dynamic_cast' used on polymorphic type 'Gtk::CellRenderer' with /GR-; unpredictable behavior may result
Z:\windows\gtk\include\gtkmm-2.4\gtkmm\treeview.h(1757) : warning C4541: 'dynamic_cast' used on polymorphic type 'Gtk::CellRenderer' with /GR-; unpredictable behavior may result
link /nologo /OUT:test.exe /LIBPATH:Z:\windows\gtk\lib
gtkmm-2.4.lib gdkmm-2.4.lib atkmm-1.6.lib gtk-win32-2.0.lib pangomm-1.4.lib glibmm-2.4.lib sigc-2.0.lib gdk-win32-2.0.lib atk-1.0.lib gdk_pixbuf-2.0.lib pangowin32-1.0.lib gdi32.lib pangocairo-1.0.lib fontconfig.lib freetype.lib
z.lib pango-1.0.lib cairo.lib gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib intl.lib iconv.lib example_buttonbox.obj
==========================================
After removing the m.lib dependency, I was able compile and link. But the executable fails, citing some unusual termination.
The application has requested the Runtime to terminate it in an unusual way.
Please contact the application support team for more information.
Surya
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]