Skip to content
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

vulkancube_glfw make #63

Open
Wsyspringsun opened this issue Jul 14, 2022 · 0 comments
Open

vulkancube_glfw make #63

Wsyspringsun opened this issue Jul 14, 2022 · 0 comments

Comments

@Wsyspringsun
Copy link

MoltenVK installed:
C02F32EDML85:vulkancube_glfw bytedance$ ls /usr/local/lib/MoltenVK/
MoltenVK.xcframework dylib include

run:
C02F32EDML85:vulkancube_glfw bytedance$ make
CGO_CFLAGS="-I"/usr/local/Cellar/glfw/3.3.7/include"" CGO_LDFLAGS="-L"/usr/local/Cellar/glfw/3.3.7/lib"" go install

error:

github.com/vulkan-go/vulkan

ld: framework not found MoltenVK
clang: error: linker command failed with exit code 1 (use -v to see invocation)

github.com/vulkan-go/glfw/v3.3/glfw

ld: framework not found MoltenVK
clang: error: linker command failed with exit code 1 (use -v to see invocation)

github.com/vulkan-go/glfw/v3.3/glfw

In file included from ../../../../../pkg/mod/github.com/vulkan-go/[email protected]/v3.3/glfw/c_glfw_darwin.go:8:
../../../../../pkg/mod/github.com/vulkan-go/[email protected]/v3.3/glfw/glfw/src/cocoa_window.m:1027:9: warning: multiple methods named 'center' found [-Wobjc-multiple-method-names]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:604:19: note: using
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:341:1: note: also found
make: *** [install] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant