Home PyGame running on the TizenConf Developer Device

PyGame running on the TizenConf Developer Device

This article was Originally posted at thp.io:
How to get Python and related libraries / packages running on Tizen (1.0 “Larkspur”, as shipped on the TizenConf developer device).

  • A device with Tizen 1.0 “Larkspur” installed (emulator might work too, but untested)
  • The Scratchbox Build System set up for Tizen: SBS
  • The “sdb” utility from the Tizen SDK (usually installed as SDK/sdb/sdb)

Building Python 2.7 from source

TODO: Add instructions

Building SDL 1.2, PyGame and related libraries

TODO: Add instructions
Build order (prefix is always /opt/sdl-1.2.15/):

  • SDL 1.2.15
  • SDL_ttf 2.0.11, with: freetype 2.4.9
  • SDL_image 1.2.12, with: libpng 1.5.10, jpegsrc v6b
  • SDL_mixer 1.2.12, with: libogg 1.3.0, libvorbis 1.3.3, smpeg SVN
  • PyGame 1.9.1 (requires all of the above + Python)

./configure line needed to find some libraries:

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/sdl-1.2.15/lib/pkgconfig/ ./configure \
    --prefix=/opt/sdl-1.2.15/ \
    --with-sdl-prefix=/opt/sdl-1.2.15/ \
    CPPFLAGS="-I /opt/sdl-1.2.15/include/" \

jpegsrc needs make install-lib in addition to make install to build. Also, you need to add -fPIC to CFLAGS in jpegsrc’s Makefile.



  1. Download pygame_tizen.tgz from above
  2. Copy to device: sdb push pygame_tizen.tgz /root/
  3. Connect to shell: sdb shell
  4. Extract archive: tar xvzf /root/pygame_tizen.tgz -C /
  5. Test if Python works: /opt/python/bin/python
  6. If you get greeted by a Python shell, congratulations! (otherwise, contact me)

Source thp.io

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the tech industry for major developments, new product launches, AI breakthroughs, video game releases and other newsworthy events. Editors assign relevant stories to staff writers or freelance contributors with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest tech headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Tech News

    Explore the latest in tech with our Tech News. We cut through the noise for concise, relevant updates, keeping you informed about the rapidly evolving tech landscape with curated content that separates signal from noise.

    In-Depth Tech Stories

    Explore tech impact in In-Depth Stories. Narrative data journalism offers comprehensive analyses, revealing stories behind data. Understand industry trends for a deeper perspective on tech's intricate relationships with society.

    Expert Reviews

    Empower decisions with Expert Reviews, merging industry expertise and insightful analysis. Delve into tech intricacies, get the best deals, and stay ahead with our trustworthy guide to navigating the ever-changing tech market.