Test Files for opencv_contrib/modules/dnn_modern/samples/simple_test.cpp
Hello, In ubuntu 15.10, cuda 7.5 on GTX750M, with g++ 4.9.2, i'm trying to install opencv3.2, i updated my cmake to 3.4 because i realized that my dnn_modern don't was founded, but now i get this error:
[ 36%] Building CXX object modules/bgsegm/CMakeFiles/example_bgsegm_bgfg_gmg.dir/samples/bgfg_gmg.cpp.o /home/elaura/Documentos/App/opencv_contrib/modules/dnn_modern/samples/simple_test.cpp: In function ‘std::vector > get_label_list(const string&)’: /home/elaura/Documentos/App/opencv_contrib/modules/dnn_modern/samples/simple_test.cpp:37:59: error: ‘runtime_error’ was not declared in this scope throw runtime_error("failed to open:" + label_file);
[ 36%] Linking CXX executable ../../bin/example_dnn_torch_enet modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/build.make:62: recipe for target 'modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/samples/simple_test.cpp.o' failed make[2]: * [modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/samples/simple_test.cpp.o] Error 1 CMakeFiles/Makefile2:9431: recipe for target 'modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/all' failed make[1]: * [modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/all] Error 2 make[1]: * Se espera a que terminen otras tareas....
[ 36%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/waldboost.cpp.o
Where are the files for simple_test?
Thank you
g++ --version ?
does adding
#include <stdexcept>
help ?Hi, version 4.9, i added your suggestion but nothing, always error with simple_test.cpp.
try to replace this line with:
it's still experimental code, expect some warts, and get bold !