Skip to content

Building on Windows

l1n3n01z edited this page Nov 6, 2013 · 23 revisions

This article is a stub and is based on the discussion in #119!

Building on windows requires mingw, currently it is only possible to use 32 bit version of mingw for qt5, so for now we are confined to 32 bit setup, even on 64 bit Windows.

install libffi in msys terminal and mount c:/mingw32 /mingw ./configure --prefix=/mingw make make install

change cgo.go:

// #cgo CFLAGS: -Ic:/python33/include // #cgo LDFLAGS: -Lc:/Python33/libs -Lc:/mingw/lib -ldl -lpython33 // #cgo pkg-config: libffi

run go test from gopy as stated in regular build instructions.