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,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "English Common Forum" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
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,
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