{"action":"opened","issue":{"url":"https://api.github.com/repos/HPCE/hpce-2016-cw3/issues/15","repository_url":"https://api.github.com/repos/HPCE/hpce-2016-cw3","labels_url":"https://api.github.com/repos/HPCE/hpce-2016-cw3/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/HPCE/hpce-2016-cw3/issues/15/comments","events_url":"https://api.github.com/repos/HPCE/hpce-2016-cw3/issues/15/events","html_url":"https://github.com/HPCE/hpce-2016-cw3/issues/15","id":186394475,"number":15,"title":"Can't build test_opencl.cpp on Linux","user":{"login":"JHertz5","id":22753502,"avatar_url":"https://avatars.githubusercontent.com/u/22753502?v=3","gravatar_id":"","url":"https://api.github.com/users/JHertz5","html_url":"https://github.com/JHertz5","followers_url":"https://api.github.com/users/JHertz5/followers","following_url":"https://api.github.com/users/JHertz5/following{/other_user}","gists_url":"https://api.github.com/users/JHertz5/gists{/gist_id}","starred_url":"https://api.github.com/users/JHertz5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JHertz5/subscriptions","organizations_url":"https://api.github.com/users/JHertz5/orgs","repos_url":"https://api.github.com/users/JHertz5/repos","events_url":"https://api.github.com/users/JHertz5/events{/privacy}","received_events_url":"https://api.github.com/users/JHertz5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-31T20:52:29Z","updated_at":"2016-10-31T20:52:29Z","closed_at":null,"body":"Hi\r\n\r\nI'm running Linux Mint with an Intel integrated graphics processor. I have been trying to build test_opencl.cpp, but have been unsuccessful so far. I have installed the Intel OpenCL SDK and Driver, and as far as I can tell, they were successful, but the compilation was still unsuccessful. I tried to run provision.sh, but it came back with the following output\r\n```\r\n: No such file or directoryurces.list\r\n./provision.sh: line 2: $'\\r': command not found\r\nE: Command line option 'y' [from -y] is not understood in combination with the other options.\r\n./provision.sh: line 4: $'\\r': command not found\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nE: Unable to locate package perl\r\n./provision.sh: line 6: $'\\r': command not found\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nPackage amd-libopencl1 is not available, but is referred to by another package.\r\nThis may mean that the package is missing, has been obsoleted, or\r\nis only available from another source\r\nHowever the following packages replace it:\r\n  ocl-icd-opencl-dev:i386 ocl-icd-opencl-dev\r\n\r\nPackage amd-opencl-icd is not available, but is referred to by another package.\r\nThis may mean that the package is missing, has been obsoleted, or\r\nis only available from another source\r\n\r\nE: Package 'amd-opencl-icd' has no installation candidate\r\nE: Package 'amd-libopencl1' has no installation candidate\r\nE: Unable to locate package amd-opencl-dev\r\n./provision.sh: line 8: $'\\r': command not found\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nE: Unable to locate package freeglut3-dev\r\n```\r\nI installed ocl-icd-opencl-dev as suggested, but still cannot build test_opencl.cpp. Using the makefile, I get a long list of warnings in the style of \r\n\"test_opencl.cpp:(.text.startup+0xc33): undefined reference to `NAME_OF_OPENCL_FUNCTION\"\r\nwith \"collect2: error: ld returned 1 exit status\" at the end of the list. If I try building using cmake, I get an error saying \"/usr/bin/ld: cannot find -lOpenCL\".\r\n\r\nI haven't managed to find a solution yet. Is it not working because of the integrated graphics processor? "}}
{"actor":{"display_login":"JHertz5"}}