{"issue":{"created_at":"2011-10-13T13:24:29Z","state":"open","updated_at":"2011-11-21T17:09:02Z","user":{"gravatar_id":"2c21bed614c58c9e1c48fe272e79efd2","id":196248,"url":"https://api.github.com/users/jhawk28","login":"jhawk28","avatar_url":"https://secure.gravatar.com/avatar/2c21bed614c58c9e1c48fe272e79efd2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":5,"body":"I updated the CGO_CFLAGS and the CGO_LDFLAGS to point to the ZMQ include and lib directories. Here is the output:\r\n\r\n$ make\r\nCGOPKGPATH=github.com/alecthomas cgo -- -I\"D:/Program Files/zeromq-2.1.10/include\" zmq.go\r\ntouch _obj/_cgo_run\r\n8g  -p github.com/alecthomas/gozmq -o _go_.8  _obj/zmq.cgo1.go _obj/_cgo_gotypes.go\r\nzmq.go:320[_obj/zmq.cgo1.go:323]: cannot use _Ctype_int(pi.Fd) (type _Ctype_int) as type _Ctypedef_SOCKET in assignment\r\nmake: *** [_go_.8] Error 1","assignee":null,"id":1900065,"number":10,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Cannot compile under Windows","closed_at":null,"html_url":"https://github.com/alecthomas/gozmq/issues/10","url":"https://api.github.com/repos/alecthomas/gozmq/issues/10","milestone":null},"action":"created","comment":{"created_at":"2011-11-21T17:09:02Z","updated_at":"2011-11-21T17:09:02Z","user":{"gravatar_id":"65b42c59ffe8d671459604f0f32f7a30","id":41767,"url":"https://api.github.com/users/alecthomas","login":"alecthomas","avatar_url":"https://secure.gravatar.com/avatar/65b42c59ffe8d671459604f0f32f7a30?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Checking the Go source itself, the \"solution\" they use is per-platform shell scripts that generate Go code. This is not great.","id":2817810,"url":"https://api.github.com/repos/alecthomas/gozmq/issues/comments/2817810"}}