Giter Club home page Giter Club logo

Comments (5)

alexflint avatar alexflint commented on June 15, 2024 5

It looks like a git lfs problem to me. You can probably fix this with

cd $GOPATH/src/github.com/alexflint/gallium
git lfs pull

or just delete and re-fetch the entire library (is it possible that you installed git lfs after the initial go get?)

To confirm whether or not this is in fact the problem, try running

du -h $GOPATH/src/github.com/alexflint/gallium/dist/Gallium.framework/Versions/Current/Gallium

That file should be 1.2 MB. If I'm correct then you will see a substantially smaller file.

from gallium.

ufukomer avatar ufukomer commented on June 15, 2024 1

@alexflint git lfs pull that worked! I don't understand the reason but anyway thanks a lot.

from gallium.

costis avatar costis commented on June 15, 2024 1

Same problem for me. git lfs pull fixed it.

from gallium.

alexflint avatar alexflint commented on June 15, 2024

How strange... I do not know what's causing this. If you're willing to do some debugging with me then would you post the output of these commands here:

file Go/src/github.com/alexflint/gallium/dist/Gallium.framework/Gallium
md5sum Go/src/github.com/alexflint/gallium/dist/Gallium.framework/Gallium
go env

also, grasping at straws here, but also:

go build -x ./example

from gallium.

ufukomer avatar ufukomer commented on June 15, 2024

file dist/Gallium.framework/Gallium
dist/Gallium.framework/Gallium: ASCII text

md5sum dist/Gallium.framework/Gallium
d756c03564094c881c370dfe84c558dd dist/Gallium.framework/Gallium

go env
GOARCH="amd64"
GOBIN="/Users/ufukomer/Go/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/ufukomer/Go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mt/151r_jns7c1ft40xprjbljn00000gp/T/go-build629599968=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"

