something wrong when I use tesseract api ?
lxj0276 opened this issue · 0 comments
lxj0276 commented
Now I build this project (pc environment :win7 64bit vs2015)
and it generates some lib file.
**giflib.lib
libjpeg.lib
liblept.lib
libpng.lib
libtesseract.lib
libtiff.lib
libwebp.lib**
I use this code to test the api,
`#include "stdafx.h"
include"strngs.h"
include"baseapi.h"
include
using namespace std;
int main(void)
{
char *str = "e:\1_1.png";
tesseract::TessBaseAPI api;
api.Init(NULL, "eng", tesseract::OEM_DEFAULT);
STRING text_out;
cout << text_out.string();
}`
It shows "LINK : fatal error LNK1104: can not open “giflib.lib”"
can you tell me what's wrong with my project?