Re: utffile symbol defined is strange. - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: utffile symbol defined is strange.
Date
Msg-id 4D162525.1040405@lelarge.info
Whole thread Raw
In response to utffile symbol defined is strange.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List 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

pgadmin-hackers by date:

Previous
From: Hiroshi Saito
Date:
Subject: pgAdmin III commit: Some corrected Japanese.
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin website commit: 1.12.2 is out since 2010-12-16.