google / gxui

An experimental Go cross platform UI library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem building gxui - cgo exit status and libintl-8.dll problems?

ThePiachu opened this issue · comments

I'm currently trying to build the package on Windows 7, but I'm getting some strange errors. I go into the gxui folder, run

go get ./...

and get a popup window from cc1.exe saying

"the procedure entry point printf could not be located in the dynamic link library libintl-8.dll.".

I get the same error twice and the console displays:

go build github.com/go-gl/glfw/v3.1/glfw: C:\Go\pkg\tool\windows_amd64\cgo.exe: exit status 2
go build github.com/go-gl/gl/v2.1/gl: C:\Go\pkg\tool\windows_amd64\cgo.exe: exit status 2

I tried searching for cc1.exe, but can't find one anywhere on my system. As for libintl-8.dll - I have about 10 copies of it in various folders it seems. Most recent one I installed along with gcc as a part of WinBuilds.

I'm running Windows 7, 64 bit. My Go version is go1.4.2 .

Hi @ThePiachu. I'm afraid I haven't seen anything like these issues before, and I'm not too sure what would be causing it. I am successfully building and running GXUI applications on a number of Windows 7 machines with WinBuilds. Have you checked your PATH for executables that might be picked before the expected ones?
You might have better luck asking on the relevant go-gl projects.

commented

Having the same problem like you,do you get the answer now?

commented

you may need go version 1.6