CBICA / CaPTk2.0

Other
5 stars 5 forks source link

interactive segmentation warnings in windows #34

Closed ashishsingh18 closed 4 years ago

ashishsingh18 commented 4 years ago
10>UtilCvMatToImageGTS.cpp
10>UtilGTS.cpp
10>UtilImageToCvMatGTS.cpp
10>UtilItkGTS.cpp
10>c:\workspace\mitk\captk2.0\modules\captkinteractivesegmentationmodule\src\svmsuitemanager.cpp(378): error C2220: warning treated as error - no 'object' file generated
10>c:\workspace\mitk\captk2.0\modules\captkinteractivesegmentationmodule\src\svmsuitemanager.cpp(378): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
10>c:\workspace\mitk\captk2.0\modules\captkinteractivesegmentationmodule\src\svmsuitemanager.cpp(380): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
10>c:\workspace\mitk\captk2.0\modules\captkinteractivesegmentationmodule\src\svmsuitemanager.cpp(381): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
10>us_resources.cpp
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\type_traits(16707566): warning C4244: 'argument': conversion from '_Ty' to 'int', possible loss of data
10>        with
10>        [
10>            _Ty=unsigned __int64
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\type_traits(16707566): note: see reference to function template instantiation 'void std::_Invoker_pmf_pointer::_Call<_Ty,SvmSuite::Manager*,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Tp,std::allocator<double>>>>(_Decayed,_Ty1 &&,std::reference_wrapper<cv::Mat> &&,unsigned __int64 &&,unsigned __int64 &&,std::reference_wrapper<cv::Mat> &&,bool &&,std::reference_wrapper<cv::Mat> &&,std::reference_wrapper<std::vector<_Tp,std::allocator<double>>> &&) noexcept(false)' being compiled
10>        with
10>        [
10>            _Ty=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),
10>            _Tp=double,
10>            _Decayed=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),
10>            _Ty1=SvmSuite::Manager *
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(238): note: see reference to function template instantiation 'void std::invoke<void(__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager*,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>>(_Callable &&,SvmSuite::Manager *&&,std::reference_wrapper<cv::Mat> &&,unsigned __int64 &&,unsigned __int64 &&,std::reference_wrapper<cv::Mat> &&,bool &&,std::reference_wrapper<cv::Mat> &&,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>> &&) noexcept(false)' being compiled
10>        with
10>        [
10>            _Tp=double,
10>            _Ty=double,
10>            _Callable=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &)
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(246): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Execute<0,1,2,3,4,5,6,7,8>(std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>> &,std::integer_sequence<unsigned __int64,0,1,2,3,4,5,6,7,8>)' being compiled
10>        with
10>        [
10>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>,
10>            _Tp=double,
10>            _Ty=double
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(245): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Execute<0,1,2,3,4,5,6,7,8>(std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>> &,std::integer_sequence<unsigned __int64,0,1,2,3,4,5,6,7,8>)' being compiled
10>        with
10>        [
10>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>,
10>            _Tp=double,
10>            _Ty=double
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(242): note: while compiling class template member function 'void std::_LaunchPad<_Target>::_Run(std::_LaunchPad<_Target> *) noexcept'
10>        with
10>        [
10>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(230): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Run(std::_LaunchPad<_Target> *) noexcept' being compiled
10>        with
10>        [
10>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(257): note: see reference to class template instantiation 'std::_LaunchPad<_Target>' being compiled
10>        with
10>        [
10>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thread(49): note: see reference to function template instantiation 'void std::_Launch<std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Ty,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>>>>>(_Thrd_t *,_Target &&)' being compiled
10>        with
10>        [
10>            _Tp=double,
10>            _Ty=double,
10>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
10>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
10>c:\workspace\mitk\captk2.0\modules\captkinteractivesegmentationmodule\src\svmsuitemanager.cpp(237): note: see reference to function template instantiation 'std::thread::thread<void(__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager*,std::reference_wrapper<cv::Mat>,size_t&,size_t&,std::reference_wrapper<cv::Mat>,bool&,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>,void>(_Fn &&,SvmSuite::Manager *&&,std::reference_wrapper<cv::Mat> &&,size_t &,size_t &,std::reference_wrapper<cv::Mat> &&,bool &,std::reference_wrapper<cv::Mat> &&,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>> &&)' being compiled
10>        with
10>        [
10>            _Tp=double,
10>            _Ty=double,
10>            _Fn=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &)
10>        ]
10>moc_CaPTkInteractiveSegmentation.cpp
10>moc_CaPTkInteractiveSegmentationAdapter.cpp
10>moc_CaPTkInteractiveSegmentationQtPart.cpp
10>moc_AdaptiveGeodesicDistance.cpp
10>moc_ConfigParserRF.cpp
10>moc_ConvertionsOpenCV.cpp
10>moc_ConvertionsYAML.cpp
10>moc_GeodesicTrainingSegmentation.cpp
10>moc_OperationsSvmGTS.cpp
10>moc_Processing.cpp
10>moc_RandomForestSuite.cpp
10>moc_RFPrepareTrainData.cpp
10>moc_RFSuiteManager.cpp
10>moc_SusanDenoising.cpp
10>moc_SvmSuite.cpp
10>moc_SvmSuiteDescription.cpp
10>moc_SvmSuiteManager.cpp
10>moc_SvmSuiteOperations.cpp
10>moc_SvmSuiteUtil.cpp
10>moc_UtilCvMatToImageGTS.cpp
10>moc_UtilGTS.cpp
10>moc_UtilImageToCvMatGTS.cpp
10>moc_UtilItkGTS.cpp
11>-- OpenCV ARCH: x64
ashishsingh18 commented 4 years ago
1>------ Rebuild All started: Project: MitkCaPTkInteractiveSegmentationModule, Configuration: Debug x64 ------
1>Checking resource dependencies for MitkCaPTkInteractiveSegmentationModule
1>  adding: MitkCaPTkInteractiveSegmentationModule/mll_icon2.svg
1>  adding: MitkCaPTkInteractiveSegmentationModule/cbica-logo.jpg
1>Generating include/moc_CaPTkInteractiveSegmentation.cpp
1>Generating include/moc_CaPTkInteractiveSegmentationAdapter.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/CaPTkInteractiveSegmentationAdapter.h(60): Note: No relevant classes found. No output generated.
1>Generating include/moc_CaPTkInteractiveSegmentationQtPart.cpp
1>Generating include/moc_AdaptiveGeodesicDistance.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/AdaptiveGeodesicDistance.h(327): Note: No relevant classes found. No output generated.
1>Generating include/moc_ConfigParserRF.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/ConfigParserRF.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_ConvertionsOpenCV.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/ConvertionsOpenCV.h(30): Note: No relevant classes found. No output generated.
1>Generating include/moc_ConvertionsYAML.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/ConvertionsYAML.h(40): Note: No relevant classes found. No output generated.
1>Generating include/moc_GeodesicTrainingSegmentation.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/GeodesicTrainingSegmentation.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_OperationsSvmGTS.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/OperationsSvmGTS.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_Processing.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/Processing.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_RandomForestSuite.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/RandomForestSuite.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_RFPrepareTrainData.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/RFPrepareTrainData.h(42): Note: No relevant classes found. No output generated.
1>Generating include/moc_RFSuiteManager.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/RFSuiteManager.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_SusanDenoising.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/SusanDenoising.h(149): Note: No relevant classes found. No output generated.
1>Generating include/moc_SvmSuite.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/SvmSuite.h(6): Note: No relevant classes found. No output generated.
1>Generating include/moc_SvmSuiteDescription.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/SvmSuiteDescription.h(129): Note: No relevant classes found. No output generated.
1>Generating include/moc_SvmSuiteManager.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/SvmSuiteManager.h(127): Note: No relevant classes found. No output generated.
1>Generating include/moc_SvmSuiteOperations.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/SvmSuiteOperations.h(43): Note: No relevant classes found. No output generated.
1>Generating include/moc_SvmSuiteUtil.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/SvmSuiteUtil.h(32): Note: No relevant classes found. No output generated.
1>Generating include/moc_UtilCvMatToImageGTS.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/UtilCvMatToImageGTS.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_UtilGTS.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/UtilGTS.h(38): Note: No relevant classes found. No output generated.
1>Generating include/moc_UtilImageToCvMatGTS.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/UtilImageToCvMatGTS.h(0): Note: No relevant classes found. No output generated.
1>Generating include/moc_UtilItkGTS.cpp
1>C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/include/UtilItkGTS.h(653): Note: No relevant classes found. No output generated.
1>Building Custom Rule C:/workspace/MITK/CaPTk2.0/Modules/CaPTkInteractiveSegmentationModule/CMakeLists.txt
1>CMake does not need to re-run because C:/workspace/MITK/build/MITK-build/Modules/CaPTkInteractiveSegmentationModule/CMakeFiles/generate.stamp is up-to-date.
1>Checking resource dependencies for MitkCaPTkInteractiveSegmentationModule
1>us_init.cpp
1>CaPTkInteractiveSegmentation.cpp
1>CaPTkInteractiveSegmentationAdapter.cpp
1>CaPTkInteractiveSegmentationQtPart.cpp
1>AdaptiveGeodesicDistance.cpp
1>ConfigParserRF.cpp
1>ConvertionsOpenCV.cpp
1>ConvertionsYAML.cpp
1>GeodesicTrainingSegmentation.cpp
1>OperationsSvmGTS.cpp
1>RandomForestSuite.cpp
1>RFPrepareTrainData.cpp
1>RFSuiteManager.cpp
1>SvmSuite.cpp
1>SvmSuiteDescription.cpp
1>SvmSuiteManager.cpp
1>SvmSuiteOperations.cpp
1>SvmSuiteUtil.cpp
1>UtilCvMatToImageGTS.cpp
1>UtilGTS.cpp
1>UtilImageToCvMatGTS.cpp
1>UtilItkGTS.cpp
1>us_resources.cpp
1>moc_CaPTkInteractiveSegmentation.cpp
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\type_traits(16707566): error C2220: warning treated as error - no 'object' file generated (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\type_traits(16707566): note: see reference to function template instantiation 'void std::_Invoker_pmf_pointer::_Call<_Ty,SvmSuite::Manager*,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Tp,std::allocator<double>>>>(_Decayed,_Ty1 &&,std::reference_wrapper<cv::Mat> &&,unsigned __int64 &&,unsigned __int64 &&,std::reference_wrapper<cv::Mat> &&,bool &&,std::reference_wrapper<cv::Mat> &&,std::reference_wrapper<std::vector<_Tp,std::allocator<double>>> &&) noexcept(false)' being compiled
1>        with
1>        [
1>            _Ty=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),
1>            _Tp=double,
1>            _Decayed=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),
1>            _Ty1=SvmSuite::Manager *
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(238): note: see reference to function template instantiation 'void std::invoke<void(__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager*,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>>(_Callable &&,SvmSuite::Manager *&&,std::reference_wrapper<cv::Mat> &&,unsigned __int64 &&,unsigned __int64 &&,std::reference_wrapper<cv::Mat> &&,bool &&,std::reference_wrapper<cv::Mat> &&,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>> &&) noexcept(false)' being compiled
1>        with
1>        [
1>            _Tp=double,
1>            _Ty=double,
1>            _Callable=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &)
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(246): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Execute<0,1,2,3,4,5,6,7,8>(std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>> &,std::integer_sequence<unsigned __int64,0,1,2,3,4,5,6,7,8>)' being compiled
1>        with
1>        [
1>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>,
1>            _Tp=double,
1>            _Ty=double
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(245): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Execute<0,1,2,3,4,5,6,7,8>(std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>> &,std::integer_sequence<unsigned __int64,0,1,2,3,4,5,6,7,8>)' being compiled
1>        with
1>        [
1>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>,
1>            _Tp=double,
1>            _Ty=double
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(242): note: while compiling class template member function 'void std::_LaunchPad<_Target>::_Run(std::_LaunchPad<_Target> *) noexcept'
1>        with
1>        [
1>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(230): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Run(std::_LaunchPad<_Target> *) noexcept' being compiled
1>        with
1>        [
1>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thr\xthread(257): note: see reference to class template instantiation 'std::_LaunchPad<_Target>' being compiled
1>        with
1>        [
1>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\thread(49): note: see reference to function template instantiation 'void std::_Launch<std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Ty,std::allocator<_Ty>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>>>>>(_Thrd_t *,_Target &&)' being compiled
1>        with
1>        [
1>            _Tp=double,
1>            _Ty=double,
1>            _Target=std::unique_ptr<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>,std::default_delete<std::tuple<void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &),SvmSuite::Manager *,std::reference_wrapper<cv::Mat>,unsigned __int64,unsigned __int64,std::reference_wrapper<cv::Mat>,bool,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<double,std::allocator<double>>>>>>
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>c:\workspace\mitk\captk2.0\modules\captkinteractivesegmentationmodule\src\svmsuitemanager.cpp(237): note: see reference to function template instantiation 'std::thread::thread<void(__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<_Tp,std::allocator<_Ty>> &),SvmSuite::Manager*,std::reference_wrapper<cv::Mat>,size_t&,size_t&,std::reference_wrapper<cv::Mat>,bool&,std::reference_wrapper<cv::Mat>,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>>,void>(_Fn &&,SvmSuite::Manager *&&,std::reference_wrapper<cv::Mat> &&,size_t &,size_t &,std::reference_wrapper<cv::Mat> &&,bool &,std::reference_wrapper<cv::Mat> &&,std::reference_wrapper<std::vector<_Ty,std::allocator<_Ty>>> &&)' being compiled
1>        with
1>        [
1>            _Tp=double,
1>            _Ty=double,
1>            _Fn=void (__cdecl SvmSuite::Manager::* )(cv::Mat &,int,int,cv::Mat &,bool,cv::Mat &,std::vector<double,std::allocator<double>> &)
1>        ]
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\type_traits(16707566): warning C4244: 'argument': conversion from '_Ty' to 'int', possible loss of data
1>        with
1>        [
1>            _Ty=unsigned __int64
1>        ] (compiling source file C:\workspace\MITK\CaPTk2.0\Modules\CaPTkInteractiveSegmentationModule\src\SvmSuiteManager.cpp)
1>moc_CaPTkInteractiveSegmentationAdapter.cpp
1>moc_CaPTkInteractiveSegmentationQtPart.cpp
1>moc_AdaptiveGeodesicDistance.cpp
1>moc_ConfigParserRF.cpp
1>moc_ConvertionsOpenCV.cpp
1>moc_ConvertionsYAML.cpp
1>moc_GeodesicTrainingSegmentation.cpp
1>moc_OperationsSvmGTS.cpp
1>moc_Processing.cpp
1>moc_RandomForestSuite.cpp
1>moc_RFPrepareTrainData.cpp
1>moc_RFSuiteManager.cpp
1>moc_SusanDenoising.cpp
1>moc_SvmSuite.cpp
1>moc_SvmSuiteDescription.cpp
1>moc_SvmSuiteManager.cpp
1>moc_SvmSuiteOperations.cpp
1>moc_SvmSuiteUtil.cpp
1>moc_UtilCvMatToImageGTS.cpp
1>moc_UtilGTS.cpp
1>moc_UtilImageToCvMatGTS.cpp
1>moc_UtilItkGTS.cpp
1>Done building project "MitkCaPTkInteractiveSegmentationModule.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
dboun commented 4 years ago

This was fixed by PR #43