'Linking a Metal library at compile time
I have a Metal library (file ending in .metallib
) and I would like to link it in another project. My issue is that no matter how is specify the -L
and -l
flags the Metal compiler/linker doesn't ever seem to be able to link the library and thus I get an "undefined symbols" error from my project. What is the correct way of linking a Metal Library to your own library at compile time?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|