Comments (1)
@otiai10 anyway, can't build. Tesseract version 4.00.00dev.r690.g1b0379c2-1
,
$ g++ -v
Используются внутренние спецификации.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.1.1/lto-wrapper
Целевая архитектура: x86_64-pc-linux-gnu
Параметры конфигурации: /build/gcc-multilib/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Модель многопоточности: posix
gcc версия 7.1.1 20170630 (GCC)```
``` $ go get -u -v -x github.com/otiai10/gosseract
cd /home/user/go/src/github.com/otiai10/gosseract
git config remote.origin.url
github.com/otiai10/gosseract (download)
cd /home/user/go/src/github.com/otiai10/gosseract
git pull --ff-only
cd /home/user/go/src/github.com/otiai10/gosseract
git submodule update --init --recursive
cd /home/user/go/src/github.com/otiai10/gosseract
git show-ref
cd /home/user/go/src/github.com/otiai10/gosseract
git submodule update --init --recursive
cd /home/user/go/src/github.com/otiai10/gosseract
git config remote.origin.url
WORK=/tmp/go-build507722304
github.com/otiai10/gosseract/tesseract
mkdir -p $WORK/github.com/otiai10/gosseract/tesseract/_obj/
mkdir -p $WORK/github.com/otiai10/gosseract/
cd /home/user/go/src/github.com/otiai10/gosseract/tesseract
CGO_LDFLAGS="-g" "-O2" "-llept" "-ltesseract" /usr/lib/go/pkg/tool/linux_amd64/cgo -objdir $WORK/github.com/otiai10/gosseract/tesseract/_obj/ -importpath github.com/otiai10/gosseract/tesseract -- -I $WORK/github.com/otiai10/gosseract/tesseract/_obj/ -g -O2 wrapper.go
cd $WORK
gcc -fdebug-prefix-map=a=b -c trivial.c
gcc -gno-record-gcc-switches -c trivial.c
cd $WORK/github.com/otiai10/gosseract/tesseract/_obj
gcc -I /home/user/go/src/github.com/otiai10/gosseract/tesseract -fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -I ./ -g -O2 -o ./_cgo_export.o -c _cgo_export.c
gcc -I /home/user/go/src/github.com/otiai10/gosseract/tesseract -fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -I ./ -g -O2 -o ./wrapper.cgo2.o -c wrapper.cgo2.c
cd /home/user/go/src/github.com/otiai10/gosseract/tesseract
g++ -I . -fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -I $WORK/github.com/otiai10/gosseract/tesseract/_obj/ -g -O2 -o $WORK/github.com/otiai10/gosseract/tesseract/_obj/tess.cpp.o -c tess.cpp
# github.com/otiai10/gosseract/tesseract
In file included from /usr/include/tesseract/ltrresultiterator.h:26:0,
from /usr/include/tesseract/resultiterator.h:26,
from /usr/include/tesseract/baseapi.h:31,
from tess.cpp:1:
/usr/include/tesseract/unichar.h:164:10: ошибка: «string» does not name a type; did you mean «stdin»?
static string UTF32ToUTF8(const std::vector<char32>& str32);
^~~~~~
stdin
from gosseract.
Related Issues (20)
- Gosseract Windows Compatibility
- leptonica allheaders.h not found HOT 3
- leptonica HOT 3
- Convert image to pdf HOT 1
- undefined: gosseract.NewClient HOT 15
- fatal error: leptonica/allheaders.h: No such file or directory HOT 1
- Fails to OCR file that CLI Tesseract handles perfectly HOT 2
- tessbridge.cpp:5:10: fatal error: 'leptonica/allheaders.h' file not found HOT 1
- `leptonica` a hundredth time! HOT 7
- does not recognize spaces as another found result
- how can i get Orientation in degrees
- Extracting text is not working correctly in v5.3.0-2 in Alpine
- Mac OS run err:ld: library not found for -lleptonica HOT 3
- build for windows arch fail HOT 1
- Linking and DLL runtime issues on Windows HOT 1
- library not found for -llept HOT 5
- undefined: gosseract.NewClient HOT 3
- ld: library 'leptonica' not found HOT 2
- Сrashes with concurrency (win11) HOT 2
- [Question] High CPU Usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gosseract.