Ask Your Question

snusmu's profile - activity

2014-06-05 13:24:46 -0600 received badge  Teacher (source)
2014-06-05 12:18:11 -0600 received badge  Necromancer (source)
2014-06-05 12:07:10 -0600 answered a question Error -fPIC while compiling OpenCV

it happens when your ffmpeg or h264 was built without 64bit support

check the guide at this location:

http://www.ozbotz.org/opencv-installation/

specifically parts at 7b and 8b marked IMPORTANT

you ll have to uninstall your current h264/ffmpeg and rebuild them with --enable-shared --enable-fpic flags

i had same error, and after following this guide (using most recent ffmpeg/h264/v4l versions) everything worked perfectly well

2014-06-05 10:57:05 -0600 answered a question Error -fPIC while compiling OpenCV

run this before cmake/make

export CFLAGS="-fPIC"

export CXXFLAGS="$CFLAGS"

2014-06-05 10:52:06 -0600 received badge  Supporter (source)