Hi,

I followed instruction in
 https://github.com/tesseract-ocr/tesseract/wiki/Compiling#windows 
<https://github.com/tesseract-ocr/tesseract/wiki/Compiling#windows> to 
build tesseract and use it in vs2015 project. After installing tesseract 
via vcpkg, I exported it as a nuget pkg and added it to my project like any 
other nuget pkg but I am getting link errors like:
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol closesocket Project1 
c:\Users\sonu's\documents\visual 
studio 2015\Projects\Project1\Project1\tesseract305.lib(svutil.cpp.obj) 1 
Error LNK2001 unresolved external symbol connect Project1 
c:\Users\sonu's\documents\visual 
studio 2015\Projects\Project1\Project1\tesseract305.lib(svutil.cpp.obj) 1 
Error LNK2001 unresolved external symbol htons Project1 
c:\Users\sonu's\documents\visual 
studio 2015\Projects\Project1\Project1\tesseract305.lib(svutil.cpp.obj) 1 
...

Is there something I have missed? Has anybody tried using tesseract api 
this way in vs 2015?

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/d662f3a8-31d9-4100-bd44-7943444e01db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to