Re: link problem on mingw32



Thanks. Please ropen or add to that bug when you discover more, or if you
settle on a different solution, or get stuck.

> There are still some issues with the patch that was submitted for bug
> #309030. More precisely, gcc complains when I tag TreeViewColumn with
> __declspec(dllimport/dllexport), mostly because of fully specialized
> templated methods that are defined inline (void
> pack_start(CellRenderer& cell, bool expand = true)). Also, for some
> unkown reason, the gtkmm demo does not build in Release mode under
> MSVC if TreeViewColumn is tagged with __declspec(dllimport/dllexport)
> (Debug mode is ok though).

An #ifdef would be one way (less than perfect) to work around this.

> I'm currently investigating this issue in the framework of a win32
> build of gtkmm 2.8. I will release binaries for gtkmm-2.8.1 later
> today where I reverted to the previous situation where
> the -Wl,--enable-runtime-pseudo-reloc gcc option is required at link
> time. I will also have access in the coming days to the recently
> released Visual Studio 2005.
>
> In the meantime, please use the gtkmm 2.6.2 build with the
> "-Wl,--enable-runtime-pseudo-reloc" at link time (add it to LDFLAGS)
> and report any problem with the gtkmm 2.8.1 build I will upload later
> today.
>
> Cedric
>
> On 11/15/05, Murray Cumming <murrayc murrayc com> wrote:
>> > I'm trying to use gtkmm on Windows (with mingw32). I build a static
>> lib
>> > for each package of my application and get the following messages when
>> > linking:
>>
>> This is fixed in gtkmm's source code:
>> http://bugzilla.gnome.org/show_bug.cgi?id=309030
>>
>> But I don't know whether Cedric's win32-installer has the latest
>> version.
>>
>> Murray Cumming
>> murrayc murrayc com
>> www.murrayc.com
>> www.openismus.com
>>
>> _______________________________________________
>> gtkmm-list mailing list
>> gtkmm-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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