problem making OpenCV for Open Detection

60 views
Skip to first unread message

Ho'jat Kaveh

unread,
Apr 6, 2017, 5:38:03 AM4/6/17
to opendetection
Hello

I have installed all the dependencies according to here except OpenCV.
This is the camke command I used for OpenCV:

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D WITH_VTK=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -DOPENCV_EXTRA_MODULES_PATH=/home/tiestu/Documents/GitRepository/OpenCV3/opencv_contrib/modules /home/tiestu/Documents/GitRepository/OpenCV3/opencv

and I receive this error which I don't know what it means:

modules/viz/CMakeFiles/opencv_viz_pch_dephelp.dir/build.make:62: recipe for target 'modules/viz/CMakeFiles/opencv_viz_pch_dephelp.dir/opencv_viz_pch_dephelp.cxx.o' failed
make
[2]: *** [modules/viz/CMakeFiles/opencv_viz_pch_dephelp.dir/opencv_viz_pch_dephelp.cxx.o] Error 1
CMakeFiles/Makefile2:6005: recipe for target 'modules/viz/CMakeFiles/opencv_viz_pch_dephelp.dir/all' failed
make
[1]: *** [modules/viz/CMakeFiles/opencv_viz_pch_dephelp.dir/all] Error 2

Do I need to install another required package or is it possible I haven't installed some of the above packages correctly?
thank you for your help in advance.

Kripasindhu Sarkar

unread,
Apr 6, 2017, 5:43:52 AM4/6/17
to Ho'jat Kaveh, opendetection
Hello,

Copy and paste more lines from the console where it tells what the error is.

Thanks,
Kripa

--
You received this message because you are subscribed to the Google Groups "opendetection" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendetection+unsubscribe@googlegroups.com.
To post to this group, send email to opende...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/opendetection/b625aa89-f163-451a-ac2a-e2777b9f00a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kripasindhu Sarkar
Department Augmented Vision

German Research Center for Artificial Intelligence GmbH -
'Deutsches Forschungszentrum für Künstliche Intelligenz (DFKI) GmbH',
Trippstadter Strasse 122, D-67663 Kaiserslautern

Phone: +49 (0) 631 20575-3680

Ho'jat Kaveh

unread,
Apr 6, 2017, 8:12:00 AM4/6/17
to opendetection
here are the cmake and make results.

Ho'jat Kaveh

unread,
Apr 9, 2017, 5:00:50 AM4/9/17
to opendetection
On line 1130 make report it says:
vtkGenericDataArrayLookupHelper.h:72:23: error: nullptr was not declared in this scope

so It seems the problem is not directly related to OpenCV and I have to correct a mistake I've apparently made during making VTK package.
I have to post a new question.

Reply all
Reply to author
Forward
0 new messages