I have downloaded Optimize OpenMax DL library for Cortex-A8 from Arm Website and OpenMAX DL 1.0.2 Specification document from http://www.khronos.org/openmax/.
I was trying to check given example in OpneMax document using RVDS4.0 Evaluation Version on Windows PC.I was building application as linux executable.
I have built OpenMAX library using perl and which generated OMXsp.a under lib folder.
I have set User Include Path “C:\Documents and Settings\admin\Desktop \OX002-BU-0010-r2p0-00rel0\OX002-BU-00010-r2p0-00rel0\api” and “C:
\Documents and Settings\admin\Desktop\OX002-BU-0010-r2p0-00rel0
\OX002-BU-00010-r2p0-00rel0\sp\api” in Project Properties -> C/C++ Build -> Settings -> Tool Settings -> ARM RealView Compiler 4.0 -> Directory in that User Include Path (-I) option.
Properties -> C/C++ Build -> Settings -> Tool Settings -> ARM RealView Compiler 4.0 -> All options:
–cpu=Cortex-A8 -I"C:\Documents and Settings\admin\Desktop \OX002-BU-0010-r2p0-00rel0\OX002-BU-00010-r2p0-00rel0\api" -I"C:
\Documents and Settings\admin\Desktop\OX002-BU-0010-r2p0-00rel0
\OX002-BU-00010-r2p0-00rel0\sp\api"
–arm_linux_config_file=…/arm_linux_config.xml
Similarly I have also include library search path and Library into Project Properties -> C/C++ Build -> Settings -> Tool Settings -> ARM RealView Linker 4.0 -> Directory :
Library Search Path(-userlibpath=) add “C:\Documents and Settings\admin\Desktop\OX002-BU-0010-r2p0-00rel0\OX002-BU-00010-r2p0-00rel0\lib”
Libraries add : OMXsp.a
When I have built My Example Project I got following error:
armlink : error L6242: Cannot link object omxSP_FFTGetBufSize_C_SC16.o as its attributes are incompatible with the image attributes.
This omxSP_FFTGetBufSize_C_SC16 function is available in openmax_dl_spec_1_0_2.pdf and declared in sp/api/omxSP.h