{"action":"created","issue":{"url":"https://api.github.com/repos/paroj/ogre/issues/47","labels_url":"https://api.github.com/repos/paroj/ogre/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/paroj/ogre/issues/47/comments","events_url":"https://api.github.com/repos/paroj/ogre/issues/47/events","html_url":"https://github.com/paroj/ogre/issues/47","id":119369222,"number":47,"title":"[OGRE-206] Hide threading header","user":{"login":"paroj","id":4941802,"avatar_url":"https://avatars.githubusercontent.com/u/4941802?v=3","gravatar_id":"","url":"https://api.github.com/users/paroj","html_url":"https://github.com/paroj","followers_url":"https://api.github.com/users/paroj/followers","following_url":"https://api.github.com/users/paroj/following{/other_user}","gists_url":"https://api.github.com/users/paroj/gists{/gist_id}","starred_url":"https://api.github.com/users/paroj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paroj/subscriptions","organizations_url":"https://api.github.com/users/paroj/orgs","repos_url":"https://api.github.com/users/paroj/repos","events_url":"https://api.github.com/users/paroj/events{/privacy}","received_events_url":"https://api.github.com/users/paroj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paroj/ogre/labels/boost","name":"boost","color":"4e6089"},{"url":"https://api.github.com/repos/paroj/ogre/labels/core","name":"core","color":"ede6b6"},{"url":"https://api.github.com/repos/paroj/ogre/labels/tbb","name":"tbb","color":"f181b0"},{"url":"https://api.github.com/repos/paroj/ogre/labels/thread","name":"thread","color":"66f387"},{"url":"https://api.github.com/repos/paroj/ogre/labels/Threading","name":"Threading","color":"ae8290"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-29T16:31:07Z","updated_at":"2015-11-29T16:31:20Z","closed_at":null,"body":"<b>[reporter=\"Ogre.Transporter\", created=\"Fri, 14 Jun 2013 22:12:38 +0200\"]</b>\n<p>It would be nice to hide the headers of threading dependencies. Have a look what happend after including Ogre.h:</p>\n\n<p>Ogre.h -> OgrePrerequisites.h -> OgrePlatform.h -> OgreConfig.h -> OgreBuildSettings.h<br/>\nCode: Select all#define OGRE_THREAD_SUPPORT 2</p>\n\n<p>#define OGRE_THREAD_PROVIDER 1</p>\n\n<p>Ogre.h -> OgrePrerequisites.h -> Threading/OgreThreadDefines.h -> Threading/OgreThreadDefinesBoost.h<br/>\nOgre.h -> OgrePrerequisites.h -> OgreStdHeaders.h -> Threading/OgreThreadHeaders.h -> Threading/OgreThreadHeadersBoost.h -> BOOST</p>\n\n<p>That means you have to add boost to all Ogre projects. Even if you use Ogre as shared libraries, you also have to add boost. It would be helpful to include the threading libraries only in cpp code or headers which only used for building Ogre to avoid including any external library using the SDK. Using windows is also adding more issues because of boost auto linking, which is enabled by default.</p>\n\n<p>Thread: <a href=\"http://www.ogre3d.org/forums/viewtopic.php?f=3&t=78190\" class=\"external-link\" rel=\"nofollow\">http://www.ogre3d.org/forums/viewtopic.php?f=3&t=78190</a></p>\n\n<p>Edit: It looks like that TBB has the same problem (<a href=\"https://bitbucket.org/transporter/ogre-procedural/issues/147/boost-and-tbb-headers-and-libraries-not\" class=\"external-link\" rel=\"nofollow\">https://bitbucket.org/transporter/ogre-procedural/issues/147/boost-and-tbb-headers-and-libraries-not</a>)</p>"},"comment":{"url":"https://api.github.com/repos/paroj/ogre/issues/comments/160430533","html_url":"https://github.com/paroj/ogre/issues/47#issuecomment-160430533","issue_url":"https://api.github.com/repos/paroj/ogre/issues/47","id":160430533,"user":{"login":"paroj","id":4941802,"avatar_url":"https://avatars.githubusercontent.com/u/4941802?v=3","gravatar_id":"","url":"https://api.github.com/users/paroj","html_url":"https://github.com/paroj","followers_url":"https://api.github.com/users/paroj/followers","following_url":"https://api.github.com/users/paroj/following{/other_user}","gists_url":"https://api.github.com/users/paroj/gists{/gist_id}","starred_url":"https://api.github.com/users/paroj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paroj/subscriptions","organizations_url":"https://api.github.com/users/paroj/orgs","repos_url":"https://api.github.com/users/paroj/repos","events_url":"https://api.github.com/users/paroj/events{/privacy}","received_events_url":"https://api.github.com/users/paroj/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T16:31:20Z","updated_at":"2015-11-29T16:31:20Z","body":"<b><i>[author=\"ogre.transporter\", created=\"Sat, 15 Jun 2013 22:57:39 +0200\"]</i></b>\n<p>No. Thanks for your effort! I've rebuilt Ogre without paging and DX9 succesfully. But there are more threading includes like</p>\n\n<p>Ogre.h -> OgreArchive.h -> OgreSharedPtr.h -> Threading/OgreThreadHeaders.h -> Threading/OgreThreadHeadersBoost.h -> BOOST</p>"}}