Skip to content

Can't run on Windows #74

Description

@kurwavidae

Having trouble running the API bridge for debugging purposes. I cloned the repo and tried to run it, but this is all I get:

User@DESKTOP-8IKPLI6 MINGW64 ~/TwitterAPIBridge (main)
$ go run .
# github.com/h2non/bimg
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:93:49: undefined: Gravity
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:133:29: undefined: Watermark
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:139:34: undefined: WatermarkImage
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:152:26: undefined: Angle
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:181:31: undefined: Interpretation
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:202:27: undefined: Options
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:212:29: undefined: ImageMetadata
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:218:35: undefined: Interpretation
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\image.go:234:25: undefined: ImageSize
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\resize.go:11:27: undefined: Options
..\go\pkg\mod\github.com\h2non\bimg@v1.1.9\resize.go:11:27: too many errors

This is what go version reports:

User@DESKTOP-8IKPLI6 MINGW64 ~/TwitterAPIBridge (main)
$ go version
go version go1.26.1 windows/amd64

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions