Omniverse Extensions custom extension compilation error missing variable solution

Encountered while studying, compiling the plug-in code, confirming that the code is correct but prompting that a variable does not exist

Repeatedly confirmed many times. The __window variable does not exist

The number of lines is also correct, but it will not work after enabling it several times

 solution:

1. Add a line to the code, above the line where the error is reported (the picture of the error report is lost, which means that the variable does not exist)
2. Compile to see if the error still exists and the number of lines has not changed. For example, it was 35 lines before, and the code is added Still 35 error

3. Restart OV...it's stuck...well, toss me for a long time...

Guess you like

Origin blog.csdn.net/ljason1993/article/details/130073459