-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on Windows with Go 1.3 #78
Comments
Could this be a duplicate of #76? |
It isn't. The problem is still present in qml.v1. |
With my current setup and 1.3.1 it doesn't crash anymore. I cannot tell what solved these crashes. Anyway, I still can't get it working but I'll open another issue if it is the case. |
it also crashes here. i tested it on windows 7, x32 with qt 5.3.2, mingw, golang 1.3 |
I'm using 5.3.1 and mingw on Windows 7 x64.
|
yes i removed the go qml package from the pkg and src directory within my gopath... im getting the same issue with golang 1.3.3: i copied all dlls from C:\Qt\Qt5.3.2\5.3\mingw482_32\bin to the direcory of the executable, just to make sure i dont miss any dll... any idea? edit: i opend a new bug report, not sure if its the same issue: #109 |
did you use mingw which comes with the qt installer? |
This is my environment: GOROOT=C:\Go CPATH=%QT_PATH%\include;%MINGW_PATH%\include; PATH=%GOROOT%\bin;%QT_PATH%\bin;%MINGW_PATH%\bin;%GIT_PATH%\bin;%PATH% On Mon, Oct 6, 2014 at 2:31 PM, geraldstanje notifications@github.com
|
Sorry, I've just retried on my Windows box (after developing on Linux for a while) and found out it crashes again. I didn't change anything, so I've no idea what happened. |
ok, good to know! |
can you start the debugger, just to see if it crashes at the same place as here: #109 ? |
Thanks for having a look at this issue. |
No, it seems to be in C.applicationExec. GDB output:
|
i added my gdb output as well... |
With Qt 5.1.1, MinGW 4.8 32 bit, GTK 2.24.10 32 bit, and go 1.3.3 32 bit on Windows 7 64 bit I'm, able to run the examples included in the project without crashes. |
GTK? Why do you need GTK to install qml? Don't tell me it's for pkg-config... On Tuesday, October 14, 2014, Jason Del Ponte notifications@github.com
Carlos Castillo |
yeah it was for pkg-config, and libglib-2.0.0. I'm pretty new to qml and qt in general, but in order for the go get to work for me i needed to install pkg-config and libglib. gtk was the simplest place to get both of them, and what ever dependancies they had. |
There is a version of pkg-config (pkg-config-lite) that doesn't have any Also I'm considering writing a version of pkg-config in go, since the user On Tuesday, October 14, 2014, Jason Del Ponte notifications@github.com
Carlos Castillo |
+1 for a Go pkg-config implementation! I was finding this issue while looking for a sane way to install pkg-config on Windows after following the instructions in the go-qml README, and I was contemplating the same. It's a shame that such a (relatively) simple and widely-used tool is not trivial to install. |
See also #114. |
Re pkg-config again: see https://pypi.python.org/pypi/pykg-config/1.3.0 for a Python re-implementation. |
So instead of needing to install GTK to build a QT based package, we will On Sun, Oct 19, 2014 at 2:27 PM, Felix Rabe notifications@github.com
Carlos Castillo |
No, I just stumbled over this other pkg-config implementation (with a similar motivation perhaps) and it might be interesting to look at / borrow from it. |
Last pkg-config related comment here (big promise!): https://github.com/pkgconf/pkgconf might also be worth considering. |
@niemeyer could you add the following link to Windows section of the readme? pkg-config needs to be installed: http://win32builder.gnome.org/packages/3.6/pkg-config_0.28-1_win32.zip |
When compiling qml.v0 using Go 1.3 on Windows (32 bit) the resulting binary crashes when launched without any explaination.
The very same environment, but with Go 1.2, produces working binaries.
This is true also for examples.
The text was updated successfully, but these errors were encountered: