Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions #1

Open
mgxm opened this issue Jul 17, 2013 · 7 comments
Open

Versions #1

mgxm opened this issue Jul 17, 2013 · 7 comments
Labels

Comments

@mgxm
Copy link

mgxm commented Jul 17, 2013

Hey!

Which version you use to build this project?
for sdk, ndk, mruby.

@crimsonwoods
Copy link
Owner

Hi! @marciogm.

Basically, to use latest tools gives good result to you, I guess.
But it's not good answer for you, maybe.
I write down my used versions. Please see below:

Android NDK: r8 or later
SDK Tools: 20.0
SDK Platform-tools: 14

mruby has no stable version.
And as far as I know, even minor release is not planed.
So I have no answer for your question, I'm sorry.
I can tell you just only one thing, please use latest mruby.

If you got any compile errors, you can wait for my maintenance.
And you can also make wonderful patches and send pull-request to me :-)

@mgxm
Copy link
Author

mgxm commented Jul 18, 2013

Thank you.

I'm using the latest version of mruby and i got some compile errors, I fixed these erros but when i execute your JamrubyApp and execute on my mobile, the application run normally but when i will execute the example code the application crash.
I want try to fix it today, if everything it's ok i will send the pull-request haha :)

Thanks.

@crimsonwoods
Copy link
Owner

Thank YOU, too!

I can not update jamruby immediately to follow the latest mruby and tools.
I'm sorry, I have no resource to touch it now.

I'm looking forward to your pull-request!

Thanks.

@crimsonwoods
Copy link
Owner

Hi! @marciogm

I fixed compile errors and application crash on my environment.
And I built project by latest Android NDK, SDK and mruby.

Could you try build jamruby and run sample application?

@mgxm
Copy link
Author

mgxm commented Jul 22, 2013

The application crash it's fine now, but maybe because you removed the MRB_TT_MAIN, i don't understand why.
Now i got MRB_TT_OBJECT:NotImplementedError.

Thanks!

@crimsonwoods
Copy link
Owner

MRB_TT_MAIN was removed from mruby at commit b1bd62e047d99387ca9681e5d907713b4c94bb3e by matz.

NotImplementedError is thrown by undefined method call, I guess.
The method "p" is not implemented in your "libmruby.a".
Maybe, this is the reason why NotImplementedError is thrown.
If you want to use the method "p", you have to include a mrbgem "mruby-print" in your mruby.

Please see jamruby's README again and edit your "build_config.rb".
Could you try to build and run again?

@mgxm
Copy link
Author

mgxm commented Jul 24, 2013

Yes man, everything is ok now.
The crash in application is on MRB_TT_MAIN!

Thank You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants