Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Lightspark - Flash Player Alternative?

    Reply
    Page 3 of 3 | Prev |   1     2   3 |
    szopin | # 21 | 2011-10-06, 10:23 | Report

    Originally Posted by Sazpaimon View Post
    Doing on-device compilation of LLVM will take a long, long, long time, and not really worth it. I have LLVM 2.7 compiled and installed on my scratchbox setup, which is what I reccomend (if you can compile a gcc 4.4 toolchain for it).

    Also, I have lightspark running on my device, but their GLES implementation isn't working on the device, so I'm not getting an picture. I'm working with the Lightspark devs to try to resolve this.
    well, that took between 2 and 6hrs, compared to 13hrs for crawl-tiles gles... too bad with bpp not going to be trivial.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    AapoRantalainen | # 22 | 2012-04-07, 08:33 | Report

    Originally Posted by Sazpaimon View Post
    Also, I have lightspark running on my device, but their GLES implementation isn't working on the device, so I'm not getting an picture. I'm working with the Lightspark devs to try to resolve this.
    What version of Ligthspark you got compiled and how?

    I made newer packages of libxml (2.33.1) : http://cc.oulu.fi/~rantalai/maemo5/

    I have gcc-4.6 installed on scrathbox1 (talk.maemo.org/showthread.php?t=81861)

    I compiled llvm-3.0
    CMakeLists required cmake 2.8 -> 2.6
    Code:
    CC=gcc-4.6 CXX=g++-4.6 cmake ../llvm-3.0.src/ -DLLVM_TARGETS_TO_BUILD="ARM"
    make
    fakeroot make install
    I added files FindGLES2.cmake and FindEGL.cmake for cmake: http://cc.oulu.fi/~rantalai/maemo5/
    (Is there something wrong with them?)


    And then I tried compile Lightspark from git: (March-2012) 9a6be5e822d39029944b872ac532c6c4e4e6bc4c

    CMakeLists.txt needs
    Code:
     INCLUDE(FindGLEW REQUIRED)
     ENDIF(NOT(ENABLE_GLES2))
    +INCLUDE(FindGLES2 REQUIRED)
    +INCLUDE(FindEGL REQUIRED)
     INCLUDE(FindPCRE REQUIRED)
     INCLUDE(FindJPEG REQUIRED)
    
     IF(ENABLE_GLES2)
    -  pkg_check_modules(GLES2 REQUIRED egl glesv2)
    +  find_package(GLES2)
    +  find_package(EGL)
       ADD_DEFINITIONS(-DENABLE_GLES2)
     ENDIF(ENABLE_GLES2)
    (I don't know why)

    Code:
    CC=gcc-4.6 CXX=g++-4.6 cmake -DENABLE_GLES2=ON -DCMAKE_BUILD_TYPE=Release ..
    make
    For compiling I must comment out some stuff: GL_EXT_texture_format_BGRA8888 (because 24bit/16bit issue) and g_date_time* (because too old gtk)

    After that, linking fails because of (lots of)
    Code:
    compat.cpp:(.text+0x10): undefined reference to `clock_gettime'
    swf.cpp:(.text+0x1728): undefined reference to `glVertexAttribPointer'
    clock_gettime needs -lrt
    gl_* needs -lGLESv2
    So these are not passed correctly, but I do not know how to force them with cmake.
    (It will not work even linking success, because there are essential parts commented out)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to AapoRantalainen For This Useful Post:
    bipinbn, GrimyHR, ibrakalifa, imo, szopin

     
    bingomion | # 23 | 2012-06-09, 01:36 | Report

    Lightspark 0.5.7 has been released now

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 3 of 3 | Prev |   1     2   3 |
vBulletin® Version 3.8.8
Normal Logout