untrunc icon indicating copy to clipboard operation
untrunc copied to clipboard

Troubles building libav

Open CptCrunch83 opened this issue 5 years ago • 1 comments

So I am a total noob when it comes to coding. I am familiar with command line prompts on a basic level.

I downloaded both zip files, extracted libav-12.3.zip to untrunc-master, though not using the cmd but the usual way using Winrar and right-click. Opened a cmd in untrunc-master\libav-12.3 and typed the command. The response was that such a command "." was not found. I then installed yasm via chocolatey. It installed version 1.2.0. Tried the cmd again but no such luck. Tried yasm ./configure and got a whole bunch of error messages. Here they are:

Automatically generated by configure - do not modify!:111: warning: ignoring unr ecognized character ' Automatically generated by configure - do not modify!:112: error: instruction ex pected after label Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character {' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character }' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character \' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character {' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character }' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character ' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character {' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character }' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character \' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character {' Automatically generated by configure - do not modify!:112: warning: ignoring unr ecognized character }' Automatically generated by configure - do not modify!:113: error: instruction ex pected after label Automatically generated by configure - do not modify!:114: error: instruction ex pected after label Automatically generated by configure - do not modify!:115: error: instruction ex pected after label Automatically generated by configure - do not modify!:116: warning: ignoring unr ecognized character }' Automatically generated by configure - do not modify!:118: error: instruction ex pected after label Automatically generated by configure - do not modify!:120: error: instruction ex pected after label Automatically generated by configure - do not modify!:122: error: instruction ex pected after label Automatically generated by configure - do not modify!:122: warning: ignoring unr ecognized character {' Automatically generated by configure - do not modify!:123: error: instruction ex pected after label Automatically generated by configure - do not modify!:124: error: instruction ex pected after label Automatically generated by configure - do not modify!:125: warning: ignoring unr ecognized character }' Automatically generated by configure - do not modify!:127: error: instruction ex pected after label Automatically generated by configure - do not modify!:129: error: instruction ex pected after label Automatically generated by configure - do not modify!:129: warning: ignoring unr ecognized character >' Automatically generated by configure - do not modify!:130: error: label or instr uction expected at start of line Automatically generated by configure - do not modify!:130: warning: ignoring unr ecognized character !' Automatically generated by configure - do not modify!:131: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:131: error: instruction ex pected after label Automatically generated by configure - do not modify!:132: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:132: error: instruction ex pected after label Automatically generated by configure - do not modify!:133: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:133: error: instruction ex pected after label Automatically generated by configure - do not modify!:134: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:134: error: instruction ex pected after label Automatically generated by configure - do not modify!:135: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:135: error: instruction ex pected after label Automatically generated by configure - do not modify!:136: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:136: error: instruction ex pected after label Automatically generated by configure - do not modify!:137: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:137: error: instruction ex pected after label Automatically generated by configure - do not modify!:138: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:138: error: instruction ex pected after label Automatically generated by configure - do not modify!:139: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:139: error: instruction ex pected after label Automatically generated by configure - do not modify!:139: warning: ignoring unr ecognized character {' Automatically generated by configure - do not modify!:139: warning: ignoring unr ecognized character }' Automatically generated by configure - do not modify!:140: warning: ignoring unr ecognized character #' Automatically generated by configure - do not modify!:140: error: instruction ex pected after label Automatically generated by configure - do not modify!:141: error: redefinition o f EOF' try to make this part work with most shells:8: error: EOF' previously defined h ere Automatically generated by configure - do not modify!:143: error: instruction ex pected after label Automatically generated by configure - do not modify!:146: error: instruction ex pected after label Automatically generated by configure - do not modify!:147: error: instruction ex pected after label Automatically generated by configure - do not modify!:148: error: instruction ex pected after label Automatically generated by configure - do not modify!:148: warning: ignoring unr ecognized character >' Automatically generated by configure - do not modify!:149: error: redefinition o f fi' try to make this part work with most shells:8: error: fi' previously defined he re Automatically generated by configure - do not modify!:151: error: instruction ex pected after label Automatically generated by configure - do not modify!:153: error: instruction ex pected after label Automatically generated by configure - do not modify!:154: error: instruction ex pected after label Automatically generated by configure - do not modify!:158: error: instruction ex pected after label Automatically generated by configure - do not modify!:159: error: instruction ex pected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:1: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:2: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:4: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:6: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:6: warning : ignoring unrecognized character >' Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:7: error: label or instruction expected at start of line Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:8: warning : ignoring unrecognized character #' Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:8: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:9: warning : ignoring unrecognized character #' Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:9: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:10: error: redefinition of EOF' try to make this part work with most shells:8: error: EOF' previously defined h ere Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:12: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:14: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:16: error: instruction expected after label Do not overwrite an unchanged config.h to avoid superfluous rebuilds.:18: error: instruction expected after label generate the lists of enabled components:1: warning: ignoring unrecognized chara cter {' generate the lists of enabled components:2: error: instruction expected after la bel generate the lists of enabled components:3: error: instruction expected after la bel generate the lists of enabled components:4: error: instruction expected after la bel generate the lists of enabled components:5: error: instruction expected after la bel generate the lists of enabled components:6: error: instruction expected after la bel generate the lists of enabled components:6: warning: ignoring unrecognized chara cter >' generate the lists of enabled components:7: error: instruction expected after la bel generate the lists of enabled components:8: error: instruction expected after la bel generate the lists of enabled components:9: error: redefinition of done' try to make this part work with most shells:8: error: done' previously defined here generate the lists of enabled components:10: error: instruction expected after l abel generate the lists of enabled components:11: error: instruction expected after l abel generate the lists of enabled components:12: warning: ignoring unrecognized char acter }' generate the lists of enabled components:14: error: instruction expected after l abel generate the lists of enabled components:15: error: instruction expected after l abel build pkg-config files:2: error: instruction expected after label build pkg-config files:2: warning: ignoring unrecognized character {' build pkg-config files:3: error: instruction expected after label build pkg-config files:3: warning: ignoring unrecognized character {' build pkg-config files:3: warning: ignoring unrecognized character }' build pkg-config files:3: warning: ignoring unrecognized character >' build pkg-config files:3: warning: ignoring unrecognized character ' build pkg-config files:3: warning: ignoring unrecognized character {' build pkg-config files:3: warning: ignoring unrecognized character }' build pkg-config files:3: warning: ignoring unrecognized character \' build pkg-config files:4: warning: ignoring unrecognized character }' build pkg-config files:6: error: instruction expected after label build pkg-config files:6: warning: ignoring unrecognized character {' build pkg-config files:7: error: instruction expected after label build pkg-config files:8: error: instruction expected after label build pkg-config files:8: warning: ignoring unrecognized character {' build pkg-config files:8: warning: ignoring unrecognized character }' build pkg-config files:8: warning: ignoring unrecognized character {' build pkg-config files:8: warning: ignoring unrecognized character }' build pkg-config files:9: error: instruction expected after label build pkg-config files:10: error: instruction expected after label build pkg-config files:11: error: instruction expected after label build pkg-config files:12: error: instruction expected after label build pkg-config files:12: warning: ignoring unrecognized character ' build pkg-config files:12: warning: ignoring unrecognized character {' build pkg-config files:12: warning: ignoring unrecognized character }' build pkg-config files:13: error: instruction expected after label build pkg-config files:13: warning: ignoring unrecognized character {' build pkg-config files:13: warning: ignoring unrecognized character }' build pkg-config files:14: error: instruction expected after label build pkg-config files:14: warning: ignoring unrecognized character {' build pkg-config files:14: warning: ignoring unrecognized character }' build pkg-config files:15: error: instruction expected after label build pkg-config files:16: error: instruction expected after label build pkg-config files:16: warning: ignoring unrecognized character >' build pkg-config files:17: error: instruction expected after label build pkg-config files:18: error: instruction expected after label build pkg-config files:18: warning: ignoring unrecognized character ' build pkg-config files:18: warning: ignoring unrecognized character {' build pkg-config files:18: warning: ignoring unrecognized character }' build pkg-config files:19: error: instruction expected after label build pkg-config files:20: error: instruction expected after label build pkg-config files:22: error: instruction expected after label build pkg-config files:23: error: instruction expected after label build pkg-config files:24: error: instruction expected after label build pkg-config files:25: error: instruction expected after label build pkg-config files:26: error: instruction expected after label build pkg-config files:28: error: instruction expected after label build pkg-config files:28: warning: ignoring unrecognized character \' build pkg-config files:28: warning: ignoring unrecognized character {' build pkg-config files:28: warning: ignoring unrecognized character }' build pkg-config files:28: warning: ignoring unrecognized character {' build pkg-config files:28: warning: ignoring unrecognized character }' build pkg-config files:29: error: instruction expected after label build pkg-config files:30: error: instruction expected after label build pkg-config files:30: warning: ignoring unrecognized character ' build pkg-config files:30: warning: ignoring unrecognized character {' build pkg-config files:30: warning: ignoring unrecognized character }' build pkg-config files:31: error: redefinition of EOF' try to make this part work with most shells:8: error: EOF' previously defined h ere build pkg-config files:32: error: instruction expected after label build pkg-config files:32: warning: ignoring unrecognized character >' build pkg-config files:33: error: instruction expected after label build pkg-config files:34: error: instruction expected after label build pkg-config files:35: error: instruction expected after label build pkg-config files:35: warning: ignoring unrecognized character ' build pkg-config files:35: warning: ignoring unrecognized character {' build pkg-config files:35: warning: ignoring unrecognized character }' build pkg-config files:36: error: instruction expected after label build pkg-config files:36: warning: ignoring unrecognized character {' build pkg-config files:36: warning: ignoring unrecognized character }' build pkg-config files:38: error: instruction expected after label build pkg-config files:39: error: instruction expected after label build pkg-config files:40: error: instruction expected after label build pkg-config files:41: error: instruction expected after label build pkg-config files:42: error: redefinition of Conflicts' build pkg-config files:27: error: Conflicts' previously defined here build pkg-config files:43: error: instruction expected after label build pkg-config files:43: warning: ignoring unrecognized character \' build pkg-config files:43: warning: ignoring unrecognized character {' build pkg-config files:43: warning: ignoring unrecognized character }' build pkg-config files:43: warning: ignoring unrecognized character {' build pkg-config files:43: warning: ignoring unrecognized character }' build pkg-config files:43: warning: ignoring unrecognized character {' build pkg-config files:43: warning: ignoring unrecognized character }' build pkg-config files:43: warning: ignoring unrecognized character {' build pkg-config files:43: warning: ignoring unrecognized character }' build pkg-config files:44: error: instruction expected after label build pkg-config files:44: warning: ignoring unrecognized character ' build pkg-config files:44: warning: ignoring unrecognized character {' build pkg-config files:44: warning: ignoring unrecognized character }' build pkg-config files:45: error: redefinition of EOF' try to make this part work with most shells:8: error: EOF' previously defined h ere build pkg-config files:46: warning: ignoring unrecognized character }' build pkg-config files:48: error: instruction expected after label build pkg-config files:49: error: instruction expected after label build pkg-config files:50: error: instruction expected after label build pkg-config files:51: error: instruction expected after label build pkg-config files:52: error: instruction expected after label build pkg-config files:53: error: instruction expected after label build pkg-config files:54: error: instruction expected after label

I decided to try yasm make despite the errors and got this:

yasm: file name already has no extension: output will be in 'yasm.out' yasm: FATAL: Could not open input file

I have no idea what I am doing wrong to be honest. Probably it's because I use yasm ./configure but otherwise the command won't work at all. Do I need to install anything else besides yasm maybe? Something like .Net or whatever so that my system will recognise "." as a valid command?

OS: Win 8.1 x64

CptCrunch83 avatar Jan 21 '20 01:01 CptCrunch83

compiling libav on windows => getting a headache.. Normally one uses a prebuild services like the one on zeranoe.com. However, untrunc still needs access to the source code, which makes things a little more complicated.

Instead I encourage you to try out this fork, which even has automated windows builds!

anthwlock avatar Jan 21 '20 12:01 anthwlock