media-autobuild_suite icon indicating copy to clipboard operation
media-autobuild_suite copied to clipboard

( was unexpected at this time

Open arjanvaneerden opened this issue 3 years ago • 0 comments

Maybe you wanted to know that media-autobuild_suite.bat crashes somewhere at line 233 with the output ( was unexpected at this time so I could not build the media suite. I removed parts of the batch-file, starting with the end, and I discovered the if-statement at line 234-246 may be the problem (since %standaloneINI% is not declared?):

Part of the code that was problematic

:standalone if %standaloneINI%==0 ( echo ------------------------------------------------------------------------------- echo ------------------------------------------------------------------------------- echo. echo. Build standalone binaries for libraries included in FFmpeg? echo. eg. Compile opusenc.exe if --enable-libopus echo. 1 = Yes echo. 2 = No echo. echo ------------------------------------------------------------------------------- echo ------------------------------------------------------------------------------- set /P buildstandalone="Build standalone binaries: " ) else set buildstandalone=%standaloneINI%

My workaround

For me, it helped to add set standaloneINI=1 the line after :standalone

The whole media-autobuild_suite.bat

I changed the extension to .txt, since I could not add a .bat file media-autobuild_suite.txt

"paste the URL to logs.zip that the script gives or attach the file yourself to the issue page."**

Sorry, I could find any logs.zip. It already crashes at media-autobuild_suite.bat, so before compiling. However, after adding set standaloneINI=1, building succeeds, but I can still not find logs.

arjanvaneerden avatar Nov 23 '21 22:11 arjanvaneerden