chai2010 / chai2010/webp

Problem with macos build

Open
#21 12 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
723
Forks
113
PR merge metrics
No merged PRs in 30d

Description

I try to build application which use webp library and can't build it with enabled CGO:
``` GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -ldflags "-X main.Version=2.1.29 -X main.Build=`git rev-parse HEAD` -X main.BuildTime=`date +%FT%T%z`" -o bin ```
I have gcc installed.
![image](https://user-images.githubusercontent.com/196578/47353352-48fa8580-d6e6-11e8-9332-e81a6a74cc74.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the supplied GOOS=darwin, GOARCH=amd64, CGO_ENABLED=1 go build command in the webp repository on macOS, then inspect the build error shown in the issue image. Determine whether the project can build with CGO and the webp library enabled; done means the command completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, macos
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.