CUDA compile broken (Bug #3860)
Description
This bug seems to be related to pull request #3069 which has moved the base classes to opencv_contrib.
In file included from Tegra/opencv/modules/cudabgsegm/src/precomp.hpp:48:0,
from Tegra/opencv/build/modules/cudabgsegm/opencv_cudabgsegm_pch_dephelp.cxx:1:
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:59:1: error: expected class-name before
{
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:61:15: error: cv::BackgroundSubtractorMOG has not been declared
using cv::BackgroundSubtractorMOG::apply;
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:62:15: error: cv::BackgroundSubtractorMOG has not been declared
using cv::BackgroundSubtractorMOG::getBackgroundImage;
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:58:18: error: class cv::cuda::BackgroundSubtractorMOG has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
class CV_EXPORTS BackgroundSubtractorMOG : public cv::BackgroundSubtractorMOG
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:95:1: error: expected class-name before { token
{
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:97:15: error: cv::BackgroundSubtractorGMG has not been declared
using cv::BackgroundSubtractorGMG::apply;
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:94:18: error: class cv::cuda::BackgroundSubtractorGMG has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
class CV_EXPORTS BackgroundSubtractorGMG : public cv::BackgroundSubtractorGMG
^
cc1plus: some warnings being treated as errors
make2: *** [modules/cudabgsegm/CMakeFiles/opencv_cudabgsegm_pch_dephelp.dir/opencv_cudabgsegm_pch_dephelp.cxx.o] Error 1
In file included from Tegra/opencv/modules/cudabgsegm/perf/perf_precomp.hpp:57:0,
from Tegra/opencv/build/modules/cudabgsegm/opencv_perf_cudabgsegm_pch_dephelp.cxx:1:
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:59:1: error: expected class-name before { token
{
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:61:15: eIn file i*** Waiting for unfinished jobs....
Tegra/opencv/modules/cudabgsegm/test/test_precomp.hpp:59:0,
from Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:62:15: error: cv::BackgroundSubtractorMOG has not been declared
using cv::BackgroundSubtractorMOG::getBackgroundImage;
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:58:18: error: class cv::cuda::BackgroundSubtractorMOG has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtorTegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:62:15: error: Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:95:1: error: expected class-name before {Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:97:15: error: cv::BackgroundSubtractorGMG has not been declared
using cv::BackgroundSubtractorGMG::apply;
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:94:18: error: class cv::cuda::BackgroundSubtractorGMG has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
class CV_ETegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:97:15: error: cv::BackgroundSubtractorGMG has not been declared
using cv::BackgroundSubtractorGMG::apply;
^
Tegra/opencv/modules/cudabgsegm/include/opencv2/cudabgsegm.hpp:94:18: error: class cv::cuda::BackgroundSubtractorGMG has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
class CV_EXPORTS BackgroundSubtractorGMG : public cv::BackgroundSubtractorGMG
^
cc1plus: some warnings being treated as errors
cc1plus: some warnings being treated as errors
make2: * [modules/cudabgsegm/CMakeFiles/opencv_test_cudabgsegm_pch_dephelp.dir/opencv_test_cudabgsegm_pch_dephelp.cxx.o] Error 1
make2: [modules/cudabgsegm/CMakeFiles/opencv_perf_cudabgsegm_pch_dephelp.dir/opencv_perf_cudabgsegm_pch_dephelp.cxx.o] Error 1
make1: [modules/cudabgsegm/CMakeFiles/opencv_test_cudabgsegm_pch_dephelp.dir/all] Error 2
make1: [modules/cudabgsegm/CMakeFiles/opencv_perf_cudabgsegm_pch_dephelp.dir/all] Error 2
make: ** [all] Error 2
Associated revisions
Merge pull request #3860 from theodr:document_hconcat_vconcat
History
Updated by Vladislav Vinogradov over 10 years ago
The issues were fixed in master branch:
Please check that you are using the latest master branch.
- Target version set to 3.0-alpha
- Status changed from New to Done