dll - Where can I find libdecodeqr.lib? -


i creating qr code scanner program in c++ using library called libdecodeqr.

i downloaded files https://github.com/josephholsten/libdecodeqr , modified 1 of test programs. however, keep getting error "unresolved external symbol". it's because have not linked libraries.

but i can't find libdecodeqr.lib anywhere! it's not included in github package , it's online!

in instructions on github page, says add decodeqr.h, qrtypes.h, qrerror.h , libdecodeqr.lib environment. other .lib file, have added files environment.

where can find libdecodeqr.lib?

also, here sample program modified , testing:

#include <stdio.h> #include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "c:/users/asish/documents/libdecodeqr-master/libdecodeqr/decodeqr.h" #include "c:/users/asish/documents/libdecodeqr-master/libdecodeqr/qrerror.h" #include "c:/users/asish/documents/libdecodeqr-master/libdecodeqr/qrtypes.h" #include "bitstream.h"  using namespace cv;   int main(int argc, char *argv[]) {     namedwindow("src", 1);     //     // load image     //      mat src_old = imread("qrtest.png", 1);     iplimage* src = new iplimage(src_old);      imshow("src", src_old);      //     // show version info     //     printf("libdecodeqr version %s\n", qr_decoder_version());      //     // initialize     //     qrdecoderhandle decoder = qr_decoder_open();      //     // decode using default parameter     //     short stat = qr_decoder_decode_image(decoder, src);     printf("status=%04x\n", stat);      //     // qr code header     //     qrcodeheader header;     if (qr_decoder_get_header(decoder, &header)){         //         // qr code text         // null terminate, buffer size larger body size.         //         char *buf = new char[header.byte_size + 1];         qr_decoder_get_body(decoder, (unsigned char *)buf, header.byte_size + 1);         printf("%s\n", buf);     }      //     // finalize     //     qr_decoder_close(decoder);      puts("");     puts("hit key end.");     cvwaitkey(0);      destroyallwindows();     cvreleaseimage(&src);      return(0); } 

you downloading source code github, means need create new visualstudio c++ project compile own libdecodeqr.lib (or dll). require install opencv in computer.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -