Build instructions outdated. Please revise to current usage requirements.

Open
#323 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
powershell

Research direction

Start with the build example in the issue and BuildFFmpeg.ps1, especially the reported lines 114 and 139. Check the current PowerShell requirements and revise the instructions and examples so the documented command matches supported usage; verify the example no longer produces the reported parser errors.

Written by the indexing model from the issue text.

Description

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

  • $hostArch = [System.Environment]::Is64BitOperatingSystem ? 'x64' : 'x ...
  •                                                      ~
    

Unexpected token '?' in expression or statement.
At X:\samples\FFmpegInterop\BuildFFmpeg.ps1:139 char:43

  • $spectreLibs = $AppPlatform -eq 'onecore' ? '' : 'spectre'
  •                                       ~
    

Unexpected token '?' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : UnexpectedToken

Dominant language
C++
Stars
1.4k
Forks
319
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/FFmpegInterop

All issues in microsoft/FFmpegInterop

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.