Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile and install 321-Tesseract-4 branch as a nuget package? #396

Closed
masterisk opened this issue Mar 6, 2018 · 8 comments
Closed

Comments

@masterisk
Copy link

I have tried downloading the branch, opening in VS2015, and building the solution, as far as I can tell this just results in the Tesseract.dll.

Whenever I add the dll to a project as a reference, VS has a yellow triangle on the reference, and the path to the dll shows blank.

From the looks of the contents of the branch, there are nuget config files. How can I build the nuget package for Tesseract 4?

@tdhintz
Copy link
Contributor

tdhintz commented Mar 6, 2018 via email

@masterisk
Copy link
Author

It gives the path as a relative path. "............\Desktop\Tesseract\Tesseract.dll"

@tdhintz
Copy link
Contributor

tdhintz commented Mar 6, 2018 via email

@masterisk
Copy link
Author

Sorry, there is a slash after every two dots. It’s navigating up a directory until it gets to the user account folder. Is a relative path still wrong?

@tdhintz
Copy link
Contributor

tdhintz commented Mar 6, 2018 via email

@masterisk
Copy link
Author

It only seems to detect the reference if I have the dll directly in the project directory.

Were you able to build the nuget nupkg?

@tdhintz
Copy link
Contributor

tdhintz commented Mar 6, 2018 via email

@masterisk
Copy link
Author

I finally got it to work as a nuget package... it works without being in the project directory now. But I'm having another issue. I'm getting "Warning. Invalid resolution 0 dpi. Using 70 instead."

I will close this thread and make another for the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants