bakape / thumbnailer

Go media thumbnailer
MIT License
152 stars 36 forks source link

thumbnailer couldn't compile. blur.c no such file or directory #39

Closed miqe closed 5 years ago

miqe commented 5 years ago

vendor/github.com/bakape/thumbnailer/build_flags_gpl.go:7:11: fatal error: blur.c: No such file or directory // #include "blur.c" ^~~~~~~~ compilation terminated.

bakape commented 5 years ago

Did you fetch the git submodules? go get does this automatically.

On Thu, 8 Nov 2018, 11:21 Michael <notifications@github.com wrote:

vendor/github.com/bakape/thumbnailer/build_flags_gpl.go:7:11: fatal error: blur.c: No such file or directory // #include "blur.c" ^~~~ compilation terminated.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bakape/thumbnailer/issues/39, or mute the thread https://github.com/notifications/unsubscribe-auth/AHfPsOJEg0SPRTAN8zI1McF2xvIrchcpks5us_eSgaJpZM4YUSIC .

bakape commented 5 years ago

Are you using Go modules? If yes, seems to be related to https://github.com/golang/go/issues/26504 If you happen to find a fix (aside from copying lodepng and imagequant directly into the root dir and losing all submodule version control), let me know.

miqe commented 5 years ago

Yes i am using Go modules with dep. I'll take a look at golang/go#26504 Thanks for replying.

bakape commented 5 years ago

Closed with f191a43e9c3c7c9522a67dd81ed1aec9cea0280d