My embedded development board cross-compilation command (opencv)

Source: Internet
Author: User

Labels: QT Linux cross-compiling embedded development opencv

I am using a SEED-DM3517 Development Board.

1. Enter the root system.

sudo -i

2. Go to the compilation folder.

cd /home/bwp/...

3. Establish a project

qmake -project

4. Edit the project header file and set the relevant LIBRARY PATH

gedit  ***.pro

Add path

INCLUDEPATH += .QT += webkitINCLUDEPATH += /usr/local/opencv-arm/OpenCV/include/opencv LIBS += /usr/local/opencv-arm/OpenCV/lib/libcv.so /usr/local/opencv-arm/OpenCV/lib/libcvaux.so/usr/local/opencv-arm/OpenCV/lib/libcxcore.so/usr/local/opencv-arm/OpenCV/lib/libhighgui.so/usr/local/opencv-arm/OpenCV/lib/libml.so


5. Generate makefile

qmake -spec /opt/qt-4.6.2/mkspecs/qws/linux-arm-g++/

6. Make

Generate an application and port it.

Note: Change the related path to the corresponding installation path.


My embedded development board cross-compilation command (opencv)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.