{"action":"created","comment":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments/23716965","id":23716965,"diff_hunk":"@@ -0,0 +1,121 @@\n+.. _posix_building_pcl:\n+\n+================================================\n+Build PCL from source on POSIX compliant systems\n+================================================\n+\n+Though not a dependency per se, don’t forget that you also need the `CMake build system <http://www.cmake.org/download/>`_, at least version 2.8.3.\n+Additional help on how to use the CMake build system is available `here <http://www.pointclouds.org/documentation/tutorials/building_pcl.php#building-pcl>`_.\n+\n+Please note that the following installation instructions are only valid for POSIX systems (e.g., Linux, MacOS) with an already installed make/gnu toolchain.\n+For instructions on how to download and compile PCL in Windows (which uses a slightly different process), please visit \n+`our tutorials page <http://www.pointclouds.org/documentation/tutorials/index.php>`_.\n+\n+.. contents::\n+\n+Stable\n+======\n+\n+For systems for which we do not offer precompiled binaries, you need to compile Point Cloud Library (PCL) from source. Here are the steps that you need to take:\n+Go to `Github <https://github.com/PointCloudLibrary/pcl/releases>`_ and download the version number of your choice.\n+Uncompress the tar-bzip archive, e.g. (replace 1.6.0 with the correct version number)::\n+\n+  tar xvfj pcl-pcl-1.7.2.tar.gz\n+\n+Change the directory to the pcl-pcl-1.7.2 (replace 1.7.2 with the correct version number) directory, and create a build directory in there::\n+\n+  cd pcl-pcl-1.7.2 && mkdir build && cd build\n+\n+Run the CMake build system using the default options::\n+\n+  cmake ..\n+\n+Or change them  (uses cmake-curses-gui)::\n+\n+  ccmake ..\n+\n+Please note that cmake might default to a debug build. If you want to compile a release build of PCL with enhanced compiler optimizations, you can change the build target to \"Release\" with \"-    DCMAKE_BUILD_TYPE=Release\".\n+\n+  cmake -DCMAKE_BUILD_TYPE=Release .. \n+\n+Finally compile everything (see `compiler_optimizations <http://www.pointclouds.org/documentation/advanced/compiler_optimizations.php>`_)::\n+\n+  make- j2\n+\n+And install the result::\n+\n+  make install\n+\n+or alternatively, if you did not change the  variable which declares where PCL should be installed, do::\n+\n+  sudo make install\n+\n+Here's everything again, in case you want to copy & paste it::\n+\n+  cd pcl-pcl-1.7.2 && mkdir build && cd build\n+  cmake -DCMAKE_BUILD_TYPE=Release .. \n+  make","path":"doc/tutorials/content/posix_building_pcl.rst","position":57,"original_position":57,"commit_id":"fb5c1af35acc7b1af69cefe63d7a39d89dec1a92","original_commit_id":"fb5c1af35acc7b1af69cefe63d7a39d89dec1a92","user":{"login":"taketwo","id":1241736,"avatar_url":"https://avatars.githubusercontent.com/u/1241736?v=3","gravatar_id":"","url":"https://api.github.com/users/taketwo","html_url":"https://github.com/taketwo","followers_url":"https://api.github.com/users/taketwo/followers","following_url":"https://api.github.com/users/taketwo/following{/other_user}","gists_url":"https://api.github.com/users/taketwo/gists{/gist_id}","starred_url":"https://api.github.com/users/taketwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taketwo/subscriptions","organizations_url":"https://api.github.com/users/taketwo/orgs","repos_url":"https://api.github.com/users/taketwo/repos","events_url":"https://api.github.com/users/taketwo/events{/privacy}","received_events_url":"https://api.github.com/users/taketwo/received_events","type":"User","site_admin":false},"body":"does not match previously suggested `make -j2`","created_at":"2015-01-28T19:50:29Z","updated_at":"2015-01-28T19:50:29Z","html_url":"https://github.com/PointCloudLibrary/pcl/pull/1107#discussion_r23716965","pull_request_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107","_links":{"self":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments/23716965"},"html":{"href":"https://github.com/PointCloudLibrary/pcl/pull/1107#discussion_r23716965"},"pull_request":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107"}}},"pull_request":{"url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107","id":27767646,"html_url":"https://github.com/PointCloudLibrary/pcl/pull/1107","diff_url":"https://github.com/PointCloudLibrary/pcl/pull/1107.diff","patch_url":"https://github.com/PointCloudLibrary/pcl/pull/1107.patch","issue_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1107","number":1107,"state":"open","locked":false,"title":"Add building tutorial for POSIX systems","user":{"login":"VictorLamoine","id":5566160,"avatar_url":"https://avatars.githubusercontent.com/u/5566160?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorLamoine","html_url":"https://github.com/VictorLamoine","followers_url":"https://api.github.com/users/VictorLamoine/followers","following_url":"https://api.github.com/users/VictorLamoine/following{/other_user}","gists_url":"https://api.github.com/users/VictorLamoine/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorLamoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorLamoine/subscriptions","organizations_url":"https://api.github.com/users/VictorLamoine/orgs","repos_url":"https://api.github.com/users/VictorLamoine/repos","events_url":"https://api.github.com/users/VictorLamoine/events{/privacy}","received_events_url":"https://api.github.com/users/VictorLamoine/received_events","type":"User","site_admin":false},"body":"Intents to replace http://www.pointclouds.org/downloads/source.html\r\nThe links at http://www.pointclouds.org/downloads/ should be updated (don't forget #839 as well)\r\n\r\nThe tutorial is nearly a copy, I changed the version number and the formatting is not always the same.\r\nThere is no logo for `POSIX` so I kept the default PCL logo. Using a Tux logo is not a good idea because the tutorial also targets MacOS X users etc.","created_at":"2015-01-21T15:26:44Z","updated_at":"2015-01-28T19:50:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4383b60909b565f3f2c43883b700d8a28ebcd9f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107/commits","review_comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107/comments","review_comment_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments/{number}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1107/comments","statuses_url":"https://api.github.com/repos/PointCloudLibrary/pcl/statuses/fb5c1af35acc7b1af69cefe63d7a39d89dec1a92","head":{"label":"VictorLamoine:build_tutorial","ref":"build_tutorial","sha":"fb5c1af35acc7b1af69cefe63d7a39d89dec1a92","user":{"login":"VictorLamoine","id":5566160,"avatar_url":"https://avatars.githubusercontent.com/u/5566160?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorLamoine","html_url":"https://github.com/VictorLamoine","followers_url":"https://api.github.com/users/VictorLamoine/followers","following_url":"https://api.github.com/users/VictorLamoine/following{/other_user}","gists_url":"https://api.github.com/users/VictorLamoine/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorLamoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorLamoine/subscriptions","organizations_url":"https://api.github.com/users/VictorLamoine/orgs","repos_url":"https://api.github.com/users/VictorLamoine/repos","events_url":"https://api.github.com/users/VictorLamoine/events{/privacy}","received_events_url":"https://api.github.com/users/VictorLamoine/received_events","type":"User","site_admin":false},"repo":{"id":16950553,"name":"pcl","full_name":"VictorLamoine/pcl","owner":{"login":"VictorLamoine","id":5566160,"avatar_url":"https://avatars.githubusercontent.com/u/5566160?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorLamoine","html_url":"https://github.com/VictorLamoine","followers_url":"https://api.github.com/users/VictorLamoine/followers","following_url":"https://api.github.com/users/VictorLamoine/following{/other_user}","gists_url":"https://api.github.com/users/VictorLamoine/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorLamoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorLamoine/subscriptions","organizations_url":"https://api.github.com/users/VictorLamoine/orgs","repos_url":"https://api.github.com/users/VictorLamoine/repos","events_url":"https://api.github.com/users/VictorLamoine/events{/privacy}","received_events_url":"https://api.github.com/users/VictorLamoine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VictorLamoine/pcl","description":" Point Cloud Library (PCL)","fork":true,"url":"https://api.github.com/repos/VictorLamoine/pcl","forks_url":"https://api.github.com/repos/VictorLamoine/pcl/forks","keys_url":"https://api.github.com/repos/VictorLamoine/pcl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VictorLamoine/pcl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VictorLamoine/pcl/teams","hooks_url":"https://api.github.com/repos/VictorLamoine/pcl/hooks","issue_events_url":"https://api.github.com/repos/VictorLamoine/pcl/issues/events{/number}","events_url":"https://api.github.com/repos/VictorLamoine/pcl/events","assignees_url":"https://api.github.com/repos/VictorLamoine/pcl/assignees{/user}","branches_url":"https://api.github.com/repos/VictorLamoine/pcl/branches{/branch}","tags_url":"https://api.github.com/repos/VictorLamoine/pcl/tags","blobs_url":"https://api.github.com/repos/VictorLamoine/pcl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VictorLamoine/pcl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VictorLamoine/pcl/git/refs{/sha}","trees_url":"https://api.github.com/repos/VictorLamoine/pcl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VictorLamoine/pcl/statuses/{sha}","languages_url":"https://api.github.com/repos/VictorLamoine/pcl/languages","stargazers_url":"https://api.github.com/repos/VictorLamoine/pcl/stargazers","contributors_url":"https://api.github.com/repos/VictorLamoine/pcl/contributors","subscribers_url":"https://api.github.com/repos/VictorLamoine/pcl/subscribers","subscription_url":"https://api.github.com/repos/VictorLamoine/pcl/subscription","commits_url":"https://api.github.com/repos/VictorLamoine/pcl/commits{/sha}","git_commits_url":"https://api.github.com/repos/VictorLamoine/pcl/git/commits{/sha}","comments_url":"https://api.github.com/repos/VictorLamoine/pcl/comments{/number}","issue_comment_url":"https://api.github.com/repos/VictorLamoine/pcl/issues/comments/{number}","contents_url":"https://api.github.com/repos/VictorLamoine/pcl/contents/{+path}","compare_url":"https://api.github.com/repos/VictorLamoine/pcl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VictorLamoine/pcl/merges","archive_url":"https://api.github.com/repos/VictorLamoine/pcl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VictorLamoine/pcl/downloads","issues_url":"https://api.github.com/repos/VictorLamoine/pcl/issues{/number}","pulls_url":"https://api.github.com/repos/VictorLamoine/pcl/pulls{/number}","milestones_url":"https://api.github.com/repos/VictorLamoine/pcl/milestones{/number}","notifications_url":"https://api.github.com/repos/VictorLamoine/pcl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VictorLamoine/pcl/labels{/name}","releases_url":"https://api.github.com/repos/VictorLamoine/pcl/releases{/id}","created_at":"2014-02-18T14:01:02Z","updated_at":"2015-01-27T12:45:25Z","pushed_at":"2015-01-28T11:11:49Z","git_url":"git://github.com/VictorLamoine/pcl.git","ssh_url":"git@github.com:VictorLamoine/pcl.git","clone_url":"https://github.com/VictorLamoine/pcl.git","svn_url":"https://github.com/VictorLamoine/pcl","homepage":"  http://www.pointclouds.org","size":220574,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PointCloudLibrary:master","ref":"master","sha":"15398270b2072ac776409e2693def3b11c60f747","user":{"login":"PointCloudLibrary","id":2059451,"avatar_url":"https://avatars.githubusercontent.com/u/2059451?v=3","gravatar_id":"","url":"https://api.github.com/users/PointCloudLibrary","html_url":"https://github.com/PointCloudLibrary","followers_url":"https://api.github.com/users/PointCloudLibrary/followers","following_url":"https://api.github.com/users/PointCloudLibrary/following{/other_user}","gists_url":"https://api.github.com/users/PointCloudLibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/PointCloudLibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PointCloudLibrary/subscriptions","organizations_url":"https://api.github.com/users/PointCloudLibrary/orgs","repos_url":"https://api.github.com/users/PointCloudLibrary/repos","events_url":"https://api.github.com/users/PointCloudLibrary/events{/privacy}","received_events_url":"https://api.github.com/users/PointCloudLibrary/received_events","type":"Organization","site_admin":false},"repo":{"id":8162615,"name":"pcl","full_name":"PointCloudLibrary/pcl","owner":{"login":"PointCloudLibrary","id":2059451,"avatar_url":"https://avatars.githubusercontent.com/u/2059451?v=3","gravatar_id":"","url":"https://api.github.com/users/PointCloudLibrary","html_url":"https://github.com/PointCloudLibrary","followers_url":"https://api.github.com/users/PointCloudLibrary/followers","following_url":"https://api.github.com/users/PointCloudLibrary/following{/other_user}","gists_url":"https://api.github.com/users/PointCloudLibrary/gists{/gist_id}","starred_url":"https://api.github.com/users/PointCloudLibrary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PointCloudLibrary/subscriptions","organizations_url":"https://api.github.com/users/PointCloudLibrary/orgs","repos_url":"https://api.github.com/users/PointCloudLibrary/repos","events_url":"https://api.github.com/users/PointCloudLibrary/events{/privacy}","received_events_url":"https://api.github.com/users/PointCloudLibrary/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PointCloudLibrary/pcl","description":"Point Cloud Library (PCL)","fork":false,"url":"https://api.github.com/repos/PointCloudLibrary/pcl","forks_url":"https://api.github.com/repos/PointCloudLibrary/pcl/forks","keys_url":"https://api.github.com/repos/PointCloudLibrary/pcl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PointCloudLibrary/pcl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PointCloudLibrary/pcl/teams","hooks_url":"https://api.github.com/repos/PointCloudLibrary/pcl/hooks","issue_events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/events{/number}","events_url":"https://api.github.com/repos/PointCloudLibrary/pcl/events","assignees_url":"https://api.github.com/repos/PointCloudLibrary/pcl/assignees{/user}","branches_url":"https://api.github.com/repos/PointCloudLibrary/pcl/branches{/branch}","tags_url":"https://api.github.com/repos/PointCloudLibrary/pcl/tags","blobs_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/refs{/sha}","trees_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PointCloudLibrary/pcl/statuses/{sha}","languages_url":"https://api.github.com/repos/PointCloudLibrary/pcl/languages","stargazers_url":"https://api.github.com/repos/PointCloudLibrary/pcl/stargazers","contributors_url":"https://api.github.com/repos/PointCloudLibrary/pcl/contributors","subscribers_url":"https://api.github.com/repos/PointCloudLibrary/pcl/subscribers","subscription_url":"https://api.github.com/repos/PointCloudLibrary/pcl/subscription","commits_url":"https://api.github.com/repos/PointCloudLibrary/pcl/commits{/sha}","git_commits_url":"https://api.github.com/repos/PointCloudLibrary/pcl/git/commits{/sha}","comments_url":"https://api.github.com/repos/PointCloudLibrary/pcl/comments{/number}","issue_comment_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/comments/{number}","contents_url":"https://api.github.com/repos/PointCloudLibrary/pcl/contents/{+path}","compare_url":"https://api.github.com/repos/PointCloudLibrary/pcl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PointCloudLibrary/pcl/merges","archive_url":"https://api.github.com/repos/PointCloudLibrary/pcl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PointCloudLibrary/pcl/downloads","issues_url":"https://api.github.com/repos/PointCloudLibrary/pcl/issues{/number}","pulls_url":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls{/number}","milestones_url":"https://api.github.com/repos/PointCloudLibrary/pcl/milestones{/number}","notifications_url":"https://api.github.com/repos/PointCloudLibrary/pcl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PointCloudLibrary/pcl/labels{/name}","releases_url":"https://api.github.com/repos/PointCloudLibrary/pcl/releases{/id}","created_at":"2013-02-12T16:40:25Z","updated_at":"2015-01-28T11:55:21Z","pushed_at":"2015-01-28T11:55:21Z","git_url":"git://github.com/PointCloudLibrary/pcl.git","ssh_url":"git@github.com:PointCloudLibrary/pcl.git","clone_url":"https://github.com/PointCloudLibrary/pcl.git","svn_url":"https://github.com/PointCloudLibrary/pcl","homepage":"http://www.pointclouds.org","size":261679,"stargazers_count":583,"watchers_count":583,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":716,"mirror_url":null,"open_issues_count":122,"forks":716,"open_issues":122,"watchers":583,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107"},"html":{"href":"https://github.com/PointCloudLibrary/pcl/pull/1107"},"issue":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1107"},"comments":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/issues/1107/comments"},"review_comments":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107/comments"},"review_comment":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/pulls/1107/commits"},"statuses":{"href":"https://api.github.com/repos/PointCloudLibrary/pcl/statuses/fb5c1af35acc7b1af69cefe63d7a39d89dec1a92"}}}}