Skip to content

pygame_sdl2 compile failure # include <iconv.h> #1023

@frankgould

Description

@frankgould

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.

from pythonforandroid.toolchain import CompiledComponentsPythonRecipe, warning

class Pygame_sdl2Recipe(CompiledComponentsPythonRecipe):
    
    version = '2.1.0'
    url = 'https://testpypi.python.org/packages/2f/f1/8dd343ae2d97c432cf1c81ca03d2d0472396f9d8e76c677aeae9ce2ec61d/pygame_sdl2-2.1.0.tar.gz'

    site_packages_name= 'pygame_sdl2'

    depends = ['python2']

    def prebuild_arch(self, arch):
        super(Pygame_sdl2Recipe, self).prebuild_arch(arch)

        # AND: Fix this warning!
        warning('Pygame_sdl2 is built assuming the archiver name is '
                'arm-linux-androideabi-ar, which may not always be true!')

recipe = Pygame_sdl2Recipe()

pygame_sdl2_compile_err_March2017.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions