Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant go get id3-go on windows #21

Closed
Jbbouille opened this issue Nov 3, 2015 · 4 comments
Closed

Cant go get id3-go on windows #21

Jbbouille opened this issue Nov 3, 2015 · 4 comments

Comments

@Jbbouille
Copy link

When i try to do a go get github.com/mikkyang/id3-go on windows it fails. I just install gcc with MinGW and it is a fresh install so i doubt it come from this part.

go get -x github.com/mikkyang/id3-go
WORK=C:\Users\admin\AppData\Local\Temp\go-build230481106
mkdir -p $WORK\github.com\djimenez\iconv-go\_obj\
mkdir -p $WORK\github.com\djimenez\
cd D:\Pro\go\src\github.com\djimenez\iconv-go
CGO_LDFLAGS="-g" "-O2" "-liconv" "C:\\Go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "C:\\Users\\admin\\AppData
\\Local\\Temp\\go-build230481106\\github.com\\djimenez\\iconv-go\\_obj\\" -importpath github.com/djimenez/iconv
-go -- -I "C:\\Users\\admin\\AppData\\Local\\Temp\\go-build230481106\\github.com\\djimenez\\iconv-go\\_obj\\" c
onverter.go
go build github.com/djimenez/iconv-go: C:\Go\pkg\tool\windows_amd64\cgo.exe: exit status 2
@mikkyang
Copy link
Owner

mikkyang commented Nov 9, 2015

Thanks for the feedback. Unfortunately, I don't own any Windows products, so I wouldn't be able to personally reproduce this error and debug it. Have you had this error with any other Go packages? Sorry that I can't help you with this.

@cryptix
Copy link

cryptix commented Mar 19, 2016

@Jbbouille the build fails on github.com/djimenez/iconv-go maybe ask there or find a suitable replacement for that dependency here and build conditionally.

@Sossenbinder
Copy link

Has anyone found a solution to this yet? I am completely stuck on the same issue.

@casept
Copy link

casept commented Mar 25, 2017

Unfortunately, it's fairly unlikely to be fixed, as it would require ripping out everything to do with iconv and using a different, cross-platform approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants