Skip to content

vulkancube_glfw make #63

@Wsyspringsun

Description

@Wsyspringsun

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/glfw@v0.0.0-20190520160600-32f33e359ff2/v3.3/glfw/c_glfw_darwin.go:8:
../../../../../pkg/mod/github.com/vulkan-go/glfw@v0.0.0-20190520160600-32f33e359ff2/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions