Menu

Examples on arm ?

Anonymous
2017-03-30
2017-03-30
  • Anonymous

    Anonymous - 2017-03-30

    Hi,

    I was able to checkout code and compile with the following command for an ARM board.

    cd ~/projects/simd/prj/cmake
    cmake . -DTOOLCHAIN="arm-linux-gnueabihf-g++" -DTARGET="arm" -DCMAKE_BUILD_TYPE="Release"
    make

    Inside cmake folder I see some static lirbaries:
    CMakeCache.txt cmake_install.cmake libSimd.a libSimdNeon.a Makefile
    CMakeFiles CMakeLists.txt libSimdBase.a libTestCheckC.a Test

    How do I use those static libraries ? Say I want to use a function SimdYuv420pToBGR from SimdLib.cpp. Could you please provide us an example ?

    Thanks,

     
  • Yermalayeu Ihar

    Yermalayeu Ihar - 2017-03-31

    Hi,

    CMakeLists.txt in the project builds the library and a test application. As the test application need to access to the internal structure of the library then it is linked as a static library. But of course, you also can build it as a shared library.
    So on ARM target platform Simd has dependence from SimdBase and SimdNeon. If you want to use SimdYuv420pToBgr you have to add dependence to Simd.

    Ihar

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.