FreeImage
FreeImage copied to clipboard
Build and Test for Linux/ARM64
Description
For aarch64 platform, I have built " FreeImage " from source.
Steps
Following STEPS (https://github.com/danoli3/FreeImage#building-this-fork) were used for the building and installation:
sudo apt update
sudo apt install build-essential cmake git wget –y
wget https://github.com/danoli3/FreeImage/archive/refs/tags/3.18.10.tar.gz
tar -xvf 3.18.10.tar.gz
cd FreeImage-3.18.10
cmake . -B cmake-build
cmake --build cmake-build
cmake . -B cmake-build-debug -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON
cmake --build cmake-build-debug --config Debug
Outcome
To validate that the build was successful we ran version Check. The version info returned matched the expected value(s).
dpkg -l | grep freeimage
ii libfreeimage-dev:arm64 3.18.0+ds2-10build4 arm64 Support library for graphics image formats (development files)
ii libfreeimage3:arm64 3.18.0+ds2-10build4 arm64 Support library for graphics image formats (library)
All this information was also added the Software Ecosystem Dashboard for Arm (https://www.arm.com/developer-hub/ecosystem-dashboard/