Code Monkey home page Code Monkey logo

Comments (1)

DeadNumbers avatar DeadNumbers commented on June 19, 2024 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.