-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pygame_sdl2 compile failure # include <iconv.h> #1023
Comments
You'll want to copy the extra recipe contents from https://github.com/renpy/python-for-android/blob/master/recipes/pygame_sdl2/recipe.sh, converting them to the modern python-for-android Python recipe equivalents. This page has a lot of information about this, and other recipes are also a good reference. Could you try to adapt your base recipe to add these things? We can then go from there. |
Thanks inclement for your response. I have read the page you suggested several times and it does not make sense to me because of all the options that I don't know if I need or not. I also do not know "modern python-for-android Python recipe equivalents" are and what I need to convert. I did follow your chat and updated the renpy file you suggested but I don't know what to do with it (see attached). It is currently in the following folder: /home/frankgould/Desktop/Master-Pics/Slideshow/.buildozer/android/platform/python-for-android-master/pythonforandroid/recipes/pygame_sdl2. I'm still getting the same build error with the file there. I also tried to bash the script but nothing happened. Sorry, I'm not understanding what to do. |
Is there someone watching these issues? I haven't heard back in 2 days. What should I do? |
You have a shell script that declares some variables, and performs some commands. You need to write a Python script that declares the same variables, and performs the same commands, using the
This is probably an appropriate location. You should see that python-for-android has found your recipe in the build logs, even if it doesn't work.
I am probably the most active dev on python-for-android, and I work through issues mostly at the weekend or some evenings. You can also catch me on irc at these times.
I suggest starting with something simpler, try to make a recipe for a pure python module such as |
I once tried to make a pygame_sdl2 recipe, but never finished. I don't remember how far I got or why it was failing, but there's a fairly complete recipe at https://github.com/kivy/python-for-android/blob/pygame_sdl2/pythonforandroid/recipes/pygame_sdl2/__init__.py (note that this branch also contains other new files). The relative complexity of this recipe and need for other new things is why I suggest starting with something simpler, although as far as I remember my code should be a good start for pygame_sdl2 support. |
Thanks Inclement. I avoided bothering you on irc because it was quiet and I didn't want to interrupt you. I have time to wait but since I hadn't seen any activity, I thought I should ask. I will pound on this again today and see if I can make progress. |
I am still getting a compile error with the pygame_sdl2 init.py you had started to work. I've attached the error message and init.py file for your review. I do not know what to do to fix this error or what's causing it. Any assistance greatly appreciated. Is it appropriate to offer to pay for this to be fixed or not? Thanks. |
Could you create a new pull request with this recipe and all the other stuff? This will make it easier to check and test. |
I don't know how to do what you're asking. I don't understand pull, forks, branches, etc. Can you show me what to do? |
@frankgould, have you tried checking out the github docs? |
No dessant. Are you suggesting I start there to learn how to pull requests? I'm also not sure what "all the other stuff" means. |
@frankgould, yes, I'm suggesting exactly that. |
Okay, I took a shot at it. Let me know what else I need to do. Sorry for my reluctance. I guess you can find it or do I need to include a link? I appreciate your help. |
Update: I was finally able to get opencv to work and do not need pygame_sdl2. However, I am willing to work with someone to get this to work. Please let me know and I will offer my time to solve this problem. Until then, I'm moving forward. |
Closing as inactive. |
I am trying to compile an apk using buildozer and have created a recipe for this, pasted below. The error I get can be seen in the attached file. I don't know what is causing this error. Any help greatly appreciated.
pygame_sdl2_compile_err_March2017.txt
The text was updated successfully, but these errors were encountered: