Thank you. I've replaced the outdated "sparkle" source with the latest available.
To recap, here are updated installation instructions:
Download "qt-5.1.1-x64-mingw481r2-opengl.exe".
Run the executable.
Accept all defaults.
Download "pkg-config-lite-0.28-1_bin-win32.zip".
Extract the archive.
Copy the "bin" and "share" subfolders to "C:\Qt\qt-5.1.1-x64-mingw-opengl\mingw64".
Download "glib_2.26.1-1_win64.zip".
Extract the archive.
Copy the "bin", "manifest", and "share" subfolders to "C:\Qt\qt-5.1.1-x64-mingw-opengl\mingw64".
Download "glib-dev_2.26.1-1_win64.zip".
Extract the archive.
Copy the "bin", "include", "lib", "manifest", "share", and "src" subfolders to "C:\Qt\qt-5.1.1-x64-mingw-opengl\mingw64".
Download "proxy-libintl-dev_20090911_win64.zip".
Extract the archive.
Copy the "include", "lib", "manifest", and "src" subfolders to "C:\Qt\qt-5.1.1-x64-mingw-opengl\mingw64".
Download "gettext-runtime_0.18.1.1-2_win64.zip".
Extract the archive.
Copy the "bin", "manifest", and "share" subfolders to "C:\Qt\qt-5.1.1-x64-mingw-opengl\mingw64".
Create a "CPATH" environment variable and add the following path(s): C:\Qt\qt-5.1.1-x64-mingw-opengl\qt-5.1.1-x64-mingw-opengl\include;C:\Qt\qt-5.1.1-x64-mingw-opengl\qt-5.1.1-x64-mingw-opengl\include\QtCore\5.1.1\QtCore
Create a "LIBRARY_PATH" environment variable and add the following path(s): C:\Qt\qt-5.1.1-x64-mingw-opengl\qt-5.1.1-x64-mingw-opengl\lib
Create a "PKG_CONFIG_PATH" environment variable and add the following path(s): C:\Qt\qt-5.1.1-x64-mingw-opengl\mingw64\bin;C:\Qt\qt-5.1.1-x64-mingw-opengl\qt-5.1.1-x64-mingw-opengl\lib\pkgconfig
Append the following paths to the "PATH" environment variable: C:\Qt\qt-5.1.1-x64-mingw-opengl\mingw64\bin;C:\Qt\qt-5.1.1-x64-mingw-opengl\qt-5.1.1-x64-mingw-opengl\bin
The sparkle example now compiles, however, when running the executable the following error is printed at the console:
fatal error: malloc/free - deadlock
[signal 0xc0000005 code=0x0 addr=0x30 pc=0x41e56a]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7fefe8a8ee7
runtime.throw(0x62fd60)
C:/go/src/pkg/runtime/panic.c:464 +0x74
runtime.mallocgc(0x10, 0x0, 0x0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist259766551/go/src/pkg/runtime/malloc.goc:51 +0x57runtime.mal(0x10)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist259766551/go/src/pkg/runtime/malloc.goc:700 +0x3b
copyin(0x4e3260, 0x22fb88, 0x22fba0)
C:/go/src/pkg/runtime/iface.c:153 +0x6a
runtime.convT2E(0x4e3260, 0x62e80f, 0x31, 0x4e3260, 0x31)
C:/go/src/pkg/runtime/iface.c:221 +0x46
runtime.newErrorString(0x62e80f, 0x31, 0x22fbd8)
C:/go/src/pkg/runtime/error.go:74 +0x3d
runtime.panicstring(0x62e80f)
C:/go/src/pkg/runtime/panic.c:477 +0x94
runtime.sigpanic()
C:/go/src/pkg/runtime/os_windows.c:337 +0xca
runtime.mallocgc(0x10, 0x0, 0x0)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist259766551/go/src/pkg/runtime/malloc.goc:70 +0xfa
runtime.mal(0x10)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist259766551/go/src/pkg/runtime/malloc.goc:700 +0x3b
copyin(0x4e3260, 0x22fd10, 0x22fd28)
C:/go/src/pkg/runtime/iface.c:153 +0x6a
runtime.convT2E(0x4e3260, 0x62e80f, 0x31, 0x4e3260, 0x31)
C:/go/src/pkg/runtime/iface.c:221 +0x46
runtime.newErrorString(0x62e80f, 0x31, 0x22fd60)
C:/go/src/pkg/runtime/error.go:74 +0x3d
runtime.panicstring(0x62e80f)
C:/go/src/pkg/runtime/panic.c:477 +0x94
runtime: unexpected return pc for runtime.sigpanic called from 0x7fefe8a8ee7
runtime.sigpanic()
C:/go/src/pkg/runtime/os_windows.c:337 +0xca
goroutine 4 [syscall]:
runtime.cgocall(0x49bb72, 0x83df90)
C:/go/src/pkg/runtime/cgocall.c:149 +0x120 fp=0x83df78
github.com/niemeyer/qml._Cfunc_idleTimerInit(0x639a9c) C:/Temp/go-build553703215/
github.com/niemeyer/qml/_obj/_cgo_defun.c:223+0x34 fp=0x83df90
github.com/niemeyer/qml.guiLoop() K:/Development/go/src/
github.com/niemeyer/qml/bridge.go:31 +0x48 fp=0x83
dfa0
runtime.goexit()
C:/go/src/pkg/runtime/proc.c:1389 fp=0x83dfa8
created by
github.com/niemeyer/qml.Init K:/Development/go/src/
github.com/niemeyer/qml/qml.go:58 +0xa3
goroutine 1 [semacquire]:
sync.runtime_Semacquire(0x639adc)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist259766551/go/src/pkg/runti
me/sema.goc:199 +0x33
sync.(*Mutex).Lock(0x639ad8)
C:/go/src/pkg/sync/mutex.go:66 +0xd9
github.com/niemeyer/qml.Init(0x0) K:/Development/go/src/
github.com/niemeyer/qml/qml.go:59 +0xb6
main.main()
K:/Development/go/src/
mohavecounty.us/QmlTest/main.go:10 +0x2c
goroutine 3 [syscall]:
runtime.goexit()
C:/go/src/pkg/runtime/proc.c:1389