Hello, i am trying to trace a simple demo using PVRCarbon and record it into a file on Linux system, copy it to a Windows host pc and load the recording into GUI.I want to check the frame of each swap buffer and OpenGL ES calls.
when i set PVRCARBON_host_library_egl and PVRCARBON_host_library_glesv2 as value of .so built by myself
export LD_LIBRARY_PATH=/tmp/lib_pvrcarbon:$LD_LIBRARY_PATH
export PVRCARBON_host_library_egl=/opt/lib/libEGL.so
export PVRCARBON_host_library_glesv2=opt/lib/libGLESv2.so
export PVRCARBON_align_memory=true
export PVRCARBON_memory_map_files=0
export PVRCARBON_block_number=4
export LD_PRELOAD=/opt/lib/libEGL.so:/opt/lib/libGLESv2.so:/tmp/lib_pvrcarbon/libPVRCarbon.so
when i ran the sample, it doesn’t work:
just shows: PVRCarbon Recorder v0.8.1 (21.2@6185011), and the sample run directly
while i set PVRCARBON_host_library_egl and PVRCARBON_host_library_glesv2’ value as the path of .so which are from pvrcarbon
export LD_LIBRARY_PATH=/tmp/lib_pvrcarbon:/opt/lib/:$LD_LIBRARY_PATH
export PATH=$PATH:/opt/bin
export PVRCARBON_host_library_egl=/tmp/lib_pvrcarbon/libEGL.so
export PVRCARBON_host_library_glesv2=/tmp/lib_pvrcarbon/libGLESv2.so
export PVRCARBON_align_memory=true
export PVRCARBON_memory_map_files=0
export PVRCARBON_block_number=4
export LD_PRELOAD=/tmp/lib_pvrcarbon/libEGL.so:/tmp/lib_pvrcarbon/libGLESv2.so:/tmp/lib_pvrcarbon/libPVRCarbon.so
when i ran the sample :
i am confused. when i use the same config on ubuntu system ,it works success