Original] Overview of IP Camera Technology (5)---Preliminary Test of IP Camera-mjpg-streamer Transplantation and Deployment

2. Migration and deployment of mjpg-streamer (1) Download the source code: jpegsrc.v6b.tar.gz mjpg-streamer-r63.tar.gz

(2) Cross-compile the jpeg library to generate the libjpeg.so.62.0.0 library file. The steps for porting the libjpeg library to the mini2440arm board are as follows:

Step 1: Download libjpeg source code Step 2: Unzip Step 3: Switch to the decompressed directory and execute: ./configure –prefix=installation directory CC=arm-linux-gcc –host=arm-linux –enable-shared –enable -static Step 4: make && make install Step 5: Use of the library Add #include "jpeglib.h" to your source code In addition, please use the following method when compiling: arm-linux-gcc -o you The output of your program -l/install_dir -l:libjpeg.so.62

(3) Cross-compile mjpg-streamer.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325109536&siteId=291194637