I'm trying to change a little code in webrtc for experiement...(for electron)
the git branch tells me that current src is on chromium v105
at the final step:
"gn gen out/Testing --args="import(\"//electron/build/args/
testing.gn\")""
"ninja -C out/Testing electron"
the compile procedure stuck at this error and I cannot find any way to solve it:
FAILED: obj/content/browser/browser/screen_capture_kit_device_mac.o
../../content/browser/media/capture/screen_capture_kit_device_mac.mm:7:9: fatal error: 'ScreenCaptureKit/ScreenCaptureKit.h' file not found
#import <ScreenCaptureKit/ScreenCaptureKit.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
My mac environment:
MacBook Pro 16-inch, 2019
macOS Montery 12.4
XCode: 13.2.1
python env:
python2 & python3 installed from anaconda
(py27) aweffr@ZLdeMacBook-Pro ~ % which python
/Users/aweffr/anaconda3/envs/py27/bin/python
(py27) aweffr@ZLdeMacBook-Pro ~ % which python3
/Users/aweffr/anaconda3/bin/python3