DanBloomberg / leptonica

Leptonica is an open source library containing software that is broadly useful for image processing and image analysis applications. The official github repository for Leptonica is: danbloomberg/leptonica. See leptonica.org for more documentation.
Other
1.76k stars 387 forks source link

How to build and install leptonicsa in Ubuntu from source? #620

Closed shenw000 closed 1 year ago

shenw000 commented 2 years ago

I am new to the leptonica and need to build and install leptonica on Ubuntu 16.04. I have git cloned the leptonica source repo to my computer. But can't find the build and install Could you share with me the build and install instruction for leptonica on linux?

Thx! shenw000

DanBloomberg commented 2 years ago

I suggest that you use one of the releases; say, 1.82. They're set up for the usual "configure, make, make install" formula, that doesn't require installation of autotools. See the README

If you want to build from the github master, you can do it easily either with autotools or cmake. Again, the procedures are explained in the README.

shenw000 commented 2 years ago

Thank you, DanBloomberg! I have successfully installed leptonica-1.82.0. After that, I run the command "make check",, and it shows that 117 pass and 25 skip. Does that look right?

DanBloomberg commented 2 years ago

Seems OK. Which of these libraries do you have on your computer: jpeg, tiff, png

shenw000 commented 2 years ago

OK, thanks! I have jpeg, tiff, and png plus some other image libraries on my computer.

DanBloomberg commented 2 years ago

Perhaps it's not finding one of those 3 libraries. What is the first line of output when you run a function like numa3_reg?

amitdo commented 1 year ago

Dan, there was no reply to your last question.

I suggest to close this issue.