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
I had the same problem.
In my case, the powershell I was using was an older 5.x version, and upgrading to version 7 (clean install) solved the problem.
After installation, I used “PowerShell 7 (x64)” in the startup program and compiled without errors.
(The ? syntax that causes the error is said to be supported only by PowerShell 7 or later)
1) Check the version of PowerShell :.
PS C:\blahblah> $PSVersionTable
.....
PSVersion 5.1.22621.3880 <--- your version
PSEdition Desktop
.....
Please update the build instructions and provided examples. Even after peering into the PowerShell build script and using the example given:
.\BuildFFmpeg.ps1 -Architectures x86,x64,arm64 -AppPlatform uwp -CRT dynamic -Settings "--enable-small"
I get this error:
At X:\samples\FFmpegInterop\BuildFFmpeg.ps1:114 char:58
Unexpected token '?' in expression or statement.
At X:\samples\FFmpegInterop\BuildFFmpeg.ps1:139 char:43
Unexpected token '?' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : UnexpectedToken
The text was updated successfully, but these errors were encountered: