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

Error: cppan command '0' not found #1107

Closed
Bruevitz opened this issue Sep 4, 2017 · 2 comments
Closed

Error: cppan command '0' not found #1107

Bruevitz opened this issue Sep 4, 2017 · 2 comments

Comments

@Bruevitz
Copy link

Bruevitz commented Sep 4, 2017

I tried compiling by following the instruction on https://github.com/tesseract-ocr/tesseract/wiki/Compiling.

When I run the command cmake ..
it gave me an error message: cppan command '0' not found, hence the solution (.sln) file was not created.

Please help.

Environment

  • Tesseract Version: 4.00
  • Commit Number:
  • Platform: Windows *8 64 bit

Current Behavior:

Getting error message cppan command '0' not found.

image
Error log attached.
CMAKE.zip

Expected Behavior:

Suggested Fix:

@egorpugin
Copy link
Contributor

Hi,

Check if you're running the latest cppan client.
Remove your tesseract/build dir and re-create it again.
If this does not help, delete c:\users\u\.cppan\storage\tmp and re-run your commands.
If this does not help, remove the whole storage and try again.

@Bruevitz
Copy link
Author

Bruevitz commented Sep 6, 2017

Hi,

It is solved. Apparently I forgot to set the PATH for CMAKE and GIT in the System Environment Variables.
I set the path and ran the command again.

Cheers.

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