Forráskód Böngészése

1、修改了ffmpeg的编译文件

Apple 5 hónapja
szülő
commit
abf2739ad2
2 módosított fájl, 6 hozzáadás és 4 törlés
  1. 4 2
      编译FFMPEG.txt
  2. 2 2
      编译SPDLOG.txt

+ 4 - 2
编译FFMPEG.txt

@@ -1,9 +1,11 @@
 ../configure \
---prefix=/home/Apple/Libs/ffmpeg4.4.5 \
+--prefix=/home/Apple/Lib/ffmpeg4.4.5 \
 --target-os=linux \
 --arch=x86_64 \
 --disable-x86asm \
 --enable-shared \
---enable-openssl
+--enable-openssl \
+--extra-cflags="-I/home/Apple/Lib/Standard_Library/Libraries/OpenSSL-1.1.1/include -I/home/Apple/Lib/SRC/ffmpeg-4.4.5/ffmpeg-4.4.5/build/include -fPIC" \
+--extra-ldflags="-L/home/Apple/Lib/Standard_Library/Libraries/OpenSSL-1.1.1/lib -lssl -lcrypto -L/home/Apple/Lib/SRC/ffmpeg-4.4.5/ffmpeg-4.4.5/build/lib"
 
 编译FFMPEG,启用openssl

+ 2 - 2
编译SPDLOG.txt

@@ -14,8 +14,8 @@ cmake .. \
 编译成静态库
 cmake .. \
 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
--DCMAKE_INSTALL_PREFIX="/home/Apple/Libs/Standard_Library/Libraries/linux_gcc8.3_static" \
--DCMAKE_BUILD_TYPE=Debug \
+-DCMAKE_INSTALL_PREFIX="/data/home/Apple/Lib/SRC/spdlog-1.14.1" \
+-DCMAKE_BUILD_TYPE=Release \
 -DSPDLOG_BUILD_SHARED=OFF \
 -DSPDLOG_BUILD_EXAMPLE=OFF \
 -DSPDLOG_FMT_EXTERNAL=ON \