{"action":"created","issue":{"url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/115","labels_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/115/comments","events_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/115/events","html_url":"https://github.com/code-iai/iai_kinect2/issues/115","id":91869198,"number":115,"title":"kinect2_viewer: undefined reference OpenCV","user":{"login":"iamwolf","id":1664508,"avatar_url":"https://avatars.githubusercontent.com/u/1664508?v=3","gravatar_id":"","url":"https://api.github.com/users/iamwolf","html_url":"https://github.com/iamwolf","followers_url":"https://api.github.com/users/iamwolf/followers","following_url":"https://api.github.com/users/iamwolf/following{/other_user}","gists_url":"https://api.github.com/users/iamwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/iamwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamwolf/subscriptions","organizations_url":"https://api.github.com/users/iamwolf/orgs","repos_url":"https://api.github.com/users/iamwolf/repos","events_url":"https://api.github.com/users/iamwolf/events{/privacy}","received_events_url":"https://api.github.com/users/iamwolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T18:04:39Z","updated_at":"2015-06-30T08:32:51Z","closed_at":null,"body":"Hey! \r\nThanks for writing this great library!\r\n\r\nI compiled OpenCV 2.4.9  **from source** and pkg-config says it's available (EDIT: I've uninstalled the self-compiled so that it's using the OpenCV 2.4.8 from indigo, same error):\r\n```\r\n-I/usr/local/include/opencv -I/usr/local/include  /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.a /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so /usr/local/lib/libopencv_viz.so /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGLU.so -lcufft -lnpps -lnppi -lnppc -lcudart -ltbb -lrt -lpthread -lm -ldl  \r\n```\r\n\r\nHowever, when compiling iai_kinect2:\r\n```\r\n/catkin_ws/src/iai_kinect2/kinect2_viewer/src/viewer.cpp:380: undefined reference to `cv::_OutputArray::~_OutputArray()'\r\n```\r\n(Full output https://gist.github.com/iamwolf/b8c3d5fdc2d337a0b982)\r\n\r\nWhen deleting the kinect2_viewer folder and compiling, all the other packages compile and the bridge can be started (OpenCL etc is working as shown by protonect, but I do not see neither depth nor tf - however, this seems to be another issue and will open another ticket for this).\r\n\r\nI am on the following system:\r\n- Ubuntu 14.04 LTS, ``Linux MindyIndigo 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux`` (I have seen you recommend -35, therefore, is -32 too old?)\r\n- CUDA5.5, nvidia-346 and opencl-headers as recommended\r\n\r\nThanks a lot in advance for your time and assistance :)"},"comment":{"url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/comments/117054396","html_url":"https://github.com/code-iai/iai_kinect2/issues/115#issuecomment-117054396","issue_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/115","id":117054396,"user":{"login":"wiedemeyer","id":4972318,"avatar_url":"https://avatars.githubusercontent.com/u/4972318?v=3","gravatar_id":"","url":"https://api.github.com/users/wiedemeyer","html_url":"https://github.com/wiedemeyer","followers_url":"https://api.github.com/users/wiedemeyer/followers","following_url":"https://api.github.com/users/wiedemeyer/following{/other_user}","gists_url":"https://api.github.com/users/wiedemeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/wiedemeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiedemeyer/subscriptions","organizations_url":"https://api.github.com/users/wiedemeyer/orgs","repos_url":"https://api.github.com/users/wiedemeyer/repos","events_url":"https://api.github.com/users/wiedemeyer/events{/privacy}","received_events_url":"https://api.github.com/users/wiedemeyer/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T08:32:51Z","updated_at":"2015-06-30T08:32:51Z","body":"I never seen this error before. Both packages bridge and viewer are using the same CMake code to find OpenCV and to link to it. I don't know why it should behave differently. Try to remove the `devel` and `build` folder and do a clean new build. You could also check if the values in `${OpenCV_INCLUDE_DIR}` and `${OpenCV_LIBRARIES}` are correct.\r\nAlso searching for ``undefined reference to `cv::_InputArray::~_InputArray()'`` gives a lot of results, maybe you will find a solution there.\r\n"}}