opencv3, tbb and rasp pi 2 - Raspberry Pi Forums


has installed opencv 3.0.0 tbb enabled on latest rasperian on pi 2?

followed guide here
viewtopic.php?f=28&t=110025&p=761255&hi ... v3#p761255

differences made enable tbb via cmake... added build , tbb options shown..

cmake -d cmake_build_type=release -d build_tbb=on -d with_tbb=on -d cmake_install_prefix=$(python3 -c "import sys; print(sys.prefix)") -d python_executable=$(which python3) ..

patched current, dependencies installed far can tell..
cmake reports going install , old version of tbb...
-- use tbb: yes (ver 4.1 interface 6102)

make process fails linking problem don't understand fully,

[ 66%] built target opencv_features2d
scanning dependencies of target opencv_test_flann
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::task_group_context::cancel_group_execution()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::interface5::internal::task_base::destroy(tbb::task&)'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task_scheduler_init::initialize(int)'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task::note_affinity(unsigned short)'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::internal::handle_perror(int, char const*)'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::internal::allocate_child_proxy::allocate(unsigned int) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::internal::nfs_free(void*)'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task_group_context::is_group_execution_cancelled() const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::internal::throw_exception_v4(tbb::internal::exception_id)'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task_scheduler_init::terminate()'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task_scheduler_init::initialize(int, unsigned int)'
../../lib/libopencv_core.so.3.0.0: undefined reference `typeinfo tbb::task'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::internal::allocate_additional_child_of_proxy::allocate(unsigned int) const'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::task_group_context::reset()'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::internal::allocate_continuation_proxy::allocate(unsigned int) const'
../../lib/libopencv_core.so.3.0.0: undefined reference `vtable tbb::task'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::internal::allocate_root_with_context_proxy::free(tbb::task&) const'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task_group_context::init()'
../../lib/libopencv_imgproc.so.3.0.0: undefined reference `tbb::internal::nfs_allocate(unsigned int, unsigned int, void*)'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task_scheduler_init::default_num_threads()'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::internal::get_initial_auto_partitioner_divisor()'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::task_group_context::~task_group_context()'
../../lib/libopencv_core.so.3.0.0: undefined reference `tbb::internal::allocate_root_with_context_proxy::allocate(unsigned int) const'
[ 66%] building cxx object modules/core/cmakefiles/opencv_perf_core.dir/perf/perf_abs.cpp.o
collect2: ld returned 1 exit status
apps/annotation/cmakefiles/opencv_annotation.dir/build.make:99: recipe target 'bin/opencv_annotation' failed
make[2]: *** [bin/opencv_annotation] error 1
cmakefiles/makefile2:7228: recipe target 'apps/annotation/cmakefiles/opencv_annotation.dir/all' failed
make[1]: *** [apps/annotation/cmakefiles/opencv_annotation.dir/all] error 2
make[1]: *** waiting unfinished jobs....

things i've tried...
1.) thought newer version of tbb may help... after failing shown above hacked opencv installer , changed
tbb load latest release... no joy.. same problem.

2.) trying make finish found update cmakelists.txt in opencv/apps folder not install annotation app..
still failed. on different app.. traincascade... removed it.. same... remove last app in directory cmakelists.txt
, succeeded. when attempting link c app complains unresolved references on imgproc :|

3.) ran ccmake ../ , turned of build tests , other extras... no joy.


appeciate can .. want tbb use 4 cores pi if can!



raspberrypi



Comments

Popular posts from this blog

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support