Git Product home page Git Product logo

Comments (7)

xiawenq avatar xiawenq commented on June 30, 2024

I'm try to use ninja instead the make in file lib/src/main/cpp/CMakeLists.txt. But throws the sames error.

And I don't know how to apply the patches file lib/src/main/cpp/patches/0001_srt_cmakefiles.patch. Maybe I must apply the patches first, and then build the project?

from srtdroid.

ThibaultBee avatar ThibaultBee commented on June 30, 2024

Hi,

You are building on Windows whereas I have been working on Linux only. I will give a try on a Windows VM. Maybe remove the ./ of ./Configure in the project_openssl in the CMakeLists.txt.

For the patch, in srt directory (which is somewhere in a CMake/gradle folder), apply "patch -p0 < lib/src/main/cpp/patches/0001_srt_cmakefiles.patch". Anyway, you don't need the patch to build openssl.

from srtdroid.

xiawenq avatar xiawenq commented on June 30, 2024

Hi,

You are building on Windows whereas I have been working on Linux only. I will give a try on a Windows VM. Maybe remove the ./ of ./Configure in the project_openssl in the CMakeLists.txt.

thanks for your reply and thanks for your help too. Emm, about the solution of remove Configure file in the project_openssl's CMakeLists.txt. I don't understand how to do it. where can i find the Configure file?

from srtdroid.

ThibaultBee avatar ThibaultBee commented on June 30, 2024

Hi,
Do you need to build the project ?
Because, if you just need to use it, it now supports jitpack: https://jitpack.io/#ThibaultBee/SRTWrapper/master-SNAPSHOT.

About the Windows build, I didn't find a way to build/install openssl with Ninja. One solution could be to force cmake to use make instead of Ninja.

from srtdroid.

xiawenq avatar xiawenq commented on June 30, 2024

Hi,

Yes, I think I just need to use the library only.
thanks your great solution. I will try import jar instead build the project.

About the issue, I always try to fix with you.

from srtdroid.

ThibaultBee avatar ThibaultBee commented on June 30, 2024

Hi,

I spent lot of times trying to build the project on Windows for Android (especially openssl which is really painfull). Unfortunately, I couldn't make openssl build. You can find my work on:
https://github.com/ThibaultBee/SRTWrapper/tree/feature/build_windows
The current issue I face this issue:

no NDK arm-linux-androideabi-gcc on $PATH at (eval 11) line 124.
Configuring OpenSSL version 1.1.1d (0x1010104fL) for android-arm
Using os-specific seed configuration

which("clang") can not find NDK clang which is in the system Path!

Do you have any idea what could be wrong ?

from srtdroid.

ThibaultBee avatar ThibaultBee commented on June 30, 2024

I am sorry, this is going to be a restriction for a while.
I just update build info in README.md in f18f819

-> Closing this issue

from srtdroid.

Related Issues (17)

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.