export LD_LIBRARY_PATH=/home/user/opencv-2.4.9_arm/ffmpeg-2.8.10/lib:$/lib” TYPE SHARED_LIBRARY FILES.Add the following paths in the env_opencv_xilinx and source it again:.configure –enable-shared –disable-static –cross-prefix=arm-xilinx-linux-gnueabi- –arch=armv7l –target-os=linux –prefix=/home/user/opencv-2.4.9_arm/ffmpeg-2.8.10/ Change directory inside the ffmpeg-2.8.10 folder.I chose to move the ffmpeg-2.8.10 folder inside the opencv-2.4.9 folder. Unzip and untar OpenCV and place it in /home/user/opencv-2.4.9 folder.Source /opt/Xilinx/Vivado/2014.4/settings64.sh export CROSS_COMPILE=arm-xilinx-linux-gnueabi.Create a text file (env_opencv_xilinx) with the following environment variables to be sourced so that the Vivado tools are available on command line:.First install Xilinx Vivado Tools successfully without any problems in /opt/Xilinx/Vivado folder.The following are my compilation of the instructions: The prerequisite is that the Xilinx Vivado tools have been installed correctly in Ubuntu /opt/Xilinx/ directory and can be invoked from Linux shell prompt. I have not listed any OS level dependencies that is required before attempting to start cross compiling OpenCV for Xilinx Zynq. I have not tried on other versions of Ubuntu and OpenCV but I think it should still work. I did this a while ago so the Xilinx Vivado tools are older versions Vivado 2014.4. ![]() I have chosen to download and compile OpenCV-2.4.9 in particular. I have followed instructions mentioned on Xilinx-Wiki however I had to tweak quite a few instructions for me at a few places in order to successfully compile OpenCV. I am writing this to keep a log for myself and others whenever I want to cross compile OpenCV for Xilinx Zynq – ARM platform for Ubuntu 14.04. ![]() ![]() Unmanned Aerial Vehicles (UAVs, Drones).SnapOn Bluetooth Scan Module PCB Connector Repair.Snap-On Verus Pro Disassembly & Blank Screen Fix.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |