Comment 2 for bug 273694

Revision history for this message
rdb (rdb) wrote :

Just been compiling OpenCV for 64-bits, with these configure commands:
(I didn't know where exactly to put the -fPIC so to be sure I put them in all env vars):
export LDFLAGS=-fPIC
export CFLAGS=-fPIC
export CXXFLAGS=-fPIC
export CPPFLAGS=-fPIC
./configure --without-1394libs --without-v4l --without-v4l2 --prefix=~/Projects/panda3d/thirdparty/linux-libs-x64/opencv --without-python --without-swig --disable-apps

If someone here wants to compile the 32-bits version, please make sure you first install stuff like ffmpeg and gtk+ so they will be linked in.