Linking to -framework on MacOS

Andrew Edwards edwards.ac at gmail.com
Fri Sep 6 08:28:25 UTC 2019


On Thursday, 5 September 2019 at 18:26:41 UTC, DanielG wrote:
> And depending on the version of macOS / which framework you're 
> linking to, you might need to specify a search path as well 
> (-F):
>
> lflags "-framework" "SomeFramework" "-framework" 
> "AnotherFramework" "-F/Library/Frameworks"
>
> IIRC I didn't need that -F parameter on 10.9, but now I do with 
> 10.14. But it's for my own frameworks, not system ones.

I am on 10.14 as well and Adam's solutions works well with the 
system provided frameworks. Thanks.


More information about the Digitalmars-d-learn mailing list