How to call CoreDisplay_DisplayCreateInfoDictionary(CGDirectDisplayID) function? #635
Answered
by
waydabber
coolcoolkg21
asked this question in
Q&A
-
Dear author, I'm trying to build a similar project that programmed with Objective-C, but it fails and shows "Undefined symbol: _CoreDisplay_DisplayCreateInfoDictionary." |
Beta Was this translation helpful? Give feedback.
Answered by
waydabber
Oct 1, 2021
Replies: 1 comment 1 reply
-
Hi, yes, you should add this:
Also you probably have to link the CoreDisplay framework to your project from Cheers! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
the0neyouseek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
yes, you should add this:
extern CFDictionaryRef CoreDisplay_DisplayCreateInfoDictionary(CGDirectDisplayID);
Also you probably have to link the CoreDisplay framework to your project from
/System/Library/Frameworks/CoreDisplay.framework
:Cheers!