Showing posts with label OpenCV. Show all posts
Showing posts with label OpenCV. Show all posts

Sunday, August 01, 2010

Build OpenCV 2.1.0 on MacOSX with GigE support

For TBB support : download TBB for MacOSX
sudo mkdir /usr/local/include
sudo mkdir /usr/local/lib
sudo mv include/tbb /usr/local/tbb
sudo mv lib/* usr/local/lib
For GigE support : download PvAPI for MacOSX
sudo mv inc-pc/PvApi.h /usr/local/include
sudo mv lib-pc/x64/libPvApi.* /usr/local/lib

Follow installation guide then.
http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port

Tuesday, November 03, 2009

Build OpenCV 2.0.0a as static library

In MSVC++ 2008...

Use CMAKE to generate project files

From project files...

1. Change DLL option to LIB
2. Change OUTPUT folder to ..\..\lib\($env)\($projectName)200($d).lib

HIGHGUI200.LIB may build but no use (looking for solution now)...

Alternatevely use shared library of HIGHGUI200.LIB and place CXCORE200.DLL and HIGHGUI200.DLL on the path

To Compile custom project, make sure change /MT(d) to /MD(d) in compiler option and set /NODEFAULTLIB:"libcmt(d).lib"

Open CV 1.1pre1 MINGW 5.1.6 (GCC 3.4.5) Compile

ren bin bin_original // back up original files
ren lib lib_original // back up original files
cd _make
mingw32-make -f make_all_gnu.mak // for release version
set DEBUG=1
mingw32-make -f make_all_gnu.mak // for debug version