[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

SourceForge.net

Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3192245
By: as97

Hello!
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
that.

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

-Andrew

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=286529


-------------------------------------------------------
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users