mrayy / UnityCam

Unity3D Virtual webcam plugin, streams unity viewport contents to other applications as virtual camera
MIT License
501 stars 150 forks source link

Compilation error #36

Closed mp075496706 closed 11 months ago

mp075496706 commented 11 months ago

I saw that this issue mentioned modifying the resolution of the virtual camera(#18 ). When I followed the steps mentioned in it and compiled it, there were some errors:

  1. Severity code description: Project file line suppression status Error C2733 'SendTexture': Second C link of overloaded function not allowed UnityWebcam c: users administrator downloads unitycam master unitywebcam unitywebcam unityapi. h 12
  2. Severity Code Description Project File Line Suppress Display Status Error C2143 syntax error: Missing ';' (before '*') UnityWebcam c: users administrator downloads unitycam master unitywebcam unitywebcam unityapi. h 13
  3. Severity Code Description Project File Line Suppress Display Status Error C4430 missing type descriptor - assumed to be int. Note: C++does not support default int UnityWebcam c: users administrator downloads unitycam master unitywebcam unitywebcam unityapi. h 13
  4. Severity Code Description Project File Line Suppress Display Status Error C2872 'SharedImageWrapper': Ambiguous symbol UnityWebcam c: users administrator downloads unitycam master unitywebcam unitywebcam unityapi.cpp 36
  5. Severity Code Description Project File Line Suppress Display Status Error C2061 syntax error: identifier 'SharedImageWrapper' UnityWebcam c: users administrator downloads unitycam master unitywebcam unitywebcam unityapi.cpp 36 I don't know how to handle these errors. Has anyone encountered them?
mp075496706 commented 11 months ago

I have resolved the issue of compilation errors, and in actual testing, the resolution of the virtual camera can be changed by recompiling.