I try to use either go-qml or getk3 to create a very simple desktop application that can run under OS X. However, when I try to use go get to install any library, it will try to create for i386 and skip the libraries that were created against x86_64. I could try to get a 32-bit version of these libraries, but I would prefer to build for a 64-bit version. How do I instruct to do this?
The warnings followed by errors are as follows:
go get gopkg.in/qml.v1 # gopkg.in/qml.v1 ld: warning: ld: warning: ld: warning: ignoring file /usr/local/Cellar/qt5/5.3.2/lib/QtWidgets.framework/QtWidgets, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/qt5/5.3.2/lib/QtWidgets.framework/QtWidgetsignoring file /usr/local/Cellar/qt5/5.3.2/lib/QtGui.framework/QtGui, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/qt5/5.3.2/lib/QtGui.framework/QtGuiignoring file /usr/local/Cellar/qt5/5.3.2/lib/QtQuick.framework/QtQuick, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/qt5/5.3.2/lib/QtQuick.framework/QtQuick
source share