{"action":"opened","issue":{"url":"https://api.github.com/repos/jaredraycoleman/lane_detection/issues/2","repository_url":"https://api.github.com/repos/jaredraycoleman/lane_detection","labels_url":"https://api.github.com/repos/jaredraycoleman/lane_detection/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jaredraycoleman/lane_detection/issues/2/comments","events_url":"https://api.github.com/repos/jaredraycoleman/lane_detection/issues/2/events","html_url":"https://github.com/jaredraycoleman/lane_detection/issues/2","id":322689125,"number":2,"title":"Gpumat - undefined reference error while building on Jetson TX2","user":{"login":"Pratosha-29","id":35485809,"avatar_url":"https://avatars2.githubusercontent.com/u/35485809?v=4","gravatar_id":"","url":"https://api.github.com/users/Pratosha-29","html_url":"https://github.com/Pratosha-29","followers_url":"https://api.github.com/users/Pratosha-29/followers","following_url":"https://api.github.com/users/Pratosha-29/following{/other_user}","gists_url":"https://api.github.com/users/Pratosha-29/gists{/gist_id}","starred_url":"https://api.github.com/users/Pratosha-29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pratosha-29/subscriptions","organizations_url":"https://api.github.com/users/Pratosha-29/orgs","repos_url":"https://api.github.com/users/Pratosha-29/repos","events_url":"https://api.github.com/users/Pratosha-29/events{/privacy}","received_events_url":"https://api.github.com/users/Pratosha-29/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-14T06:37:45Z","updated_at":"2018-05-14T06:37:45Z","closed_at":null,"author_association":"NONE","body":"Hello @jaredraycoleman ,\r\n\r\nI am trying to build the algorithm after installing all the dependencies on Jetson TX2.\r\nThis is the error I am facing.\r\nOpenCV version used is 3.3.\r\nIs there any alternative to port the algorithm from 2.4.x to 3.3?\r\n___________________________________________________________________________________\r\nnvidia@tegra-ubuntu:~/lane_detection-master$ ./build.sh jetson\r\nmkdir: cannot create directory ‘build’: File exists\r\n-- Boost version: 1.58.0\r\n-- Found the following Boost libraries:\r\n--   system\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/nvidia/lane_detection-master/build\r\n[ 20%] Linking CXX executable ../bin/detect\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/usr/local/include/opencv2/gpu/gpu.hpp:634: undefined reference to `cv::gpu::Stream::Null()'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/home/nvidia/lane_detection-master/detector.cu:179: undefined reference to `cv::gpu::cvtColor(cv::gpu::GpuMat const&, cv::gpu::GpuMat&, int, int, cv::gpu::Stream&)'\r\n/home/nvidia/lane_detection-master/detector.cu:181: undefined reference to `cv::gpu::GaussianBlur(cv::gpu::GpuMat const&, cv::gpu::GpuMat&, cv::Size_<int>, double, double, int, int)'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/usr/local/include/opencv2/gpu/gpu.hpp:667: undefined reference to `cv::gpu::Stream::Null()'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/home/nvidia/lane_detection-master/detector.cu:182: undefined reference to `cv::gpu::threshold(cv::gpu::GpuMat const&, cv::gpu::GpuMat&, double, double, int, cv::gpu::Stream&)'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `Detector::getLanes(cv::Mat const&, Lane&)':\r\n/home/nvidia/lane_detection-master/detector.cu:59: undefined reference to `cv::gpu::GpuMat::upload(cv::Mat const&)'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/usr/local/include/opencv2/gpu/gpu.hpp:634: undefined reference to `cv::gpu::Stream::Null()'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/home/nvidia/lane_detection-master/detector.cu:179: undefined reference to `cv::gpu::cvtColor(cv::gpu::GpuMat const&, cv::gpu::GpuMat&, int, int, cv::gpu::Stream&)'\r\n/home/nvidia/lane_detection-master/detector.cu:181: undefined reference to `cv::gpu::GaussianBlur(cv::gpu::GpuMat const&, cv::gpu::GpuMat&, cv::Size_<int>, double, double, int, int)'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/usr/local/include/opencv2/gpu/gpu.hpp:667: undefined reference to `cv::gpu::Stream::Null()'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `thresh(cv::gpu::GpuMat&, cv::gpu::GpuMat&)':\r\n/home/nvidia/lane_detection-master/detector.cu:182: undefined reference to `cv::gpu::threshold(cv::gpu::GpuMat const&, cv::gpu::GpuMat&, double, double, int, cv::gpu::Stream&)'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `Detector::getLanes(cv::Mat const&, Lane&)':\r\n/usr/local/include/opencv2/gpu/gpu.hpp:682: undefined reference to `cv::gpu::Stream::Null()'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `Detector::getLanes(cv::Mat const&, Lane&)':\r\n/home/nvidia/lane_detection-master/detector.cu:61: undefined reference to `cv::gpu::warpPerspective(cv::gpu::GpuMat const&, cv::gpu::GpuMat&, cv::Mat const&, cv::Size_<int>, int, int, cv::Scalar_<double>, cv::gpu::Stream&)'\r\n/home/nvidia/lane_detection-master/detector.cu:62: undefined reference to `cv::gpu::GpuMat::download(cv::Mat&) const'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o: In function `cv::gpu::GpuMat::~GpuMat()':\r\n/usr/include/opencv2/core/gpumat.hpp:373: undefined reference to `cv::gpu::GpuMat::release()'\r\n/usr/include/opencv2/core/gpumat.hpp:373: undefined reference to `cv::gpu::GpuMat::release()'\r\n/usr/include/opencv2/core/gpumat.hpp:373: undefined reference to `cv::gpu::GpuMat::release()'\r\n/usr/include/opencv2/core/gpumat.hpp:373: undefined reference to `cv::gpu::GpuMat::release()'\r\n/usr/include/opencv2/core/gpumat.hpp:373: undefined reference to `cv::gpu::GpuMat::release()'\r\nCMakeFiles/detect.dir/detect_generated_detector.cu.o:/usr/include/opencv2/core/gpumat.hpp:373: more undefined references to `cv::gpu::GpuMat::release()' follow\r\ncollect2: error: ld returned 1 exit status\r\nCMakeFiles/detect.dir/build.make:683: recipe for target '../bin/detect' failed\r\nmake[2]: *** [../bin/detect] Error 1\r\nCMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/detect.dir/all' failed\r\nmake[1]: *** [CMakeFiles/detect.dir/all] Error 2\r\nMakefile:83: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n___________________________________________________________________________________"}}
{"actor":{"display_login":"Pratosha-29"}}