christopher-hesse / mac-virtual-camera

Simple Virtual Camera for Mac
12 stars 2 forks source link

Cannot find function pointer PlugInMain for factory ... #1

Open luckydonald opened 3 years ago

luckydonald commented 3 years ago

First of, excellent and easy build instructions! Thank you!

I'm running into an error however.

(global-python-3.7.2) faster-5:christopher-hesse:mac-virtual-camera luckydonald$ python -m mac_virtual_camera.run
2021-02-23 17:52:37.951 python[35598:2926456] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample:  dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample, 262): Symbol not found: _objc_opt_class
  Referenced from: /Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib
 in /Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample
2021-02-23 17:52:37.951 python[35598:2926456] Cannot find function pointer PlugInMain for factory 8457B77A-D030-4500-1300-BB5335F45100 in CFBundle/CFPlugIn 0x7f9ca3f00390 </Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin> (bundle, not loaded)
luckydonald commented 3 years ago

Ah, look who sneaked behind my active window:

Screenshot 2021-02-23 at 17 53 09
luckydonald commented 3 years ago

Okey, the cam is lighting up now, however the error message still shows every time on start up:

2021-02-23 18:03:42.854 python[35997:2952412] Error loading /Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample:  dlopen(/Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample, 262): Symbol not found: _objc_opt_class
  Referenced from: /Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libobjc.A.dylib
 in /Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin/Contents/MacOS/CMIOMinimalSample
2021-02-23 18:03:42.854 python[35997:2952412] Cannot find function pointer PlugInMain for factory 8457B77A-D030-4500-1300-BB5335F45100 in CFBundle/CFPlugIn 0x7fbe8c527690 </Library/CoreMediaIO/Plug-Ins/DAL/CMIOMinimalSample.plugin> (bundle, not loaded)

And Chrome tells me that there isn't any Camera found.

luckydonald commented 3 years ago

It mentioned macOS 10.15, but I'm still on Mojave, 10.14.6 (18G103). I'll see if I can simply set the target to 10.14.

luckydonald commented 3 years ago

Simply setting it to 10.14 did indeed work:

Screenshot 2021-02-23 at 18 10 31
christopher-hesse commented 3 years ago

Good find, feel free to update the README since this just seems to be an Xcode “feature”

On Tue, Feb 23, 2021 at 9:16 AM Luckydonald notifications@github.com wrote:

Simply setting it to 10.14 did indeed work: [image: Screenshot 2021-02-23 at 18 10 31] https://user-images.githubusercontent.com/2737108/108880286-6e736300-7602-11eb-8a88-f39abf3175c5.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/christopher-hesse/mac-virtual-camera/issues/1#issuecomment-784362246, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALSBG2INLLAII6T36IDSSFLTAPPHTANCNFSM4YC2W6CA .