INSTALL 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Compilation instructions! Temporary quick compilation instructions!
  2. Will give better instructions later when things are in a more complete state.
  3. Windows:
  4. - Use VS2013, as obs-studio uses C99 and C++11
  5. - Download latest FFmpeg repositories and Qt5 release
  6. - Create a windows environment variable FFmpegPath. Set it to your FFmpeg
  7. repo path
  8. - Create a windows environment variable QTDIR. Set it to your
  9. Qt5 install path
  10. - Compile FFmpeg and Qt5(Until they release a binary VS2013 version).
  11. They should both be compiled with VS2013.
  12. For compiling FFmpeg, see http://ffmpeg.org/platform.html#Windows
  13. - Create two directories in FFmpeg directory, lib32 and lib64. Place the
  14. lib files generated by FFmpeg into these directories for the respective
  15. architecture
  16. - If compiling FFmpeg with shared libraries (DLLs), place the DLLs into
  17. build/bin/32bit and/or build/bin/64bit respectively
  18. - Compile project with VS2013, and it should be good to go.
  19. - NOTE: Direct3D 11 library may require D3Dcompiler_47.dll to be present
  20. in both the obs-studio/build/bin/32bit and obs-studio/build/bin/64bit
  21. directories
  22. Mac OSX
  23. - Use macports or homebrew and get FFmpeg, glew and cmake.
  24. - In a terminal, go to the obs-studio directory create a cmbuild subdir
  25. and change to it, then to build, type: cmake .. && make
  26. - It builds in a modular structure similar to windows, where everything
  27. necessary to run the program is compiled to cmbuild/rundir
  28. - You can also use ccmake to create an app bundle, which makes it so you
  29. don't have to use the terminal to execute it from the correct directory
  30. Linux
  31. - If using debian-based distributions, you may have to get the latest FFmpeg
  32. repo -- default debian packages seem to be a bit lacking, so you might have
  33. to either get precompiled packages from http://deb-multimedia.org/ (or
  34. similar sources, use your own judgement) or get the latest FFmpeg repo,
  35. compile, and do a make install
  36. - Instructions pending -- linux code still under construction, and not yet
  37. fully functioning. Will add more information later