Will Miles
|
Re: Onvif support for QNX 6.5?
|
Will Miles
07/08/2022 4:03 PM
post121848
|
Re: Onvif support for QNX 6.5?
Hi Martin,
ffmpeg is an open source project; you'll probably need to compile it for your target platform. For our QNX 6.6-based
system we found there were no additional patches required to cross compile for QNX and get it working for our
application - it built "out of the box" so to speak with the right configure options.
That said: if you need https support, you may also need to port gnutls, which did require a little more porting effort.
Here is a quick copy-and-paste of the configure and make lines from our Linux-based cross build system:
CC=qcc
CXX=QCC
CFLAGS="$CFLAGS -D__EXT"
CARCH="ntox86"
export AR="${CARCH}-ar"
export AS="${CARCH}-as"
export ELFEDIT="${CARCH}-elfedit"
export LD="${CARCH}-ld"
export NM="${CARCH}-nm"
export OBJDUMP="${CARCH}-objdump"
export OBJCOPY="${CARCH}-objcopy"
export RANLIB="${CARCH}-ranlib"
export SIZE="${CARCH}-size"
export STRINGS="${CARCH}-strings"
export STRIP="${CARCH}-strip"
./configure \
--prefix='/usr' \
--disable-debug \
--disable-static \
--disable-stripping \
--enable-gmp \
--enable-gnutls \
--enable-gpl \
--enable-shared \
--enable-version3 \
--enable-cross-compile \
--cc=${CC} \
--cxx=${CXX} \
--ld=qcc \
--ranlib=${RANLIB} \
--strip=${STRIP} \
--nm=${NM} \
--ar=${AR} \
--as=${AS} \
--target-os=qnx \
make -j10
----
Hope this helps some,
-Will
|
|
|