digitalhack/openFrameworks — pull request #6 by fieldOfView (2014-02-27 15:52:23+00:00)
Title: Replace libopencv_*.a for armv7 to fix linker errors

The current libopencv_*.a static libs are causing linker errors for me:
```
../../../addons/ofxOpenCv/libs/opencv/lib/linuxarmv7l/libopencv_imgproc.a(smooth.o): In function 'cv::getGaussianKernel(int, double, int)':
(.text._ZN2cv17getGaussianKernelEidi+0x1e0): undefined reference to '__exp_finite'
../../../addons/ofxOpenCv/libs/opencv/lib/linuxarmv7l/libopencv_imgproc.a(smooth.o): In function 'cv::bilateralFilter(cv::_InputArray const&, cv::_OutputArray const&, int, double, double, int)'
(.text._ZN2cv15bilateralFilterERKNS_11_InputArrayERKNS_12_OutputArrayEiddi+0x348): undefined reference to '__exp_finite'
[...]
../../../addons/ofxOpenCv/libs/opencv/lib/linuxarmv7l/libopencv_imgproc.a(color.o): In function 'cv::initLabTabs() [clone .part.1]':
(.text._ZN2cvL11initLabTabsEv.part.1+0x11a): undefined reference to '__pow_finite'
../../../addons/ofxOpenCv/libs/opencv/lib/linuxarmv7l/libopencv_imgproc.a(color.o): In function 'cv::initLabTabs() [clone .part.1]':
(.text._ZN2cvL11initLabTabsEv.part.1+0x192): undefined reference to '__pow_finite'
collect2: ld returned 1 exit status
make[1]: *** [bin/opencvExample] Error 1
make: *** [Release] Error 2
```

I have recompiled static libs from the 2.3.1a sources (http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2/download) using the following cmake options:
```cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_SHARED_LIBS=OFF ```

These replacement libs fix the linking problem for me. I am not sure if these libs have all the options enabled that the original libs have (but they work for me, which is more than I can say of the original libs)