metal - Compile error after update to swift 3 -
i have xcodeproject
use learning metal
swift
. after update swift3
, have compile error:
error: cannot have global constructors (llvm.global_ctors) in compute command /applications/xcode.app/contents/developer/platforms/macosx.platform/usr/bin/metallib failed exit code 1
which, compute
name of kernel function. did not indicate part of code coursing error. , did mentioned llvm.global_ctors
, might related build setting
part. not familiar part not sure how fix it.
how can resolve this?
Comments
Post a Comment