Skip to content

Instantly share code, notes, and snippets.

@mcqueenorama
Created September 8, 2014 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcqueenorama/591ff85f6a0c9ca3daf4 to your computer and use it in GitHub Desktop.
Save mcqueenorama/591ff85f6a0c9ca3daf4 to your computer and use it in GitHub Desktop.
go install prob
bash-3.2$ ls /Users/bmcquee/include/
leptonica
bash-3.2$ ls /Users/bmcquee/include/leptonica/
allheaders.h arrayaccess.h bmf.h dewarp.h gplot.h jbclass.h morph.h queue.h regutils.h watershed.h
alltypes.h bbuffer.h bmp.h endianness.h heap.h leptwin.h pix.h readbarcode.h stack.h
array.h bilateral.h ccbord.h environ.h imageio.h list.h ptra.h recog.h sudoku.h
bash-3.2$ ls /Users/bmcquee/include/leptonica/allheaders.h
/Users/bmcquee/include/leptonica/allheaders.h
bash-3.2$ go get -x github.com/GeertJohan/go.leptonica
WORK=/var/folders/9q/3j0vn7j52qd78qv49ldsw4cj6wf43f/T/go-build434004654
mkdir -p $WORK/github.com/GeertJohan/go.leptonica/_obj/
mkdir -p $WORK/github.com/GeertJohan/
cd /Users/bmcquee/dev/gothing/src/github.com/GeertJohan/go.leptonica
CGO_LDFLAGS="-g" "-O2" "-llept" /usr/local/go/pkg/tool/darwin_386/cgo -objdir $WORK/github.com/GeertJohan/go.leptonica/_obj/ -- -I $WORK/github.com/GeertJohan/go.leptonica/_obj/ leptonica.go
# github.com/GeertJohan/go.leptonica
src/github.com/GeertJohan/go.leptonica/leptonica.go:5:10: fatal error: 'leptonica/allheaders.h' file not found
#include "leptonica/allheaders.h"
^
1 error generated.
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment