{"action":"opened","issue":{"url":"https://api.github.com/repos/neurolabusc/dcm2niix/issues/38","repository_url":"https://api.github.com/repos/neurolabusc/dcm2niix","labels_url":"https://api.github.com/repos/neurolabusc/dcm2niix/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/neurolabusc/dcm2niix/issues/38/comments","events_url":"https://api.github.com/repos/neurolabusc/dcm2niix/issues/38/events","html_url":"https://github.com/neurolabusc/dcm2niix/issues/38","id":167119045,"number":38,"title":"dcm2niibatch: Manually linking yaml-cpp libs for CentOS build","user":{"login":"dangom","id":7881842,"avatar_url":"https://avatars.githubusercontent.com/u/7881842?v=3","gravatar_id":"","url":"https://api.github.com/users/dangom","html_url":"https://github.com/dangom","followers_url":"https://api.github.com/users/dangom/followers","following_url":"https://api.github.com/users/dangom/following{/other_user}","gists_url":"https://api.github.com/users/dangom/gists{/gist_id}","starred_url":"https://api.github.com/users/dangom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangom/subscriptions","organizations_url":"https://api.github.com/users/dangom/orgs","repos_url":"https://api.github.com/users/dangom/repos","events_url":"https://api.github.com/users/dangom/events{/privacy}","received_events_url":"https://api.github.com/users/dangom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-22T19:50:33Z","updated_at":"2016-07-22T19:50:33Z","closed_at":null,"body":"Dear neurolabusc,\r\n\r\nI lack the necessary permissions to `sudo apt-get install libyaml-cpp-dev libyaml-cpp0.5` on the server I'm using. Therefore I'd like to build yaml-cpp somewhere on my home directory (from sources [here](https://github.com/jbeder/yaml-cpp)) and then manually tell CMake where to find the libraries.\r\n\r\nAfter googling around I tried adding these three lines to CMakeLists.txt, but that didn't work.\r\n\r\n`set(CMAKE_MODULE_PATH \"/home/mrphys/dangom/clones/yaml-cpp/build;${CMAKE_MODULE_PATH}\")\r\nset(CMAKE_LIBRARY_PATH \"/home/mrphys/dangom/clones/yaml-cpp/build;${CMAKE_LIBRARY_PATH}\")\r\nset(CMAKE_INCLUDE_PATH \"/home/mrphys/dangom/clones/yaml-cpp/build;${CMAKE_INCLUDE_PATH}\")\r\n`\r\n\r\nCmake complains that it can't find the yaml-cpp package.\r\n\r\n> Creating batch version\r\n-- Found PkgConfig: /usr/bin/pkg-config (found version \"0.27.1\") \r\n-- checking for module 'yaml-cpp'\r\n--   package 'yaml-cpp' not found\r\n\r\nWould you have any suggestions on how I can solve this issue? \r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"dangom"}}