From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: utffile symbol defined is strange. |
Date: | 2010-12-25 17:08:53 |
Message-ID: | 4D162525.1040405@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi Hiroshi-san,
Le 24/12/2010 16:52, Hiroshi Saito a écrit :
> [...]
> I look at this error by VisualStudio2008.
>
> 1>wxbase28ud.lib(strconv.obj) : error LNK2005: "class wxMBConvUTF32BE
> wxConvUTF32BE" (?wxConvUTF32BE@@3VwxMBConvUTF32BE@@A) (snip)...
> 1>wxbase28ud.lib(strconv.obj) : error LNK2005: "class wxMBConvUTF32LE
> wxConvUTF32LE" (?wxConvUTF32LE@@3VwxMBConvUTF32LE@@A) (snip)...
>
> However, I have remembered that you corrected with firm belief.
> http://git.postgresql.org/gitweb?p=pgadmin3.git;a=blobdiff;f=pgadmin/utils/utffile.cpp;h=b4ab90ead1c270a0b06c46a9e312d3929a3e5de4;hp=e426091b4fb05679e00e85d691b2a3b61d44a737;hb=8ff75387c4079081b6e105d0a77f818e4ed17e51;hpb=4b8ae9d82c3b879eb02dda60908ed9590a674ec4
>
>
> Therefore, I may be having overlooked some important things....
> wxWidget is built by itself. Then, It was built by VisualStudio2008.
> But, It needs an extern definition.
>
> extern wxMBConvUTF32BE wxConvUTF32BE;
> extern wxMBConvUTF32LE wxConvUTF32LE;
>
> Do you know some reasons?
This is part of this commit 1270bcd192729d95cb5e2aa687e5ba1c366b7f5f,
done by Dave, to enable dynamic build on Windows.
I don't know Windows build enough to be sure, but are you sure you
changed your build to a dynamic one? I know I had issues with building
on Windows right after this change. It wasn't Dave's fault, but mine. I
forgot to select the right build (IIRC).
Regards.
--
Guillaume
http://www.postgresql.fr
http://dalibo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2010-12-25 17:19:19 | pgAdmin website commit: 1.12.2 is out since 2010-12-16. |
Previous Message | Hiroshi Saito | 2010-12-25 13:38:03 | pgAdmin III commit: Some corrected Japanese. |