Showing posts with label build. Show all posts
Showing posts with label build. Show all posts

3/08/2017

Refer to this setting when you build opencv with TBB


When you build opencv with checking with_tbb option, cmake ask crrect paths about tbb.

Refer to this setting.
note, this is set for vc12 and 32bit.



TBB_ENV_INCLUDE :
/tbb2017_20170226oss_win/tbb2017_20170226oss/include

TBB_ENV_LIB :
/tbb2017_20170226oss_win/tbb2017_20170226oss/lib/ia32/vc12/tbb.lib

TBB_ENV_LIB_DEBUG :
/opencv/tbb2017_20170226oss_win/tbb2017_20170226oss/lib/ia32/vc12/tbb_debug.

TBB_VER_FILE :
/tbb2017_20170226oss_win/tbb2017_20170226oss/include/tbb/tbb_stddef.h


3/06/2017

TBB doesn't have CMakelist.txt, go to here.

Intel Threading Building Blocks..

I downloaded the source code here -> https://www.threadingbuildingblocks.org/
and I want to build it with cmake.

But I meet this error -> ...does not appear to contain CMakeLists.txt

Looking for a long time to figure out what to do ..
I found this site -> https://github.com/wjakob/tbb

Thank you.


1/31/2017

Including VTK when building opencv

First, we download VTK and build it.
http://www.vtk.org/download/

and
We set the path where VTK is built, when we build opencv.


Note that, we need to include the build path, not the installed path.

http://cvlecture.marearts.com/2016/12/opencv-build-shared-opencv.html
If you go to the above address, I have built VTK 7.1.
And new content will continue to be added.

Good luck!

1/05/2016

(lucky tip) linux opencv+cuda cmake setting and build error ->nvcc fatal compute_11

About nvcc fatal compute_11 error
when build linux(ubuntu) after opencv + cuda setting using cmake

Try change cmake setting.
Cann't you see this option check Advanced box.

CUDA_GENERATION=Kepler
Add 3.2 in CUDA_ARCH_BIN

CUDA_ARCH_BIN = 3.2

11/08/2015

long delay opencv gpu/cuda/GpuMat

When using opencv GpuMat, there is a long delay in a use of the first line code.


In this page,
http://answers.opencv.org/question/52304/long-delay-on-cvgpugpumatupload-after-upgrade-to-gtx970/
There is solution in article.

In one word.



Add 5.2 option in CUDA_ARCH_BIN table when cmake setting.
In my case, this delay problem cleared, after build by set this option.

Thank you.