-
Notifications
You must be signed in to change notification settings - Fork 81
Windows Install #84
Comments
Are you following https://github.com/conformal/gotk3/wiki/Installing-on-Windows? |
Yes. The last step at 'Test pkg-config' works correctly. |
Here's what I have:
|
This looks like it could be an error in mingw32 (or the amd64 port), but I have never run into it before. size_t should be defined by stddef.h but it appears that stddef.h is including crtdefs.h, which references the size_t type, but size_t doesn't exist yet. Are you able to try with a more recent mingw-w64? |
Is there more recent? This is Attempting to use TDM-GCC-64 I get the same thing:
etc.. |
I thought there would be a GCC 4.9-based mingw-w64 but it appears to not be out yet. It does look like they released 4.8.2, however. |
Also, what version of Go are you using? |
I don't see 4.8.2.
|
You cannot use windows/386 Go with the amd64 mingw32 port and amd64 Fedora packages. Install the amd64 Go instead. Also, you should update to Go 1.3.1. Go 1.3 shipped with a broken cgo and doesn't always successfully build gotk3. 1.3.2 was released which fixes a security issue in the tls package, but the release is also broken on Windows, so use 1.3.1 for now and update to 1.3.3 when it's out in a few more days. |
Aha! Thanks for catching that. I'll let you know how it goes. |
more errors like this... |
The official Go binary expects its GOROOT to be C:\Go. You will need to set an alternative GOROOT if you put it in a different location (like C:\Go\64), or it won't be able to find the stdlib packages and other Go tools. |
oops. Thanks.
etc.. |
The packages I downloaded:
|
I cleaned up my env vars, was able to install some other sw I was having problems with and re-ran go get:
This happens when I try to run example programs too. |
Be sure to use the right build tag options (-tags gtk_3_10) or it will default to a 3.12 build. Alternatively, you could try newer Fedora packages if they include GTK 3.12. |
That worked. However, when I build an example, the executable complains that it can't find
|
Ok, it's working when I make a copy and rename |
Make actionbar actually only for 3.12
Many more lines like this. Win 7.
The text was updated successfully, but these errors were encountered: