[mingw - C/C++] gtkmm demo build problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[mingw - C/C++] gtkmm demo build problem


Read and respond to this message at:
By: as97

I've met with problem when building gtkmm 2.4.11 demo:
Gtk::TreeViewColumn class has template contructor like
template<class T_ModelColumnType>
  TreeViewColumn(const Glib::ustring& title, const
TreeModelColumn<T_ModelColumnType>& column);

When demo application is linking I have an error message:

example_change_display.o: In function `ZN21Example_ChangeDisplayD2Ev':
D:/gtkmm-2.4.11/demos/gtk-demo/example_change_display.cc:184: variable 'VTT
for Gtk::TreeViewColumn' can't be auto-imported. Please read the documentation
for ld's --enable-auto-import for details

And many other errors like this from all object files that touch TreeViewColumn.
Problem with this class only!

When I tried --enable-runtime-pseudo-reloc linking option demo apllication starts
and then crashes with message:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

When I put dllexport/dllimport attribute on class I have got compilation warning
about dllimport attribute on template method and internal compiler error after

MinGW v3.2.0-rc3
gcc version 3.4.2 (mingw-special) / gcc version 3.4.4 (mingw-special)
GNU ld version 2.15.94 20050118


You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:

This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at: