{"action":"opened","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/6340","repository_url":"https://api.github.com/repos/BVLC/caffe","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/6340/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/6340/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/6340/events","html_url":"https://github.com/BVLC/caffe/issues/6340","id":313178927,"number":6340,"title":"Compilation Error while using make command in Caffe","user":{"login":"abhajaswal","id":25839008,"avatar_url":"https://avatars2.githubusercontent.com/u/25839008?v=4","gravatar_id":"","url":"https://api.github.com/users/abhajaswal","html_url":"https://github.com/abhajaswal","followers_url":"https://api.github.com/users/abhajaswal/followers","following_url":"https://api.github.com/users/abhajaswal/following{/other_user}","gists_url":"https://api.github.com/users/abhajaswal/gists{/gist_id}","starred_url":"https://api.github.com/users/abhajaswal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhajaswal/subscriptions","organizations_url":"https://api.github.com/users/abhajaswal/orgs","repos_url":"https://api.github.com/users/abhajaswal/repos","events_url":"https://api.github.com/users/abhajaswal/events{/privacy}","received_events_url":"https://api.github.com/users/abhajaswal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-11T05:31:05Z","updated_at":"2018-04-11T05:31:05Z","closed_at":null,"author_association":"NONE","body":"### Issue summary\r\nI am Using caffe master with its head at 723e552 Merge pull request #6336 from Coderx7/master\r\nI am getting compilation error while doing make.\r\n\r\nError is : \r\n/usr/bin/ld: warning: libIlmImf.so.6, needed by //usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link)\r\n/usr/bin/ld: warning: libHalf.so.6, needed by //usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link)\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::hasChromaticities(Imf::Header const&)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Chromaticities::Chromaticities(Imath::Vec2<float> const&, Imath::Vec2<float> const&, Imath::Vec2<float> const&, Imath::Vec2<float> const&)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::ChannelList::insert(char const*, Imf::Channel const&)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::globalThreadCount()'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::chromaticities(Imf::Header const&)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::OutputFile::setFrameBuffer(Imf::FrameBuffer const&)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::InputFile::header() const'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::InputFile::InputFile(char const*, int)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::OutputFile::~OutputFile()'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::InputFile::setFrameBuffer(Imf::FrameBuffer const&)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Header::channels() const'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Header::channels()'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Header::~Header()'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::OutputFile::OutputFile(char const*, Imf::Header const&, int)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Header::Header(int, int, float, Imath::Vec2<float> const&, float, Imf::LineOrder, Imf::Compression)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::OutputFile::writePixels(int)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Header::dataWindow() const'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Channel::Channel(Imf::PixelType, int, int, bool)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::Slice::Slice(Imf::PixelType, char*, unsigned long, unsigned long, int, int, double, bool, bool)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::ChannelList::findChannel(char const*) const'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::InputFile::readPixels(int, int)'\r\n//usr/local/lib/x86_64-linux-gnu/libopencv_imgcodecs.so: undefined reference to `Imf::FrameBuffer::insert(char const*, Imf::Slice const&)'\r\ncollect2: error: ld returned 1 exit status\r\nMakefile:625: recipe for target '.build_release/tools/convert_imageset.bin' failed\r\nmake: *** [.build_release/tools/convert_imageset.bin] Error 1\r\n\r\n### Steps to reproduce\r\n(1) I Took the latest code using git clone https://github.com/BVLC/caffe\r\n(2) Installed the pre-requisites using http://caffe.berkeleyvision.org/installation.html#compilation\r\nand https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-or-15.10-Installation-Guide#the-gpu-support-prerequisites\r\n\r\n(3) Copied Makefile.config.example to Makefile.config. I have attached the Makefile.config and Makefile for reference.\r\n(4) Complied  make command.\r\n(5 Able to reproduce same issue with DEBUG =1 also\r\n\r\n\r\n\r\n### Tried solutions\r\nopenCV version is 3.3.1 \r\ntried checking for library dependencies or any flag to enable for same but failed in resolving issue.\r\nPlease help out.\r\n\r\n### System configuration\r\n* Operating system: Ubuntu 16.04.4 LTS\r\n* Compiler: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609\r\n* CUDA version (if applicable):  No\r\n* CUDNN version (if applicable): No\r\n* BLAS:  0.2.18 \r\n* Python version (if using pycaffe):  no using anaconda2\r\n* MATLAB version (if using matcaffe):  no\r\n\r\n\r\n### Issue checklist\r\n- [Y ] read the guidelines and removed the first paragraph\r\n- [Y] written a short summary and detailed steps to reproduce\r\n- [Y] explained how solutions to related problems failed (tick if found none)\r\n- [Y ] filled system configuration\r\n- [ Y] attached relevant logs/config files (tick if not applicable)\r\n[caffeError.zip](https://github.com/BVLC/caffe/files/1897344/caffeError.zip)\r\n"}}
{"actor":{"display_login":"abhajaswal"}}