MS does some weird non-standard/incompatible stuff if you don't add /Za to your project.
On Jun 4, 2013, at 8:03 AM, NeoDreamer <
asu...@gmail.com> wrote:
> I was build ZXing static library by CMAKE and Visual C++ 2010.
> After that I got the "libzxing.lib"
>
> And then I try to use libzxing.lib on Visual C++ Project.
> but I get the error message
> libzxing.lib(DecodeHints.obj) : error LNK2005: "public: static unsigned int const zxing::DecodeHints::CHARACTER_SET" (?CHARACTER_SET@DecodeHints@zxing@@2IB) already defined in stdafx.obj
>
> What I have to do for remove the error message.
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "zxing" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
zxing+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>