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

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in #199

Open
golang730 opened this issue Aug 1, 2020 · 6 comments
Open

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in #199

golang730 opened this issue Aug 1, 2020 · 6 comments

Comments

@golang730
Copy link

golang 1.13 compile

github.com/otiai10/gosseract/v2

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

@xiyichan
Copy link

I also encountered the same problem. Did you solve it?

@Lambels
Copy link

Lambels commented Jun 17, 2021

I am also encountering the same problem.

@otiai10
Copy link
Owner

otiai10 commented Jun 18, 2021

Can you give me a reproducible Dockerfile or the way how to reproduce this problem in a specific OS.

@Lambels
Copy link

Lambels commented Jun 19, 2021

Summary

Cannot import.

go get -t github.com/otiai10/gosseract
# github.com/otiai10/gosseract
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

Enviroment

Go env

go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\me\AppData\Local\go-build
set GOENV=C:\Users\me\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\me\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\me\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.16.5
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\me\Projects\Code to Theme\api\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\me\AppData\Local\Temp\go-build3777806562=/tmp/go-build -gno-record-gcc-switches

Go version

go version
go version go1.16.5 windows/amd64

Tesseract-OCR version

tesseract --version
tesseract v4.0.0.20190314
 leptonica-1.78.0
  libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.3) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.2.0
 Found AVX2
 Found AVX
 Found SSE

Thanks, and would appreciate a response.

@kirill011
Copy link

Is there a solution to this problem?

@4yMa4Echiy
Copy link

Is there a solution to this problem?

I had MinGW x86 installed and this error also occurred, after installing MinGW 64 the error was resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants