Coder Social home page Coder Social logo

Windows build about transform360 HOT 13 OPEN

stancho44 avatar stancho44 commented on May 18, 2024
Windows build

from transform360.

Comments (13)

emcodem avatar emcodem commented on May 18, 2024 3

i had the same when trying to compile ffmpeg. It was because i used windows to clone the git repository but tried configure in the windows subsystem based Ubuntu from windows store. re-cloning from inside ubuntu solved it

from transform360.

stancho44 avatar stancho44 commented on May 18, 2024 1

Thanks. I'll try the windows subsystem for Linux. I'll let you know if I have any trouble with it

from transform360.

wu-yuhui avatar wu-yuhui commented on May 18, 2024

Hi @stancho44,

Do you prefer to build on Windows but not sure if it works on Windows?

It does. You could use a X terminal that supports Linux commands.
Examples of X terminals are:

  1. MobaXterm
  2. Cygwin
  3. Windows Subsystem for Linux (for Windows 10 only)

Then you can build the package by just following the steps.

If you have questions of any step of the build that confuses you, feel free to ask!

from transform360.

stancho44 avatar stancho44 commented on May 18, 2024

hello @wu-yuhui ,
Sorry for the very late reply
I am getting this error when I was on step 9.

`root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'

: Permission deniedonfigure:
: bad variable nameport: LC_ALL`

did I follow the install wrong?
I am using the windows subsystem for Linux

from transform360.

wu-yuhui avatar wu-yuhui commented on May 18, 2024

Seems like you don't have permission. Try chmod +x configure first.
https://askubuntu.com/questions/623461/bash-configure-permission-denied

from transform360.

stancho44 avatar stancho44 commented on May 18, 2024

I got this error when I put chmod +x configure before the configure command
`
root@RyzAndShine:/mnt/c/FFMPEG# chmod +x configure
root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'

: not found: 9: ./configure:
: bad variable nameport: LC_ALL
`

from transform360.

wu-yuhui avatar wu-yuhui commented on May 18, 2024

Just to confirm, is there a configure binary in your FFMPEG folder, because it states "not found".

if I do ls -al to the FFMPEG repro, my configure is as this line:
-rwxrwxrwx 1 yuhuiwu yuhuiwu 256885 May 13 13:40 configure*

from transform360.

stancho44 avatar stancho44 commented on May 18, 2024

I got this when I did ls -al to the FFmpeg directory
-rwxrwxrwx 1 root root 264356 May 7 23:21 configure

Sorry for the late response

from transform360.

wu-yuhui avatar wu-yuhui commented on May 18, 2024

I got this error when I put chmod +x configure before the configure command
`
root@RyzAndShine:/mnt/c/FFMPEG# chmod +x configure
root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'

: not found: 9: ./configure:
: bad variable nameport: LC_ALL
`

If this about is your actual command, it seems like you pasted the command twice. Try this agin?

./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'

from transform360.

stancho44 avatar stancho44 commented on May 18, 2024

I get the same error

root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'
: not found: 9: ./configure:
: bad variable nameport: LC_ALL
root@RyzAndShine:/mnt/c/FFMPEG#

from transform360.

wu-yuhui avatar wu-yuhui commented on May 18, 2024

According to https://stackoverflow.com/questions/33320452/bad-variable-name-using-read-var

When they run

#!/bin/bash
echo "Type some Text:"
read var
echo "You entered: "$var

The output is

user@Ubuntu:/media/buff/ShellScript$ sh test.sh
Type some Text:
:bad variable nameread var
You entered:

So when looking at your error code and also ./configure in FFMpeg floder

: not found: 9: ./configure:
: bad variable nameport: LC_ALL
root@RyzAndShine:/mnt/c/FFMPEG#

Screen Shot 2020-08-31 at 5 51 04 PM

I suspect you accidentally modified the configure file. So try to undo it to the original configure file and run the command again.

from transform360.

stancho44 avatar stancho44 commented on May 18, 2024

image
I haven't changed the configure file from the initial state and it has the "export lc_all" in the file itself. See attached image

from transform360.

kilanny avatar kilanny commented on May 18, 2024

Maybe because the file was created using windows not linux. You should convert it to linux
for example
https://unix.stackexchange.com/a/365679/59618

from transform360.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.