Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Trusted Contributor
itcraps
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus
Accepted Solution

Placing the Build command for FFMPEG in Eclipse

Hi all, I'm very new in c++ but I have to use a third party library (FFMPEG)

 

My question is, where do I put the Build command in Momentics?

 

source:https://github.com/hardisonbrewing/libffbb

 

Thanks

 

$ # build (shared) libs for QNX armle-v7
$ # to enable h.264 support add `--enable-gpl --enable-libx264 --extra-cflags=-I/workspace/libffbb/libx264/include --extra-ldflags=-L/workspace/libffbb/libx264/lib/armle-v7`
$ ./configure --enable-cross-compile --cross-prefix=arm-unknown-nto-qnx8.0.0eabi- --arch=armv7 --disable-debug --enable-optimizations --enable-asm --disable-static --enable-shared --target-os=qnx --disable-ffplay --disable-ffserver --disable-ffprobe --prefix=`pwd`/target  
$ make install

 

www.jackdevora.com
Please use plain text.
New Developer
vladest
Posts: 88
Registered: ‎06-16-2012
My Device: N950/E7/N808/N9/X7/BB10 Alpha
My Carrier: Kievstar

Re: Placing the Build command for FFMPEG in Eclipse

actually, there is already built ffmpeg libs on the link above

Qt/Symbian/Meego/BB10/Cascades developer
Please use plain text.
Developer
mreed
Posts: 1,041
Registered: ‎07-16-2008
My Device: ಠ_ಠ

Re: Placing the Build command for FFMPEG in Eclipse

Those commands don't go in Momentics. They are from command line.

Please use plain text.
Trusted Contributor
itcraps
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Re: Placing the Build command for FFMPEG in Eclipse

Can just copy the entire FFMPEG folder from your project and will it work fine? Cause I have tried that and it didn't work.

Any thoughts?? Thankssss
www.jackdevora.com
Please use plain text.