{"action":"created","issue":{"url":"https://api.github.com/repos/miloyip/json-tutorial/issues/7","repository_url":"https://api.github.com/repos/miloyip/json-tutorial","labels_url":"https://api.github.com/repos/miloyip/json-tutorial/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/miloyip/json-tutorial/issues/7/comments","events_url":"https://api.github.com/repos/miloyip/json-tutorial/issues/7/events","html_url":"https://github.com/miloyip/json-tutorial/issues/7","id":177642506,"number":7,"title":"CMake Error","user":{"login":"KivyGogh","id":8515579,"avatar_url":"https://avatars.githubusercontent.com/u/8515579?v=3","gravatar_id":"","url":"https://api.github.com/users/KivyGogh","html_url":"https://github.com/KivyGogh","followers_url":"https://api.github.com/users/KivyGogh/followers","following_url":"https://api.github.com/users/KivyGogh/following{/other_user}","gists_url":"https://api.github.com/users/KivyGogh/gists{/gist_id}","starred_url":"https://api.github.com/users/KivyGogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KivyGogh/subscriptions","organizations_url":"https://api.github.com/users/KivyGogh/orgs","repos_url":"https://api.github.com/users/KivyGogh/repos","events_url":"https://api.github.com/users/KivyGogh/events{/privacy}","received_events_url":"https://api.github.com/users/KivyGogh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-18T09:51:58Z","updated_at":"2016-09-18T10:00:53Z","closed_at":null,"body":"起始项目的时候遇到：\r\ngoudandeMacBook-Pro:mini-JSON goudan$ cmake -DCMAKE_BUILD_TYPE=Debug ..\r\nCMake Error: The source directory \"/Users/kivygogh\" does not appear to contain CMakeLists.txt.\r\n\r\n/Users/kivygogh是我的根目录，第一次接触cmake，有点不知所以，求教作者大神原因？：)"},"comment":{"url":"https://api.github.com/repos/miloyip/json-tutorial/issues/comments/247838661","html_url":"https://github.com/miloyip/json-tutorial/issues/7#issuecomment-247838661","issue_url":"https://api.github.com/repos/miloyip/json-tutorial/issues/7","id":247838661,"user":{"login":"luminocean","id":7322964,"avatar_url":"https://avatars.githubusercontent.com/u/7322964?v=3","gravatar_id":"","url":"https://api.github.com/users/luminocean","html_url":"https://github.com/luminocean","followers_url":"https://api.github.com/users/luminocean/followers","following_url":"https://api.github.com/users/luminocean/following{/other_user}","gists_url":"https://api.github.com/users/luminocean/gists{/gist_id}","starred_url":"https://api.github.com/users/luminocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luminocean/subscriptions","organizations_url":"https://api.github.com/users/luminocean/orgs","repos_url":"https://api.github.com/users/luminocean/repos","events_url":"https://api.github.com/users/luminocean/events{/privacy}","received_events_url":"https://api.github.com/users/luminocean/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T10:00:53Z","updated_at":"2016-09-18T10:00:53Z","body":"```\r\n$ brew install cmake\r\n$ cd github/json-tutorial/tutorial01\r\n$ mkdir build\r\n$ cd build\r\n$ cmake -DCMAKE_BUILD_TYPE=Debug ..\r\n$ make\r\n```\r\n注意示例里面是先创建了`build`目录以后，`cd`到这个`build`目录里面再执行`cmake`的。你执行命令的位置不对。\r\n`cmake`要求指定的目录里面有`CMakeLists.txt`文件。"}}
{"actor":{"display_login":"luminocean"}}