[gtkmm] 答复: [other] Re: [gtkmm] Link problem using gtkmm with MSVC 7.1
- From: "Jonny Yu" <jonnyyu online sh cn>
- To: "'Cedric Gustin'" <cedric gustin swing be>, <gtkmm-list gnome org>
- Subject: [gtkmm] =?gb2312?b?tPC4tDogW290aGVyXSBSZTogW2d0a21tXSBMaW5rIHByb2JsZW0gdQ==?==?gb2312?b?c2luZyBndGttbSB3aXRoIE1TVkMgNy4x?=
- Date: Sat, 17 Jan 2004 00:17:59 +0800
Hi Cedric,
Thanks for your reply!
Thanks for your help, I'd like to try the project file, however I
couldn't find the MSVC_NET2003 directory in the installed files.
Do you mean a web directory on your homepage? Could you give me a link
to it?
Thanks a lot!
Best Regards,
Ying-Shen Yu
-----邮件原件-----
发件人: Cedric Gustin [mailto:cedric gustin swing be]
发送时间: Friday, January 16, 2004 5:16 PM
收件人: jonnyyu online sh cn; gtkmm-list gnome org
主题: [other] Re: [gtkmm] Link problem using gtkmm with MSVC 7.1
At 05:27 PM 1/15/2004, Jonny Yu wrote:
>I'm trying to build the example code of gtkmm with MSVC 7.1,
>Although I got several warnings ,such as
>
>e:\Dev-C++\gtkmm\include\gtkmm-2.0\gtkmm\entry.h(402): warning C4250:
>'Gtk::Entry' : inherits 'Gtk::Object::Gtk::Object::set_manage' via
>dominance
>
>e:\Dev-C++\gtkmm\include\gtkmm-2.0\glibmm\containers.h(321): warning
>C4181: qualifier applied to reference type; ignored
>
>the sample did compiled through, the problem is I don't have the lib
>file (in .lib format). I downloaded the win32 port of
>http://www.pcpm.ucl.ac.be/~gustin/win32_ports/
>however the lib format is in .dll.a format, which could not be
>recognized by VC linker.
Right, because of the different C++ name mangling schemes used by gcc
and
MSVC, their import libraries are incompatible. You cannot simply rename
the
.dll.a files to .lib (unlike their C counterparts, in most cases).
>Where can I find the .lib format gtkmm lib file?
>If not, can I build the .lib file from source or convert the .dll.a to
>.lib format?
I only support mingw32-gcc on my page but the projects files for MSVC 7.
1
are in the MSVC_NET2003 directory. Don't know if they are up to date
and/or
if somebody provides binaries.
Cedric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]