GithubHelp home page GithubHelp logo

Comments (7)

mattn avatar mattn commented on July 24, 2024

I confirm that mruby-onig-regexp support Visual Studio, mingw64, Linux, OSX. What is target OS? Please show me compilation error.

from mruby-onig-regexp.

torsakch avatar torsakch commented on July 24, 2024

I'm using OSX.

` MRuby::CrossBuild.new('android-armeabi') do |conf|

ENV['ANDROID_ARCH'] = 'armeabi'

toolchain :android

conf.gembox 'custom'

conf.cc.flags << '-O3'
conf.linker.flags << "-lm"

end `

I'm trying to cross compile like this. In the custom.gembox, I have the line like this.

conf.gem :github => 'mattn/mruby-onig-regexp'

I found that when the system built, the file "onigmo-6.1.3.tar.gz" don't get unzipped and the onigmo doesn't get compiled. Thank you for help.

from mruby-onig-regexp.

mattn avatar mattn commented on July 24, 2024

What error message?

from mruby-onig-regexp.

torsakch avatar torsakch commented on July 24, 2024

The compile is fine. But it cannot be linked. The error messages are like "undef: _OnigEncodingASCII" when linked.

from mruby-onig-regexp.

mattn avatar mattn commented on July 24, 2024

What compiler do you use? gcc or clang? version?

from mruby-onig-regexp.

torsakch avatar torsakch commented on July 24, 2024

I use clang.

clang -v
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

from mruby-onig-regexp.

mattn avatar mattn commented on July 24, 2024

Hmm, can you build onigmo-6.1.3 with extract tar.gz?

from mruby-onig-regexp.

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.