holdingarea/readme.txt
branchbug235_bringup_0
changeset 20 d2d6724aef32
child 24 a3f46bb01be2
equal deleted inserted replaced
19:da7c1a80df0d 20:d2d6724aef32
       
     1 
       
     2 PlatSim rendering libraries
       
     3 
       
     4 Requirements:
       
     5 cmake 2.8 (http://www.cmake.org/cmake/resources/software.html)
       
     6 Visual Studio 2005 or 2008 (tested with VS2008 Express)
       
     7 llvm 2.7 (http://www.llvm.org/)
       
     8 
       
     9 
       
    10 STRUCTURE:
       
    11   cmake:
       
    12         Holds cmake scripts for LLVM configuration
       
    13 
       
    14   llvm: 
       
    15         LLVM binaries (contains only binaries needed by libOpenVG).
       
    16         * if you want to use some other build/version of LLVM
       
    17           please modify CMakeLists.txt files accordingly.
       
    18   
       
    19   inc:  
       
    20         Common include files. EGL-VG interface, EGL-GLES interface,
       
    21         Khronos API includes etc.
       
    22 
       
    23   libEGL:
       
    24         EGL source code.
       
    25 
       
    26   libGLESv1:
       
    27         GLES wrapper source code.
       
    28 
       
    29   libGLESv2:
       
    30         GLES2 wrapper source code.   
       
    31 
       
    32   serialization: 
       
    33         PlatSim serialization source code.
       
    34  
       
    35   vg:
       
    36         OpenVG source code.
       
    37 
       
    38   bin:
       
    39         Built binaries will be placed here.
       
    40 
       
    41   lib:
       
    42         Include libraries will be placed here.
       
    43   
       
    44 BUILDING:
       
    45 
       
    46  Windows:  
       
    47   - LLVM 2.7 is required by the OpenVG implementation. Use Visual Studio to
       
    48     compile the runtime library, and download binaries for the llvm-gcc 4.2.
       
    49     The libraries should be installed under [root]/llvm/llvm-2.7 (because this 
       
    50     is assumed by the libOpenVG build process), and gcc should be extracted 
       
    51     into [root]/llvm/llvm-gcc4.2-2.7-x86-mingw32 (default name of the 
       
    52     extracted .tar.bz2).
       
    53 
       
    54   - Run .bat file from top level directory in visual studio command prompt
       
    55      * build_vs[2005|2008].bat:
       
    56        - will create Visual Studio [2005|2008] solution with vanilla EGL
       
    57        - current serialization code won't build with this configuration
       
    58 
       
    59      * build_vs[2005|2008]_miniegl.bat:
       
    60        - will create Visual Studio [2005|2008] solution with MiniEGL
       
    61          from reference OpenVG
       
    62        - current serialization code won't build with this configuration
       
    63 
       
    64      * build_vs[2005|2008]_platsim_extensions.bat:
       
    65        - will create Visual Studio [2005|2008] solution with PlatSim
       
    66          specific extensions enabled in EGL library.
       
    67        - can be used with current serialization code.
       
    68 
       
    69   - Each of the .bat files will create own building directory. You will find
       
    70     Visual studio .sln file in that directory.
       
    71   
       
    72  Linux:
       
    73   \note Debugging on Linux requires gdb CVS 7.2 or newer.
       
    74   TODO