go build -x ./examples/...
WORK=/var/folders/mt/151r_jns7c1ft40xprjbljn00000gp/T/go-build309676748
mkdir -p $WORK/github.com/alexflint/gallium/_obj/
mkdir -p $WORK/github.com/alexflint/
cd /Users/ufukomer/Go/src/github.com/alexflint/gallium
CGO_LDFLAGS="-g" "-O2" "-F/Users/ufukomer/Go/src/github.com/alexflint/gallium/dist" "-framework" "Gallium" "-Wl,-rpath,@executable_path/../Frameworks" "-Wl,-rpath,@loader_path/../Frameworks" "-Wl,-rpath,/Users/ufukomer/Go/src/github.com/alexflint/gallium/dist" "-mmacosx-version-min=10.8" /usr/local/go/pkg/tool/darwin_amd64/cgo -objdir $WORK/github.com/alexflint/gallium/_obj/ -importpath github.com/alexflint/gallium -- -I $WORK/github.com/alexflint/gallium/_obj/ -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include app.go callbacks.go cocoa.go globalshortcut.go linkflags.go rect.go screen.go
cd $WORK
clang -fdebug-prefix-map=a=b -c trivial.c
clang -gno-record-gcc-switches -c trivial.c
cd /Users/ufukomer/Go/src/github.com/alexflint/gallium
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/_cgo_main.o -c $WORK/github.com/alexflint/gallium/_obj/_cgo_main.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/_cgo_export.o -c $WORK/github.com/alexflint/gallium/_obj/_cgo_export.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/app.cgo2.o -c $WORK/github.com/alexflint/gallium/_obj/app.cgo2.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/callbacks.cgo2.o -c $WORK/github.com/alexflint/gallium/_obj/callbacks.cgo2.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/cocoa.cgo2.o -c $WORK/github.com/alexflint/gallium/_obj/cocoa.cgo2.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/globalshortcut.cgo2.o -c $WORK/github.com/alexflint/gallium/_obj/globalshortcut.cgo2.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/linkflags.cgo2.o -c $WORK/github.com/alexflint/gallium/_obj/linkflags.cgo2.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/rect.cgo2.o -c $WORK/github.com/alexflint/gallium/_obj/rect.cgo2.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/alexflint/gallium/_obj/ -g -O2 -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -mmacosx-version-min=10.8 -DGALLIUM_DIR=/Users/ufukomer/Go/src/github.com/alexflint/gallium -Idist/include -o $WORK/github.com/alexflint/gallium/_obj/screen.cgo2.o -c $WORK/github.com/alexflint/gallium/_obj/screen.cgo2.c
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -o $WORK/github.com/alexflint/gallium/_obj/cgo.o $WORK/github.com/alexflint/gallium/_obj/_cgo_main.o $WORK/github.com/alexflint/gallium/_obj/_cgo_export.o $WORK/github.com/alexflint/gallium/_obj/app.cgo2.o $WORK/github.com/alexflint/gallium/_obj/callbacks.cgo2.o $WORK/github.com/alexflint/gallium/_obj/cocoa.cgo2.o $WORK/github.com/alexflint/gallium/_obj/globalshortcut.cgo2.o $WORK/github.com/alexflint/gallium/_obj/linkflags.cgo2.o $WORK/github.com/alexflint/gallium/_obj/rect.cgo2.o $WORK/github.com/alexflint/gallium/_obj/screen.cgo2.o -g -O2 -F/Users/ufukomer/Go/src/github.com/alexflint/gallium/dist -framework Gallium -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,@loader_path/../Frameworks -Wl,-rpath,/Users/ufukomer/Go/src/github.com/alexflint/gallium/dist -mmacosx-version-min=10.8
github.com/alexflint/gallium
ld: warning: ignoring file ./dist/Gallium.framework/Gallium, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./dist/Gallium.framework/Gallium
Undefined symbols for architecture x86_64:
"_GalliumAddGlobalShortcut", referenced from:
__cgo_c166c2779055_Cfunc_helper_AddGlobalShortcut in globalshortcut.cgo2.o
"_GalliumFocusedScreen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumFocusedScreen in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumFocusedScreen)
"_GalliumLoop", referenced from:
__cgo_c166c2779055_Cfunc_helper_GalliumLoop in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_helper_GalliumLoop)
"_GalliumOpenWindow", referenced from:
__cgo_c166c2779055_Cfunc_GalliumOpenWindow in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumOpenWindow)
"_GalliumScreen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreen in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenUsable, __cgo_c166c2779055_Cfunc_GalliumScreenShape , __cgo_c166c2779055_Cfunc_GalliumScreenBitsPerPixel , __cgo_c166c2779055_Cfunc_GalliumScreen , __cgo_c166c2779055_Cfunc_GalliumScreenCount , __cgo_c166c2779055_Cfunc_GalliumScreenID )
"_GalliumScreenBitsPerPixel", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenBitsPerPixel in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenBitsPerPixel)
"_GalliumScreenCount", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenCount in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenCount)
"_GalliumScreenID", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenID in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenID)
"_GalliumScreenShape", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenShape in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenShape)
"_GalliumScreenUsable", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenUsable in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenUsable)
"_GalliumWindowClose", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowClose in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCloseDevTools, __cgo_c166c2779055_Cfunc_GalliumWindowClose )
"_GalliumWindowCloseDevTools", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowCloseDevTools in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCloseDevTools)
"_GalliumWindowCopy", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowCopy in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCopy)
"_GalliumWindowCut", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowCut in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCut)
"_GalliumWindowDelete", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowDelete in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowDelete)
"_GalliumWindowDevToolsAreOpen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowDevToolsAreOpen in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowDevToolsAreOpen)
"_GalliumWindowGetShape", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowGetShape in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowGetShape)
"_GalliumWindowGetURL", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowGetURL in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowGetURL)
"_GalliumWindowLoadURL", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowLoadURL in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowLoadURL)
"_GalliumWindowMiniaturize", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowMiniaturize in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowMiniaturize)
"_GalliumWindowNativeController", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowNativeController in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowNativeController)
"_GalliumWindowNativeWindow", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowNativeWindow in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowNativeWindow)
"_GalliumWindowOpen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowOpen in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowOpen, __cgo_c166c2779055_Cfunc_GalliumWindowOpenDevTools )
"_GalliumWindowOpenDevTools", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowOpenDevTools in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowOpenDevTools)
"_GalliumWindowPaste", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowPaste in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowPaste, __cgo_c166c2779055_Cfunc_GalliumWindowPasteAndMatchStyle )
"_GalliumWindowPasteAndMatchStyle", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowPasteAndMatchStyle in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowPasteAndMatchStyle)
"_GalliumWindowRedo", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowRedo in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowRedo)
"_GalliumWindowReload", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowReload in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowReloadNoCache, __cgo_c166c2779055_Cfunc_GalliumWindowReload )
"_GalliumWindowReloadNoCache", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowReloadNoCache in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowReloadNoCache)
"_GalliumWindowSelectAll", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowSelectAll in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowSelectAll)
"_GalliumWindowSetShape", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowSetShape in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowSetShape)
"_GalliumWindowUndo", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowUndo in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowUndo)
"_GalliumWindowUnselect", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowUnselect in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowUnselect)
"_MainBundle_ObjectForKey", referenced from:
__cgo_c166c2779055_Cfunc_MainBundle_ObjectForKey in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_MainBundle_ObjectForKey)
"_NSApplication_Run", referenced from:
__cgo_c166c2779055_Cfunc_NSApplication_Run in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSApplication_Run)
"_NSApplication_SetMainMenu", referenced from:
__cgo_c166c2779055_Cfunc_NSApplication_SetMainMenu in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSApplication_SetMainMenu)
"_NSImage_NewFromPNG", referenced from:
__cgo_c166c2779055_Cfunc_NSImage_NewFromPNG in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSImage_NewFromPNG)
"_NSMenuItem_SetSubmenu", referenced from:
__cgo_c166c2779055_Cfunc_NSMenuItem_SetSubmenu in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSMenuItem_SetSubmenu)
"_NSMenu_AddMenuItem", referenced from:
__cgo_c166c2779055_Cfunc_NSMenu_AddMenuItem in cocoa.cgo2.o
__cgo_c166c2779055_Cfunc_helper_NSMenu_AddMenuItem in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_helper_NSMenu_AddMenuItem, __cgo_c166c2779055_Cfunc_NSMenu_AddMenuItem )
"_NSMenu_AddSeparator", referenced from:
__cgo_c166c2779055_Cfunc_NSMenu_AddSeparator in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSMenu_AddSeparator)
"_NSMenu_New", referenced from:
__cgo_c166c2779055_Cfunc_NSMenu_New in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSMenu_New)
"_NSStatusBar_AddItem", referenced from:
__cgo_c166c2779055_Cfunc_NSStatusBar_AddItem in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSStatusBar_AddItem)
"_NSUserNotificationCenter_DeliverNotification", referenced from:
__cgo_c166c2779055_Cfunc_NSUserNotificationCenter_DeliverNotification in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSUserNotificationCenter_DeliverNotification)
"_NSUserNotification_New", referenced from:
__cgo_c166c2779055_Cfunc_NSUserNotification_New in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSUserNotification_New)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

