Coder Social home page Coder Social logo

Comments (20)

bbcallen avatar bbcallen commented on May 16, 2024

https://github.com/bbcallen/ijkplayer/blob/master/README.md
Build jni code first.

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

I'm newbie and I'm on windows....how can do that?!

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

There are no .bat scripts. You need cygwin, or a linux in virtual machine.

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

Now I'm in this section:
"You must define ANDROID_NDK, ANDROID_SDK before starting.
They must point to your NDK and SDK directories.\n"

It means must define path in my environment variables or something else?!
cygwin

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

My definition.

ANDROID_NDK=/opt/android/android-ndk-r9d
ANDROID_SDK=/opt/android/ADK

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

As you see in image, I have ANDROID_SDK and ANDROID_NDK in my environment variables, but still I got You must define ANDROID_NDK, ANDROID_SDK before starting message :(
ndk_sdk_path

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

try restart cygwin, and see if env var is set successfully

echo $ANDROID_NDK
echo $ANDROID_SDK

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

Another issue :((
ndk_error

from ijkplayer.

51339938 avatar 51339938 commented on May 16, 2024

楼上的我也遇到了,解决了吗?

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

Unfortunately NO :(

from ijkplayer.

51339938 avatar 51339938 commented on May 16, 2024

heartbroken

from ijkplayer.

51339938 avatar 51339938 commented on May 16, 2024

I am downloaded 32bit ndk,but it's also fail.

#45

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

I've create a post at here http://stackoverflow.com/questions/24594674/how-to-use-ijkplayer-library
Somebody said there... he didn't see any successful story about this issue by cygwin. You can see his suggest there, maybe useful for you, hopefully :)

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

You know what, cygwin introduce itself as OS!! but in android-ndk/toolchains/ directory, OS are listed and there is no OS named "Cygwin".

I try to change it to anotherthing. I found this in do-compile-ffmpeg.sh 👍

echo "\n--------------------"
echo "[*] make NDK standalone toolchain"
echo "--------------------"
UNAMES=$(uname -s)
UNAMESM=$(uname -sm)
echo "system is build on $UNAMESM"
FF_MAKE_TOOLCHAIN_FLAGS="--install-dir=$FF_TOOLCHAIN_PATH"
if [ "$UNAMES" == "Darwin" ]; then
FF_MAKE_TOOLCHAIN_FLAGS="$FF_MAKE_TOOLCHAIN_FLAGS --system=darwin-x86_64"
FF_MAKE_FLAG=-jsysctl -n machdep.cpu.thread_count
fi

FF_MAKEFLAGS=
if which nproc >/dev/null
then
FF_MAKEFLAGS=-jnproc
elif [ "$UNAMES" == "Darwin" ] && which sysctl >/dev/null
then
FF_MAKEFLAGS=-jsysctl -n machdep.cpu.thread_count
fi

FF_TOOLCHAIN_TOUCH="$FF_TOOLCHAIN_PATH/touch"
if [ ! -f "$FF_TOOLCHAIN_TOUCH" ]; then
$ANDROID_NDK/build/tools/make-standalone-toolchain.sh
$FF_MAKE_TOOLCHAIN_FLAGS
--platform=$FF_ANDROID_PLATFORM
--toolchain=$FF_TOOLCHAIN_NAME
touch $FF_TOOLCHAIN_TOUCH;
fi

And change "Darwin" to some OS listed in toolchains directory, but still it does not work :(

from ijkplayer.

51339938 avatar 51339938 commented on May 16, 2024

On this pc,I can't convert the system to linux... :(
how bad it is.

from ijkplayer.

51339938 avatar 51339938 commented on May 16, 2024

why did the author not give us the so file.

from ijkplayer.

IRMobydick avatar IRMobydick commented on May 16, 2024

Because Author OS is Linux instead of Windows

from ijkplayer.

51339938 avatar 51339938 commented on May 16, 2024

:(

from ijkplayer.

bbcallen avatar bbcallen commented on May 16, 2024

Why don't you install linux in VMWare?
Windows build support would never come.
Binary distribution would never come, too.

from ijkplayer.

51339938 avatar 51339938 commented on May 16, 2024

oh,year. VMWare is a good idea, I have to try.

from ijkplayer.

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.