Jack0r
The Helping Squad
See: Getting Started with OBS Development
To successfully compile OBS you will need the following things:
Now after you installed everything (and properly rebooted your PC) extract the source files to there own folder and open Visual Studio. I will talk about compiling OBS with the "ALL" option so you will be good to go afterwards. So, in Visual Studio click on File -> Open -> Project / Solution and open the OBS-All.sln!
It will take some time to load everything. (Header files of the Windows/DirectX SDK etc.) Visual Studio 2012 will ask you to update the VC++ Projects to Visual Studio 2012. You will have to update them, to compile everything with Visual Studio 2012.
Users of VS 2010 can skip this step.
Before you can compile right away, you might want to check the correct version will be build. You can do this by using the the Build Menu and opening the Configuration Manager.
For a normal compile process, choose Release, and your desired Windows version (Win32 or 64). Then hit F7 or click on Build -> Build Solution. The Output console should show you which file is currently being processed. After a successfull compile you should get the following result:
========== Build: 10 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Something failed? Check the console which step failed and start Troubleshooting. Missing headers for example indicate you are missing SDK files or similar.
Everything fine? You can now open your sources folder in your Explorer and enter the "rundir" folder.
Now select the copy*****.bat according to the settings you choose in Visual Studio earlier.
More Information can be found in the INSTALL file of your sources.zip.
Additions, Questions? Feel free to post them.
- OBS source files
Windows 8 SDK
DirectX SDK
VisualStudio (2010 or 2012, for compilation Express versions should work)
Now after you installed everything (and properly rebooted your PC) extract the source files to there own folder and open Visual Studio. I will talk about compiling OBS with the "ALL" option so you will be good to go afterwards. So, in Visual Studio click on File -> Open -> Project / Solution and open the OBS-All.sln!
It will take some time to load everything. (Header files of the Windows/DirectX SDK etc.) Visual Studio 2012 will ask you to update the VC++ Projects to Visual Studio 2012. You will have to update them, to compile everything with Visual Studio 2012.
Users of VS 2010 can skip this step.
Before you can compile right away, you might want to check the correct version will be build. You can do this by using the the Build Menu and opening the Configuration Manager.
For a normal compile process, choose Release, and your desired Windows version (Win32 or 64). Then hit F7 or click on Build -> Build Solution. The Output console should show you which file is currently being processed. After a successfull compile you should get the following result:
========== Build: 10 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Something failed? Check the console which step failed and start Troubleshooting. Missing headers for example indicate you are missing SDK files or similar.
Everything fine? You can now open your sources folder in your Explorer and enter the "rundir" folder.
Now select the copy*****.bat according to the settings you choose in Visual Studio earlier.
- - CopyDebug for Debug 32bit
- CopyRelease64 for Release 64bit
- etc.
More Information can be found in the INSTALL file of your sources.zip.
Additions, Questions? Feel free to post them.
Last edited: