Hello, 

I have been trying to build from source the 4.0.0 rc2 and the release code 
bases for Linux arm64.  I have been trying to use it in conjunction with 
the javacpp project which has shell scripts for building both the Leptonica 
and Tesseract projects.  I received a bit of help when I submitted a bug 
because the make file was throwing an error and I was told that I had to 
run the autogen.sh script to fix the one issue where it was trying to 
compile in something that was no longer part of the project.  

I am now getting an error that seems to be that Tesseract is not able to 
find something that SHOULD be in the liblept.so

/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_dec_init'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_dec_free'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_dec_in'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_enc_free'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_enc_out'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_dec_getsize'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_newlen'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_dec_getimage'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_strerror'
/home/nvidia/Documents/Git/javacpp-presets/leptonica/cppbuild/linux-arm64/lib/liblept.so:
 
undefined reference to `jbg_enc_init'
collect2: error: ld returned 1 exit status
Makefile:580: recipe for target 'tesseract' failed
make[2]: *** [tesseract] Error 1
make[2]: Leaving directory 
'/home/nvidia/Documents/Git/javacpp-presets/tesseract/cppbuild/linux-arm64/tesseract-4.0.0-rc2/src/api'
Makefile:494: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
'/home/nvidia/Documents/Git/javacpp-presets/tesseract/cppbuild/linux-arm64/tesseract-4.0.0-rc2'
Makefile:403: recipe for target 'all' failed
make: *** [all] Error 2
~/Documents/Git/javacpp-presets/tesseract

In this attempt I was back to trying rc2 but I had the same error on 4.0.0 
release.

I am using leptonica-1.76.0 which seemed to build correctly after I update 
tiff package to tiff-4.0.10 because of an odd config.guess issue. 

Has anyone else been able to make this build correctly for the Jetson TX2 
even if it was not part of the javacpp build process?

I am guessing there is something wrong with my version of leptonica from 
the error but I am not sure what the next step is in tracking down and 
ultimately fixing my issue.

Many Thanks!

Kyle

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/a569ffec-7683-4a1c-b459-2c5202467a30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to