go get ./...
github.com/alexflint/gallium
ld: warning: ignoring file ./dist/Gallium.framework/Gallium, file was built for unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F ) which is not the architecture being linked (x86_64): ./dist/Gallium.framework/Gallium
Undefined symbols for architecture x86_64:
"_GalliumAddGlobalShortcut", referenced from:
__cgo_c166c2779055_Cfunc_helper_AddGlobalShortcut in globalshortcut.cgo2.o
"_GalliumFocusedScreen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumFocusedScreen in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumFocusedScreen)
"_GalliumLoop", referenced from:
__cgo_c166c2779055_Cfunc_helper_GalliumLoop in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_helper_GalliumLoop)
"_GalliumOpenWindow", referenced from:
__cgo_c166c2779055_Cfunc_GalliumOpenWindow in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumOpenWindow)
"_GalliumScreen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreen in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenUsable, __cgo_c166c2779055_Cfunc_GalliumScreenShape , __cgo_c166c2779055_Cfunc_GalliumScreenBitsPerPixel , __cgo_c166c2779055_Cfunc_GalliumScreen , __cgo_c166c2779055_Cfunc_GalliumScreenCount , __cgo_c166c2779055_Cfunc_GalliumScreenID )
"_GalliumScreenBitsPerPixel", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenBitsPerPixel in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenBitsPerPixel)
"_GalliumScreenCount", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenCount in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenCount)
"_GalliumScreenID", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenID in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenID)
"_GalliumScreenShape", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenShape in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenShape)
"_GalliumScreenUsable", referenced from:
__cgo_c166c2779055_Cfunc_GalliumScreenUsable in screen.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumScreenUsable)
"_GalliumWindowClose", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowClose in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCloseDevTools, __cgo_c166c2779055_Cfunc_GalliumWindowClose )
"_GalliumWindowCloseDevTools", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowCloseDevTools in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCloseDevTools)
"_GalliumWindowCopy", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowCopy in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCopy)
"_GalliumWindowCut", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowCut in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowCut)
"_GalliumWindowDelete", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowDelete in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowDelete)
"_GalliumWindowDevToolsAreOpen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowDevToolsAreOpen in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowDevToolsAreOpen)
"_GalliumWindowGetShape", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowGetShape in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowGetShape)
"_GalliumWindowGetURL", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowGetURL in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowGetURL)
"_GalliumWindowLoadURL", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowLoadURL in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowLoadURL)
"_GalliumWindowMiniaturize", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowMiniaturize in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowMiniaturize)
"_GalliumWindowNativeController", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowNativeController in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowNativeController)
"_GalliumWindowNativeWindow", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowNativeWindow in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowNativeWindow)
"_GalliumWindowOpen", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowOpen in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowOpen, __cgo_c166c2779055_Cfunc_GalliumWindowOpenDevTools )
"_GalliumWindowOpenDevTools", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowOpenDevTools in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowOpenDevTools)
"_GalliumWindowPaste", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowPaste in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowPaste, __cgo_c166c2779055_Cfunc_GalliumWindowPasteAndMatchStyle )
"_GalliumWindowPasteAndMatchStyle", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowPasteAndMatchStyle in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowPasteAndMatchStyle)
"_GalliumWindowRedo", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowRedo in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowRedo)
"_GalliumWindowReload", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowReload in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowReloadNoCache, __cgo_c166c2779055_Cfunc_GalliumWindowReload )
"_GalliumWindowReloadNoCache", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowReloadNoCache in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowReloadNoCache)
"_GalliumWindowSelectAll", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowSelectAll in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowSelectAll)
"_GalliumWindowSetShape", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowSetShape in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowSetShape)
"_GalliumWindowUndo", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowUndo in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowUndo)
"_GalliumWindowUnselect", referenced from:
__cgo_c166c2779055_Cfunc_GalliumWindowUnselect in app.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_GalliumWindowUnselect)
"_MainBundle_ObjectForKey", referenced from:
__cgo_c166c2779055_Cfunc_MainBundle_ObjectForKey in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_MainBundle_ObjectForKey)
"_NSApplication_Run", referenced from:
__cgo_c166c2779055_Cfunc_NSApplication_Run in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSApplication_Run)
"_NSApplication_SetMainMenu", referenced from:
__cgo_c166c2779055_Cfunc_NSApplication_SetMainMenu in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSApplication_SetMainMenu)
"_NSImage_NewFromPNG", referenced from:
__cgo_c166c2779055_Cfunc_NSImage_NewFromPNG in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSImage_NewFromPNG)
"_NSMenuItem_SetSubmenu", referenced from:
__cgo_c166c2779055_Cfunc_NSMenuItem_SetSubmenu in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSMenuItem_SetSubmenu)
"_NSMenu_AddMenuItem", referenced from:
__cgo_c166c2779055_Cfunc_NSMenu_AddMenuItem in cocoa.cgo2.o
__cgo_c166c2779055_Cfunc_helper_NSMenu_AddMenuItem in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_helper_NSMenu_AddMenuItem, __cgo_c166c2779055_Cfunc_NSMenu_AddMenuItem )
"_NSMenu_AddSeparator", referenced from:
__cgo_c166c2779055_Cfunc_NSMenu_AddSeparator in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSMenu_AddSeparator)
"_NSMenu_New", referenced from:
__cgo_c166c2779055_Cfunc_NSMenu_New in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSMenu_New)
"_NSStatusBar_AddItem", referenced from:
__cgo_c166c2779055_Cfunc_NSStatusBar_AddItem in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSStatusBar_AddItem)
"_NSUserNotificationCenter_DeliverNotification", referenced from:
__cgo_c166c2779055_Cfunc_NSUserNotificationCenter_DeliverNotification in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSUserNotificationCenter_DeliverNotification)
"_NSUserNotification_New", referenced from:
__cgo_c166c2779055_Cfunc_NSUserNotification_New in cocoa.cgo2.o
(maybe you meant: __cgo_c166c2779055_Cfunc_NSUserNotification_New)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from gallium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.