OBS compilation

Mark: Refer to https://blog.csdn.net/longji/article/details/52335863 for the steps to compile OBS

After compiling, because the relationship between QT needs to be separated, the OBS project needs to be relocated, because many paths after compilation are absolute paths and need to be changed to relative paths. There are two problems that have been encountered:

1. When the frontend-tools is used, the .c file calls the function in .cpp. Since the function implementation cannot be located, a declaration is added to the corresponding hpp file, and frontend-toos.c is added.

2. When compiling graphics-hook, some functions in d3d11.h cannot be recognized. It is necessary to change the compiler of the corresponding .c file to the C compiler.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325722140&siteId=291194637