Created
November 27, 2016 11:12
-
-
Save andreanicastro/b9060f10c55e9f731c19134b471774a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 27%] Building CXX object modules/cudaarithm/CMakeFiles/opencv_perf_cudaarithm.dir/perf/perf_arithm.cpp.o | |
cd /home/anicastro/software/opencv/build/modules/cudaarithm && /usr/bin/c++ -D__OPENCV_BUILD=1 -I/home/anicastro/software/opencv/3rdparty/ippicv/unpack/ippicv_lnx/include -I/home/anicastro/software/opencv/build -isystem /usr/local/include/eigen3 -I/home/anicastro/software/opencv/modules/cudaarithm/include -I/home/anicastro/software/opencv/modules/cudaarithm/src -I/home/anicastro/software/opencv/build/modules/cudaarithm -I/home/anicastro/software/opencv/modules/cudev/include -I/home/anicastro/software/opencv/modules/core/include -isystem /usr/local/cuda/include -I/home/anicastro/software/opencv/modules/ts/include -I/home/anicastro/software/opencv/modules/imgcodecs/include -I/home/anicastro/software/opencv/modules/videoio/include -I/home/anicastro/software/opencv/modules/imgproc/include -I/home/anicastro/software/opencv/modules/highgui/include -I/home/anicastro/software/opencv/modules/cudaarithm/test -I/home/anicastro/software/opencv/modules/cudaarithm/perf -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Winit-self -Wpointer-arith -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -Wno-undef -Wno-missing-declarations -Wno-shadow -O3 -DNDEBUG -DNDEBUG -o CMakeFiles/opencv_perf_cudaarithm.dir/perf/perf_arithm.cpp.o -c /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp | |
modules/cudaarithm/CMakeFiles/opencv_perf_cudaarithm.dir/build.make:86: recipe for target 'modules/cudaarithm/CMakeFiles/opencv_perf_cudaarithm.dir/perf/perf_arithm.cpp.o' failed | |
make[2]: Leaving directory '/home/anicastro/software/opencv/build' | |
CMakeFiles/Makefile2:1422: recipe for target 'modules/cudaarithm/CMakeFiles/opencv_perf_cudaarithm.dir/all' failed | |
make[1]: Leaving directory '/home/anicastro/software/opencv/build' | |
Makefile:160: recipe for target 'all' failed | |
In file included from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:55:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:70:103: error: template argument 2 is invalid | |
#define DEF_PARAM_TEST(name, ...) typedef ::perf::TestBaseWithParam< std::tr1::tuple< __VA_ARGS__ > > name | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:110:1: note: in expansion of macro ‘DEF_PARAM_TEST’ | |
DEF_PARAM_TEST(Sz_Flags, cv::Size, DftFlags); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:70:105: error: template argument 1 is invalid | |
#define DEF_PARAM_TEST(name, ...) typedef ::perf::TestBaseWithParam< std::tr1::tuple< __VA_ARGS__ > > name | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:110:1: note: in expansion of macro ‘DEF_PARAM_TEST’ | |
DEF_PARAM_TEST(Sz_Flags, cv::Size, DftFlags); | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:605:45: error: expected class-name before ‘{’ token | |
class fixture##_##name : public fixture {\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:13: error: ‘class Sz_Flags_MulSpectrums’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:605:11: note: in definition of macro ‘PERF_TEST_P’ | |
class fixture##_##name : public fixture {\ | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:13: error: base class ‘class Sz_Flags_MulSpectrums’ has accessible non-virtual destructor [-Werror=non-virtual-dtor] | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:8154:3: note: in definition of macro ‘GTEST_TEST_CLASS_NAME_’ | |
test_case_name##_##test_name##_Test | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:5: note: in expansion of macro ‘TEST_P’ | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:13: error: ‘class Sz_Flags_MulSpectrums_MulSpectrums_Test’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:8154:3: note: in definition of macro ‘GTEST_TEST_CLASS_NAME_’ | |
test_case_name##_##test_name##_Test | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:5: note: in expansion of macro ‘TEST_P’ | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘class testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10509:40: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
typedef typename TestCase::ParamType ParamType; | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10511:60: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
typedef ParamGenerator<ParamType>(GeneratorCreationFunc)(); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10526:8: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
void AddTestPattern(const char* test_case_name, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10601:7: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
InstantiationContainer; | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:29:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In static member function ‘static int Sz_Flags_MulSpectrums_MulSpectrums_Test::AddToRegistry()’: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_ext.hpp:75:53: error: ‘class testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>’ has no member named ‘AddTestPattern’ | |
#test_case_name, __FILE__, __LINE__)->AddTestPattern(\ | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:5: note: in expansion of macro ‘TEST_P’ | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘class testing::internal::TestMetaFactory<Sz_Flags_MulSpectrums_MulSpectrums_Test>’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10450:7: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums_MulSpectrums_Test’ | |
class TestMetaFactory | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10453:40: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums_MulSpectrums_Test’ | |
typedef typename TestCase::ParamType ParamType; | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In member function ‘virtual void Sz_Flags_MulSpectrums_MulSpectrums_Test::Body()’: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:62: error: ‘RunPerfTestBody’ was not declared in this scope | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: At global scope: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:13: error: ‘ParamType’ is not a member of ‘Sz_Flags_MulSpectrums’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17034:39: note: in definition of macro ‘INSTANTIATE_TEST_CASE_P’ | |
::testing::internal::ParamGenerator<test_case_name::ParamType> \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:13: error: ‘ParamType’ is not a member of ‘Sz_Flags_MulSpectrums’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17034:39: note: in definition of macro ‘INSTANTIATE_TEST_CASE_P’ | |
::testing::internal::ParamGenerator<test_case_name::ParamType> \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17034:64: error: template argument 1 is invalid | |
::testing::internal::ParamGenerator<test_case_name::ParamType> \ | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:612:5: note: in expansion of macro ‘INSTANTIATE_TEST_CASE_P’ | |
INSTANTIATE_TEST_CASE_P(/*none*/, fixture##_##name, params);\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In function ‘int gtest_Sz_Flags_MulSpectrums_EvalGenerator_()’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:114:31: error: reference to ‘DftFlags’ is ambiguous | |
Values(0, DftFlags(cv::DFT_ROWS)))) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17035:66: note: in definition of macro ‘INSTANTIATE_TEST_CASE_P’ | |
gtest_##prefix##test_case_name##_EvalGenerator_() { return generator; } \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:108:10: note: candidates are: struct {anonymous}::DftFlags | |
CV_FLAGS(DftFlags, 0, cv::DFT_INVERSE, cv::DFT_SCALE, cv::DFT_ROWS, cv::DFT_COMPLEX_OUTPUT, cv::DFT_REAL_OUTPUT) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:127:12: note: in definition of macro ‘CV_FLAGS’ | |
struct class_name { \ | |
^ | |
In file included from /home/anicastro/software/opencv/modules/core/include/opencv2/core.hpp:54:0, | |
from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:41, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/core/include/opencv2/core/base.hpp:214:6: note: enum cv::DftFlags | |
enum DftFlags { | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: At global scope: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17039:53: error: ‘class testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>’ has no member named ‘AddTestCaseInstantiation’ | |
#test_case_name, __FILE__, __LINE__)->AddTestCaseInstantiation(\ | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:612:5: note: in expansion of macro ‘INSTANTIATE_TEST_CASE_P’ | |
INSTANTIATE_TEST_CASE_P(/*none*/, fixture##_##name, params);\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, MulSpectrums, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:55:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In member function ‘virtual void Sz_Flags_MulSpectrums::PerfTestBody()’: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:68:54: error: ‘GetParam’ was not declared in this scope | |
#define GET_PARAM(k) std::tr1::get< k >(GetParam()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:116:27: note: in expansion of macro ‘GET_PARAM’ | |
const cv::Size size = GET_PARAM(0); | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:121:5: error: ‘declare’ was not declared in this scope | |
declare.in(a, b, WARMUP_RNG); | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:121:22: error: ‘WARMUP_RNG’ was not declared in this scope | |
declare.in(a, b, WARMUP_RNG); | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:33: error: ‘next’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:129:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::cuda::mulSpectrums(d_a, d_b, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:49: error: ‘startTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:129:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::cuda::mulSpectrums(d_a, d_b, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:62: error: ‘stopTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:129:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::cuda::mulSpectrums(d_a, d_b, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:206:94: error: no matching function for call to ‘perf::Regression::add(Sz_Flags_MulSpectrums*, const char [8], cv::Mat&, double, perf::ERROR_TYPE)’ | |
#define SANITY_CHECK(array, ...) ::perf::Regression::add(this, #array, array , ## __VA_ARGS__) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:85:13: note: in expansion of macro ‘SANITY_CHECK’ | |
SANITY_CHECK(gpu_##mat, ## __VA_ARGS__); \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:131:9: note: in expansion of macro ‘CUDA_SANITY_CHECK’ | |
CUDA_SANITY_CHECK(dst, 1e-6, ERROR_RELATIVE); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: candidate: static perf::Regression& perf::Regression::add(perf::TestBase*, const string&, cv::InputArray, double, perf::ERROR_TYPE) | |
static Regression& add(TestBase* test, const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: no known conversion for argument 1 from ‘Sz_Flags_MulSpectrums*’ to ‘perf::TestBase*’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:33: error: ‘next’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:137:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::mulSpectrums(a, b, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:49: error: ‘startTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:137:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::mulSpectrums(a, b, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:62: error: ‘stopTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:137:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::mulSpectrums(a, b, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:206:94: error: no matching function for call to ‘perf::Regression::add(Sz_Flags_MulSpectrums*, const char [8], cv::Mat&)’ | |
#define SANITY_CHECK(array, ...) ::perf::Regression::add(this, #array, array , ## __VA_ARGS__) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:91:13: note: in expansion of macro ‘SANITY_CHECK’ | |
SANITY_CHECK(cpu_##mat, ## __VA_ARGS__); \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:139:9: note: in expansion of macro ‘CPU_SANITY_CHECK’ | |
CPU_SANITY_CHECK(dst); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: candidate: static perf::Regression& perf::Regression::add(perf::TestBase*, const string&, cv::InputArray, double, perf::ERROR_TYPE) | |
static Regression& add(TestBase* test, const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: no known conversion for argument 1 from ‘Sz_Flags_MulSpectrums*’ to ‘perf::TestBase*’ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: At global scope: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:605:45: error: expected class-name before ‘{’ token | |
class fixture##_##name : public fixture {\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:13: error: ‘class Sz_Flags_Dft’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:605:11: note: in definition of macro ‘PERF_TEST_P’ | |
class fixture##_##name : public fixture {\ | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:13: error: base class ‘class Sz_Flags_Dft’ has accessible non-virtual destructor [-Werror=non-virtual-dtor] | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:8154:3: note: in definition of macro ‘GTEST_TEST_CLASS_NAME_’ | |
test_case_name##_##test_name##_Test | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:5: note: in expansion of macro ‘TEST_P’ | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:13: error: ‘class Sz_Flags_Dft_Dft_Test’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor] | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:8154:3: note: in definition of macro ‘GTEST_TEST_CLASS_NAME_’ | |
test_case_name##_##test_name##_Test | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:5: note: in expansion of macro ‘TEST_P’ | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘class testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10509:40: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
typedef typename TestCase::ParamType ParamType; | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10511:60: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
typedef ParamGenerator<ParamType>(GeneratorCreationFunc)(); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10526:8: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
void AddTestPattern(const char* test_case_name, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10601:7: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
InstantiationContainer; | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:29:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In static member function ‘static int Sz_Flags_Dft_Dft_Test::AddToRegistry()’: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_ext.hpp:75:53: error: ‘class testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>’ has no member named ‘AddTestPattern’ | |
#test_case_name, __FILE__, __LINE__)->AddTestPattern(\ | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:5: note: in expansion of macro ‘TEST_P’ | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘class testing::internal::TestMetaFactory<Sz_Flags_Dft_Dft_Test>’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10450:7: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft_Dft_Test’ | |
class TestMetaFactory | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10453:40: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft_Dft_Test’ | |
typedef typename TestCase::ParamType ParamType; | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In member function ‘virtual void Sz_Flags_Dft_Dft_Test::Body()’: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:611:62: error: ‘RunPerfTestBody’ was not declared in this scope | |
TEST_P(fixture##_##name, name /*perf*/){ RunPerfTestBody(); }\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: At global scope: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:13: error: ‘ParamType’ is not a member of ‘Sz_Flags_Dft’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17034:39: note: in definition of macro ‘INSTANTIATE_TEST_CASE_P’ | |
::testing::internal::ParamGenerator<test_case_name::ParamType> \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:13: error: ‘ParamType’ is not a member of ‘Sz_Flags_Dft’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17034:39: note: in definition of macro ‘INSTANTIATE_TEST_CASE_P’ | |
::testing::internal::ParamGenerator<test_case_name::ParamType> \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17034:64: error: template argument 1 is invalid | |
::testing::internal::ParamGenerator<test_case_name::ParamType> \ | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:612:5: note: in expansion of macro ‘INSTANTIATE_TEST_CASE_P’ | |
INSTANTIATE_TEST_CASE_P(/*none*/, fixture##_##name, params);\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In function ‘int gtest_Sz_Flags_Dft_EvalGenerator_()’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:178:31: error: reference to ‘DftFlags’ is ambiguous | |
Values(0, DftFlags(cv::DFT_ROWS), DftFlags(cv::DFT_INVERSE)))) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17035:66: note: in definition of macro ‘INSTANTIATE_TEST_CASE_P’ | |
gtest_##prefix##test_case_name##_EvalGenerator_() { return generator; } \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:108:10: note: candidates are: struct {anonymous}::DftFlags | |
CV_FLAGS(DftFlags, 0, cv::DFT_INVERSE, cv::DFT_SCALE, cv::DFT_ROWS, cv::DFT_COMPLEX_OUTPUT, cv::DFT_REAL_OUTPUT) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:127:12: note: in definition of macro ‘CV_FLAGS’ | |
struct class_name { \ | |
^ | |
In file included from /home/anicastro/software/opencv/modules/core/include/opencv2/core.hpp:54:0, | |
from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:41, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/core/include/opencv2/core/base.hpp:214:6: note: enum cv::DftFlags | |
enum DftFlags { | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:178:55: error: reference to ‘DftFlags’ is ambiguous | |
Values(0, DftFlags(cv::DFT_ROWS), DftFlags(cv::DFT_INVERSE)))) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17035:66: note: in definition of macro ‘INSTANTIATE_TEST_CASE_P’ | |
gtest_##prefix##test_case_name##_EvalGenerator_() { return generator; } \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:108:10: note: candidates are: struct {anonymous}::DftFlags | |
CV_FLAGS(DftFlags, 0, cv::DFT_INVERSE, cv::DFT_SCALE, cv::DFT_ROWS, cv::DFT_COMPLEX_OUTPUT, cv::DFT_REAL_OUTPUT) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:127:12: note: in definition of macro ‘CV_FLAGS’ | |
struct class_name { \ | |
^ | |
In file included from /home/anicastro/software/opencv/modules/core/include/opencv2/core.hpp:54:0, | |
from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:41, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/core/include/opencv2/core/base.hpp:214:6: note: enum cv::DftFlags | |
enum DftFlags { | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: At global scope: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:17039:53: error: ‘class testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>’ has no member named ‘AddTestCaseInstantiation’ | |
#test_case_name, __FILE__, __LINE__)->AddTestCaseInstantiation(\ | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:612:5: note: in expansion of macro ‘INSTANTIATE_TEST_CASE_P’ | |
INSTANTIATE_TEST_CASE_P(/*none*/, fixture##_##name, params);\ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: note: in expansion of macro ‘PERF_TEST_P’ | |
PERF_TEST_P(Sz_Flags, Dft, | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp: In member function ‘virtual void Sz_Flags_Dft::PerfTestBody()’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:180:5: error: ‘declare’ was not declared in this scope | |
declare.time(10.0); | |
^ | |
In file included from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:55:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:68:54: error: ‘GetParam’ was not declared in this scope | |
#define GET_PARAM(k) std::tr1::get< k >(GetParam()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:182:27: note: in expansion of macro ‘GET_PARAM’ | |
const cv::Size size = GET_PARAM(0); | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:186:21: error: ‘WARMUP_RNG’ was not declared in this scope | |
declare.in(src, WARMUP_RNG); | |
^ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:596:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:33: error: ‘next’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:193:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::cuda::dft(d_src, dst, size, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:49: error: ‘startTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:193:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::cuda::dft(d_src, dst, size, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:62: error: ‘stopTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:193:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::cuda::dft(d_src, dst, size, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:206:94: error: no matching function for call to ‘perf::Regression::add(Sz_Flags_Dft*, const char [8], cv::Mat&, double, perf::ERROR_TYPE)’ | |
#define SANITY_CHECK(array, ...) ::perf::Regression::add(this, #array, array , ## __VA_ARGS__) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:85:13: note: in expansion of macro ‘SANITY_CHECK’ | |
SANITY_CHECK(gpu_##mat, ## __VA_ARGS__); \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:195:9: note: in expansion of macro ‘CUDA_SANITY_CHECK’ | |
CUDA_SANITY_CHECK(dst, 1e-6, ERROR_RELATIVE); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: candidate: static perf::Regression& perf::Regression::add(perf::TestBase*, const string&, cv::InputArray, double, perf::ERROR_TYPE) | |
static Regression& add(TestBase* test, const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: no known conversion for argument 1 from ‘Sz_Flags_Dft*’ to ‘perf::TestBase*’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:33: error: ‘next’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:201:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::dft(src, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:49: error: ‘startTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:201:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::dft(src, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:661:62: error: ‘stopTimer’ was not declared in this scope | |
#define TEST_CYCLE() for(; next() && startTimer(); stopTimer()) | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:201:9: note: in expansion of macro ‘TEST_CYCLE’ | |
TEST_CYCLE() cv::dft(src, dst, flag); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:206:94: error: no matching function for call to ‘perf::Regression::add(Sz_Flags_Dft*, const char [8], cv::Mat&)’ | |
#define SANITY_CHECK(array, ...) ::perf::Regression::add(this, #array, array , ## __VA_ARGS__) | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/cuda_perf.hpp:91:13: note: in expansion of macro ‘SANITY_CHECK’ | |
SANITY_CHECK(cpu_##mat, ## __VA_ARGS__); \ | |
^ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:203:9: note: in expansion of macro ‘CPU_SANITY_CHECK’ | |
CPU_SANITY_CHECK(dst); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: candidate: static perf::Regression& perf::Regression::add(perf::TestBase*, const string&, cv::InputArray, double, perf::ERROR_TYPE) | |
static Regression& add(TestBase* test, const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_perf.hpp:168:24: note: no known conversion for argument 1 from ‘Sz_Flags_Dft*’ to ‘perf::TestBase*’ | |
In file included from /home/anicastro/software/opencv/modules/ts/include/opencv2/ts.hpp:28:0, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_precomp.hpp:54, | |
from /home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:43: | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘struct testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>::TestInfo’: | |
/usr/include/c++/5/bits/stl_construct.h:151:15: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>::TestInfo>*; _Tp = testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>::TestInfo>]’ | |
/usr/include/c++/5/bits/stl_vector.h:424:22: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>::TestInfo>; _Alloc = std::allocator<testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>::TestInfo> >]’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10514:29: required from ‘testing::internal::ParameterizedTestCaseInfo<TestCase>::ParameterizedTestCaseInfo(const char*) [with TestCase = Sz_Flags_MulSpectrums]’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10654:23: required from ‘testing::internal::ParameterizedTestCaseInfo<TestCase>* testing::internal::ParameterizedTestCaseRegistry::GetTestCasePatternHolder(const char*, const char*, int) [with TestCase = Sz_Flags_MulSpectrums]’ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:112:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10586:5: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
TestInfo(const char* a_test_case_base_name, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10595:55: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
const scoped_ptr<TestMetaFactoryBase<ParamType> > test_meta_factory; | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘struct testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>::TestInfo’: | |
/usr/include/c++/5/bits/stl_construct.h:151:15: required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>::TestInfo>*; _Tp = testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>::TestInfo>]’ | |
/usr/include/c++/5/bits/stl_vector.h:424:22: required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>::TestInfo>; _Alloc = std::allocator<testing::internal::linked_ptr<testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>::TestInfo> >]’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10514:29: required from ‘testing::internal::ParameterizedTestCaseInfo<TestCase>::ParameterizedTestCaseInfo(const char*) [with TestCase = Sz_Flags_Dft]’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10654:23: required from ‘testing::internal::ParameterizedTestCaseInfo<TestCase>* testing::internal::ParameterizedTestCaseRegistry::GetTestCasePatternHolder(const char*, const char*, int) [with TestCase = Sz_Flags_Dft]’ | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:176:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10586:5: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
TestInfo(const char* a_test_case_base_name, | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10595:55: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
const scoped_ptr<TestMetaFactoryBase<ParamType> > test_meta_factory; | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘void testing::internal::ParameterizedTestCaseInfo<TestCase>::RegisterTests() [with TestCase = Sz_Flags_Dft]’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:254:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10551:54: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
for (typename InstantiationContainer::iterator gen_it = | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10551:54: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10552:48: error: using invalid field ‘testing::internal::ParameterizedTestCaseInfo<TestCase>::instantiations_’ | |
instantiations_.begin(); gen_it != instantiations_.end(); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10555:35: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
ParamGenerator<ParamType> generator((*gen_it->second)()); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10563:59: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
for (typename ParamGenerator<ParamType>::iterator param_it = | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10563:59: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10555:35: error: no type named ‘ParamType’ in ‘class Sz_Flags_Dft’ | |
ParamGenerator<ParamType> generator((*gen_it->second)()); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10568:34: error: ‘SetUpTestCase’ is not a member of ‘Sz_Flags_Dft’ | |
MakeAndRegisterTestInfo( | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10568:34: error: ‘TearDownTestCase’ is not a member of ‘Sz_Flags_Dft’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10576:15: error: ‘struct testing::internal::ParameterizedTestCaseInfo<Sz_Flags_Dft>::TestInfo’ has no member named ‘test_meta_factory’ | |
test_info->test_meta_factory->CreateTestFactory(*param_it)); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h: In instantiation of ‘void testing::internal::ParameterizedTestCaseInfo<TestCase>::RegisterTests() [with TestCase = Sz_Flags_MulSpectrums]’: | |
/home/anicastro/software/opencv/modules/cudaarithm/perf/perf_arithm.cpp:254:1: required from here | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10551:54: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
for (typename InstantiationContainer::iterator gen_it = | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10551:54: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10552:48: error: using invalid field ‘testing::internal::ParameterizedTestCaseInfo<TestCase>::instantiations_’ | |
instantiations_.begin(); gen_it != instantiations_.end(); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10555:35: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
ParamGenerator<ParamType> generator((*gen_it->second)()); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10563:59: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
for (typename ParamGenerator<ParamType>::iterator param_it = | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10563:59: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10555:35: error: no type named ‘ParamType’ in ‘class Sz_Flags_MulSpectrums’ | |
ParamGenerator<ParamType> generator((*gen_it->second)()); | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10568:34: error: ‘SetUpTestCase’ is not a member of ‘Sz_Flags_MulSpectrums’ | |
MakeAndRegisterTestInfo( | |
^ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10568:34: error: ‘TearDownTestCase’ is not a member of ‘Sz_Flags_MulSpectrums’ | |
/home/anicastro/software/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:10576:15: error: ‘struct testing::internal::ParameterizedTestCaseInfo<Sz_Flags_MulSpectrums>::TestInfo’ has no member named ‘test_meta_factory’ | |
test_info->test_meta_factory->CreateTestFactory(*param_it)); | |
^ | |
cc1plus: some warnings being treated as errors | |
make[2]: *** [modules/cudaarithm/CMakeFiles/opencv_perf_cudaarithm.dir/perf/perf_arithm.cpp.o] Error 1 | |
make[1]: *** [modules/cudaarithm/CMakeFiles/opencv_perf_cudaarithm.dir/all] Error 2 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment