3d0c / imagio

Image Processing Web Service.
MIT License
90 stars 12 forks source link

building in method 2.2 doesn't work in Archlinux either #6

Open kaihendry opened 10 years ago

kaihendry commented 10 years ago
# github.com/3d0c/imagio/imgproc
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:68: cannot use (*C.Blob)(unsafe.Pointer(blobptr(o.Base))) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_resizer
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:69: cannot use (*C.PixelDim)(unsafe.Pointer(zoom)) (type *C.PixelDim) as type *C.struct___1 in argument to _Cfunc_resizer
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:71: cannot use (*C.CvRect)(initCvRect(roi)) (type *C.CvRect) as type *C.struct_CvRect in argument to _Cfunc_resizer
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:104: cannot use (*C.Blob)(blobptr(base)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:105: cannot use (*C.Blob)(blobptr(o.Foreground)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:106: cannot use (*C.Blob)(blobptr(o.Mask)) (type *C.Blob) as type *C.struct___0 in argument to _Cfunc_blender
/home/hendry/go/src/github.com/3d0c/imagio/imgproc/do.go:108: cannot use (*C.CvRect)(rect) (type *C.CvRect) as type *C.struct_CvRect in argument to _Cfunc_blender

http://ix.io/ewL

Thanks!

3d0c commented 10 years ago

Fixed. a82dea416d15ba237c59107a65ad973a6cac3da9

kaihendry commented 9 years ago

I don't think the fix worked, unless I'm missing something?

http://ix.io/eEw

3d0c commented 9 years ago

Quite weird... I've installed it right now on some linux host with fresh ubuntu, just by doing go get github.com/3d0c/imagio. Ensure, that go 1.3 is in your PATH, remove all imagio sources from GOPATH and try again. It should work...