You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDING.md
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Note: if you only want to build the PresentData/ library, or the PresentMon Cons
35
35
2. Build 64-bit Debug and Release configurations (replace "CefDir" with the directory you downloaded into):
36
36
37
37
```bat
38
-
> cmake -G "Visual Studio 17" -A x64 -DUSE_SANDBOX=OFF -S CefDir -B CefDir\build
38
+
> cmake -G "Visual Studio 17 2022" -A x64 -DUSE_SANDBOX=OFF -S CefDir -B CefDir\build
39
39
> cmake --build CefDir\build --config Debug
40
40
> cmake --build CefDir\build --config Release
41
41
```
@@ -59,7 +59,7 @@ Note: if you only want to build the PresentData/ library, or the PresentMon Cons
59
59
60
60
Note: instead of using the production build as described above, you can use a development process with a local server with hotloading support. To do this, use `npm run serve` instead, and use the `--p2c-url=http://localhost:8080/` command line argument when running the *PresentMon Capture Application*. This causes the app to load web content from localhost rather than the files in Web/.
61
61
62
-
4. Create and install a trusted test certificate. This is only required for the Release build. Open a command shell as administrator and run the following:
62
+
4. Create and install a trusted test certificate. This is only required for the Release build. Open the `Developer Command Prompt for VS 2022` or `Developer PowerShell for VS 2022` as administrator and run the following:
63
63
64
64
```bat
65
65
> makecert -r -pe -n "CN=Test Certificate - For Internal Use Only" -ss PrivateCertStore testcert.cer
@@ -109,4 +109,14 @@ You must run the PresentMon Capture Application from its directory, with the *Pr
109
109
> PresentMon.exe
110
110
```
111
111
112
-
Further, for the Release build, the application must be run from a secure location (e.g. "Program Files" or "System32") so it will need to be copied there first. The Release build also cannot be started from Visual Studio, irregardless of whether the debugger is attached, and even if VS is running with admin privilege.
112
+
## Capture Application Release Build Notice
113
+
114
+
Further, for the Release build, the application must be run from a secure location (e.g. `"Program Files"` or `"System32"`) so it will need to be copied there first. The Release build also cannot be started from Visual Studio, irregardless of whether the debugger is attached, and even if VS is running with admin privilege.
115
+
116
+
# Running PresentMon on other systems
117
+
118
+
You will encounter an error message such as: `"A referral was returned from the server"`. This usually means a certificate mismatch or not exist. The same certificate that was used to sign the application must be installed on the other machine. Open command prompt as administrator and run the following:
0 commit comments