{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/659","repository_url":"https://api.github.com/repos/Itseez/opencv_contrib","labels_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/659/comments","events_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/659/events","html_url":"https://github.com/Itseez/opencv_contrib/issues/659","id":152956688,"number":659,"title":"error: ‘nullptr’ was not declared in this scope ","user":{"login":"FlorenceCa","id":19182256,"avatar_url":"https://avatars.githubusercontent.com/u/19182256?v=3","gravatar_id":"","url":"https://api.github.com/users/FlorenceCa","html_url":"https://github.com/FlorenceCa","followers_url":"https://api.github.com/users/FlorenceCa/followers","following_url":"https://api.github.com/users/FlorenceCa/following{/other_user}","gists_url":"https://api.github.com/users/FlorenceCa/gists{/gist_id}","starred_url":"https://api.github.com/users/FlorenceCa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlorenceCa/subscriptions","organizations_url":"https://api.github.com/users/FlorenceCa/orgs","repos_url":"https://api.github.com/users/FlorenceCa/repos","events_url":"https://api.github.com/users/FlorenceCa/events{/privacy}","received_events_url":"https://api.github.com/users/FlorenceCa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv_contrib/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Itseez/opencv_contrib/labels/category:%20build/install","name":"category: build/install","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv_contrib/labels/category:%20cvv","name":"category: cvv","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-05-04T08:30:53Z","updated_at":"2016-05-16T13:13:58Z","closed_at":null,"body":"Hi, when I build OpenCV with the module contrib I got the following mistake : error: ‘nullptr’ was not declared in this scope (see below for details).\r\n\r\nIf someone has and idea that would be very helpful.\r\nThanks\r\n\r\n```\r\n[ 79%] Generating test_precomp.hpp.gch/opencv_test_cvv_RELEASE.gch\r\nIn file included from /net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv.hpp:19:0,\r\n                 from /home_local/OpenCV_Contrib/opencv-3.1.0/build/modules/cvv/test_precomp.hpp:15:\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/call_meta_data.hpp: In constructor ‘cvv::impl::CallMetaData::CallMetaData()’:\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/call_meta_data.hpp:27:13: error: ‘nullptr’ was not declared in this scope\r\n      : file(nullptr), line(0), function(nullptr), isKnown(false)\r\n             ^\r\nIn file included from /net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv.hpp:21:0,\r\n                 from /home_local/OpenCV_Contrib/opencv-3.1.0/build/modules/cvv/test_precomp.hpp:15:\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/dmatch.hpp: At global scope:\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/dmatch.hpp:83:47: error: ‘nullptr’ was not declared in this scope\r\n                                const char * = nullptr, const char * = nullptr,\r\n                                               ^\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/dmatch.hpp:83:71: error: ‘nullptr’ was not declared in this scope\r\n                                const char * = nullptr, const char * = nullptr,\r\n                                                                       ^\r\nIn file included from /net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv.hpp:22:0,\r\n                 from /home_local/OpenCV_Contrib/opencv-3.1.0/build/modules/cvv/test_precomp.hpp:15:\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/filter.hpp:61:47: error: ‘nullptr’ was not declared in this scope\r\n                                const char * = nullptr, const char * = nullptr)\r\n                                               ^\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/filter.hpp:61:71: error: ‘nullptr’ was not declared in this scope\r\n                                const char * = nullptr, const char * = nullptr)\r\n                                                                       ^\r\nIn file included from /net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv.hpp:24:0,\r\n                 from /home_local/OpenCV_Contrib/opencv-3.1.0/build/modules/cvv/test_precomp.hpp:15:\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/show_image.hpp:62:45: error: ‘nullptr’ was not declared in this scope\r\n                              const char * = nullptr, const char * = nullptr)\r\n                                             ^\r\n/net/rmc-lx0075/home_local/OpenCV_Contrib/opencv_contrib-master/modules/cvv/include/opencv2/cvv/show_image.hpp:62:69: error: ‘nullptr’ was not declared in this scope\r\n                              const char * = nullptr, const char * = nullptr)\r\n                                                                     ^\r\nmodules/cvv/CMakeFiles/pch_Generate_opencv_test_cvv.dir/build.make:62: recipe for target 'modules/cvv/test_precomp.hpp.gch/opencv_test_cvv_RELEASE.gch' failed\r\nmake[2]: *** [modules/cvv/test_precomp.hpp.gch/opencv_test_cvv_RELEASE.gch] Error 1\r\nCMakeFiles/Makefile2:11757: recipe for target 'modules/cvv/CMakeFiles/pch_Generate_opencv_test_cvv.dir/all' failed\r\nmake[1]: *** [modules/cvv/CMakeFiles/pch_Generate_opencv_test_cvv.dir/all] Error 2\r\nMakefile:149: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/comments/219421564","html_url":"https://github.com/Itseez/opencv_contrib/issues/659#issuecomment-219421564","issue_url":"https://api.github.com/repos/Itseez/opencv_contrib/issues/659","id":219421564,"user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T13:13:58Z","updated_at":"2016-05-16T13:13:58Z","body":"Please, check whether the fix from #671 works for you."}}