QR code decoder for C Language

1,467 views
Skip to first unread message

zxing

unread,
Sep 8, 2009, 7:14:15 AM9/8/09
to zxing
Hi,

I had tried the zxing src.. But i can't run the cpp source. How can i
run the c source in windows.. Is ther any steps or document available
for building the qrcode decoder src?

give me the path for downloading the qrcode decoder src

thanks

srowen

unread,
Sep 8, 2009, 7:15:18 AM9/8/09
to zxing
It sounds like you have already found the source code. The cpp/ code
is a library, and is not 'runnable'. not sure what you are looking
for. You would need to build an application that uses it.

zxing

unread,
Sep 8, 2009, 7:22:34 AM9/8/09
to zxing
u said cpp/code is a libray.. How can i build that src and how to get
the library for qrcode decoder?

srowen

unread,
Sep 8, 2009, 7:23:39 AM9/8/09
to zxing
You will need to build it with your IDE or other development
environment. There is no provided Makefile since actually it is used
with the iphone/ client mostly, which does I believe include some
Apple / iPhone-specific build config.

But like I said, building it won't do anything but get you some
compiled code. You need an app to use it.

zxing

unread,
Sep 8, 2009, 7:26:16 AM9/8/09
to zxing
Is that src works in visual studio 2008?
I build the source code for windows mobile environment
Are u sure the src code is working properly?

srowen

unread,
Sep 8, 2009, 7:28:39 AM9/8/09
to zxing
I don't know if it works in VS. If anything, it was written to work on
the iPhone, but I don't know that it does anything that is specific to
a platform or not. I personally do not know much about this code.

Can't help you with Winmo -- the primary contributors don't know
anything about it. But I don't know of any reason it would be a
problem to use it on Winmo.

The source code is used by the Barcodes iPhone app. Yes, it works. I
think some bugs have been fixed since it was ported, but it
substantially works just fine.

Bas Vijfwinkel

unread,
Sep 9, 2009, 11:18:12 AM9/9/09
to zxing
>>How can i build that src and how to get the library for qrcode decoder?
Open Visual Studio, go to File -> New -> Project From Existing Code ->
select C++
then you have to point the directory to the cpp directory of zxing.

When I tried to compile it, it seems to be having some problems with
file paths to included
files and some default libraries seems not to be included (NAN/round/
isnan/sort).
The code itself generates no errors so I presume that these are just
VS quirks.

If you fix these error then I guess you're up and running. =)

Biswarup Chakravarty

unread,
Oct 2, 2009, 1:07:12 AM10/2/09
to zxing
Is there any documentation available related to the library? I'm
trying to run the decore QR Codes under windows...

srowen

unread,
Oct 2, 2009, 7:17:47 AM10/2/09
to zxing
The Java code is documented reasonably, and you will find some
additional notes on the project site at http://code.google.com/p/zxing.
The C++ is not supported, do with it what you can.

On Oct 2, 6:07 am, Biswarup Chakravarty
Reply all
Reply to author
Forward
0 new messages