Coder Social home page Coder Social logo

kotlinxtras's People

Contributors

danbrough avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

minghuadev

kotlinxtras's Issues

Exception building Arm32Hfp from Ubuntu x64

Hi I've been doing this PoC if a library in a KMP common that uses Ktor could work on Arm32 RPI.

I am using x64 Ubuntu 20.04 to build my project.

I am getting this gradle failure which seems to be a issue on a linker.

e: /home-mc/kaiser.park/.konan/dependencies/arm-unknown-linux-gnueabihf-gcc-8.3.0-glibc-2.19-kernel-4.9-2/arm-unknown-linux-gnueabihf/bin/ld invocation reported errors

The /home/spark/.konan/dependencies/arm-unknown-linux-gnueabihf-gcc-8.3.0-glibc-2.19-kernel-4.9-2/arm-unknown-linux-gnueabihf/bin/ld command returned non-zero exit code: 1.
output:
/home/spark/.konan/dependencies/arm-unknown-linux-gnueabihf-gcc-8.3.0-glibc-2.19-kernel-4.9-2/arm-unknown-linux-gnueabihf/bin/ld.bfd: cannot find -lssl
/home/spark/.konan/dependencies/arm-unknown-linux-gnueabihf-gcc-8.3.0-glibc-2.19-kernel-4.9-2/arm-unknown-linux-gnueabihf/bin/ld.bfd: cannot find -lcrypto
/home/spark/.konan/dependencies/arm-unknown-linux-gnueabihf-gcc-8.3.0-glibc-2.19-kernel-4.9-2/arm-unknown-linux-gnueabihf/bin/ld.bfd: cannot find -lcurl

This error started to appear when I swapped to following packages.

//mavenCentral()
implementation("org.danbrough.ktor:ktor-client-core:$ktorVersion")
implementation("org.danbrough.ktor:ktor-client-content-negotiation:$ktorVersion")
implementation("org.danbrough.ktor:ktor-serialization-kotlinx-json:$ktorVersion")

I've been trying to see what could have caused a problem, but the Ktor submodule in the repo directory does not have a link (ktor @ 1e82c30).

  • If you don't mind, can you share ktor repository public, so I can grasp what you have changed on ktor project to make Arm32 work?
  • Does your mavenCentral dependencies also require ssl, curl, crypto to be located in /usr/local/kotlinxtras/libs/ as well?

Support for new packages

I would like to add sqldelight package (and SQLiter dependency).
I miss some info how to build a package.

  • I can't clone the project, git submodule update gives fetch errors due to [email protected] urls. I replaced them locally by https://github.com and the command succeed.
  • gradle command failed to run, I get java.lang.NullPointerException (no error message).
  • What is purpose of the KotlinXtras gradle plugin ?
  • How to build a package ? I don't see reference to the projects located in repos folder.
  • Do you build them with docker ? What is kipfs ?
    Thks!

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.