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

enter image description here

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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -