Join Today
+ Reply to Thread
Results 1 to 7 of 7
  1. #1

    Post SDL compiled. Can't run SDL apps

    Hi,
    I finally managed to set up my crosstool environment and wrote a sample "Hello World" application, which worked fine from eKonsole.

    I cross compiled SDL with arm-linux flag and copied the .so files to the phone. To test out if the SDL was compiled fine, I wrote a small app which uses SDL and ran it from eKonsole again.
    I was expecting to see a white screen with some randomly generated pixels, but nothing happened. The binary did run, as I could see it running as a process in a separate eKonsole session, but no expected output. I could not even kill the process and had to reboot my phone.

    What am I missing here?

    -Ritesh

  2. #2
    Join Date
    Nov 2005
    Location
    Brazil
    Posts
    308

    Default

    What phone ?
    Did you apply any patches to SDL ?

    Quote Originally Posted by riteshtonk View Post
    Hi,
    I finally managed to set up my crosstool environment and wrote a sample "Hello World" application, which worked fine from eKonsole.

    I cross compiled SDL with arm-linux flag and copied the .so files to the phone. To test out if the SDL was compiled fine, I wrote a small app which uses SDL and ran it from eKonsole again.
    I was expecting to see a white screen with some randomly generated pixels, but nothing happened. The binary did run, as I could see it running as a process in a separate eKonsole session, but no expected output. I could not even kill the process and had to reboot my phone.

    What am I missing here?

    -Ritesh
    Motorola Quench

    A1200i - Firmware: 42pL7 2.0


    E398: R373 R49 custom firmware

  3. #3

    Default

    MotoMing (A1200). No patches.

    I just saw the post made here about SDL. Will try the same.

  4. #4
    Join Date
    Nov 2005
    Location
    Brazil
    Posts
    308

    Default

    I guess is because of the ioctl FBIOPUT_VSCREENINFO, we can't use it on A1200. The process hangs...

    Quote Originally Posted by riteshtonk View Post
    MotoMing (A1200). No patches.

    I just saw the post made here about SDL. Will try the same.
    Motorola Quench

    A1200i - Firmware: 42pL7 2.0


    E398: R373 R49 custom firmware

  5. #5

    Default

    Thanks for the help, epinter!

    I do not have any knowledge about the A1200 system calls. I was hoping to get SDL compiled and installed on my phone then I can develop some games/apps.

  6. #6
    Join Date
    Nov 2005
    Location
    Brazil
    Posts
    308

    Default

    We need to modify SDL to work with A1200... Actually isn't working... The display isn't rotated...
    I'm trying to find an alternative to the SDL qtopia driver. Blackhawk found something, but isn't working yet.


    Quote Originally Posted by riteshtonk View Post
    Thanks for the help, epinter!

    I do not have any knowledge about the A1200 system calls. I was hoping to get SDL compiled and installed on my phone then I can develop some games/apps.
    Motorola Quench

    A1200i - Firmware: 42pL7 2.0


    E398: R373 R49 custom firmware

  7. #7

    Default

    Ok. Even I will start having a look at the code


 
+ Reply to Thread

Similar Threads

  1. SDL-1.2.7 patches for A1200
    By epinter in forum Development
    Replies: 23
    Last Post: 01-04-2008, 10:53 AM
  2. sdl on A780
    By colcen in forum A780 General Chat
    Replies: 3
    Last Post: 12-21-2007, 03:07 PM
  3. SDL lib
    By alebm in forum Development
    Replies: 21
    Last Post: 05-19-2006, 11:01 AM
  4. trying to run XMAME.SDL on E680...
    By leopardus2 in forum E680 General Chat
    Replies: 5
    Last Post: 06-21-2005, 05:30 AM
  5. SDL libs
    By Yuretz in forum E680 General Chat
    Replies: 0
    Last Post: 05-05-2005, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1