Cmake build obs studio did not appear video capture device?

JaredWei

New Member
Hello everyone , I am a forum newcomer and obs studio development novice, refer to the following website(https://obsproject.com/wiki/install-instructions) to install the development version of obs studio to run, but do not know why there will be less video capture device, I hope there is any way to restore the video capture device Options(The OBS home screen Source + there) can be used, build in win10 vs2017 winx64, with the following log files and pictures please help Thank you
obs studio have not video capture device.png


Obs studio ver 21.0.1 in the latest build cmake will be the following error message, I do not know have any relationship !?

CMake Deprecation Warning at C: /Users/Jared/Desktop/cmake-3.9.6-win64-x64/share/cmake-3.9/Modules/UseSWIG.cmake: 228 (message):? SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.? Call Stack (most recent call first):? Deps / obs-scripting / obspython / CMakeLists.txt: 33 (SWIG_ADD_MODULE)?
CMake Deprecation Warning at C: /Users/Jared/Desktop/cmake-3.9.6-win64-x64/share/cmake-3.9/Modules/UseSWIG.cmake: 228 (message):? SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead.? Call Stack (most recent call first):? Deps / obs-scripting / obslua / CMakeLists.txt: 19 (SWIG_ADD_MODULE)
obs studio cmake build1.png

obs studio cmake build2.png


afterwards, I have to build into other IDE platforms such as VS2015 or VS2013 try to see if there is no video capture available, but there will be unable to establish cmake.

obs studio cmake build vs2015.png
 

Attachments

  • 2018-03-06 17-45-57.txt
    4 KB · Views: 21
Last edited:

Marcedo

Member
Hi. just compiled from the repository today without problems.
seems you are on w64 and cMake simply couldnt find your build chain.
Could you post your environment please ? There should be an env var named like VS140COMNTOOLS
 
Last edited:

JaredWei

New Member
Hello Marcedo, I think you are saying this as follows

Environment Variables:
environment2.png

environment.png


Environment variable of Path:
environment path.png


According to what you said VS140COMNTOOLS this environment variable, I have another found VS2017 installation did not establish the environment variable VS150COMNTOOLS
https://github.com/Microsoft/visualfsharp/issues/1761
It is not clear what is the relationship between OBS?

Thank you for reply
Have a good day
 

JaredWei

New Member
HI Marcedo
According to the link you gave, I can already create the vs2015 x32 version of OBS. The options for this resource have been increased, but there is still no video capture device.
Is this related to the OBS I downloaded from the github ZIP file?
The reason I didn't use git clone is because I'm not too familiar with using it.
Thank you for reply
I will continue to identify the key points of the problem.

OBS vs2015 not video capture device.png
 
Top