Re: Help same problem - [gtkmm] Windows compilation/utilisation problems



Diana Esch-Mosher wrote:
Hi,

I am having the same problem. I have installed the latest 2.4 binaries
from www.pcpm.ucl.ac.be/~gustin/win32_ports/gtkmm.html.

Additionally, I picked up the following tar files and updated mingw:

binutils-2.13.90-20021006-2.tar
gcc-g++-3.3.1-20030804-1.tar
w32api-2.5.tar
gcc-3.3.1-info-html.tar
mingw-runtime-3.3.tar
gcc-core-3.3.1-20030804-1.tar
mingw-utils-0.3.tar

/c/gtkmm/examples/book/treeview/tree gives me:

g++ -o main *.cc `pkg-config --cflags --libs gtkmm-2.4`
Info: resolving __ZTTN3Gtk14TreeViewColumnE by linking to
__imp___ZTTN3Gtk14TreeViewColumnE (auto-import)
Info: resolving __ZTVN3Gtk14TreeViewColumnE by linking to
__imp___ZTVN3Gtk14TreeViewColumnE (auto-import)

Did you do what the error messages tell you and read the doc for ld ?

Try to pass the "-Wl,--enable-runtime-pseudo-reloc" option to g++ at link time.

Sorry but I only discovered this recently (2 days ago) when I upgraded gcc to 3.3.1. This problem does not occur with gcc-3.2.3.

Cedric



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