{"action":"created","issue":{"url":"https://api.github.com/repos/PixarAnimationStudios/USD/issues/83","repository_url":"https://api.github.com/repos/PixarAnimationStudios/USD","labels_url":"https://api.github.com/repos/PixarAnimationStudios/USD/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/PixarAnimationStudios/USD/issues/83/comments","events_url":"https://api.github.com/repos/PixarAnimationStudios/USD/issues/83/events","html_url":"https://github.com/PixarAnimationStudios/USD/issues/83","id":183451075,"number":83,"title":"CMake prefers installed headers over source","user":{"login":"jcowles","id":1510114,"avatar_url":"https://avatars.githubusercontent.com/u/1510114?v=3","gravatar_id":"","url":"https://api.github.com/users/jcowles","html_url":"https://github.com/jcowles","followers_url":"https://api.github.com/users/jcowles/followers","following_url":"https://api.github.com/users/jcowles/following{/other_user}","gists_url":"https://api.github.com/users/jcowles/gists{/gist_id}","starred_url":"https://api.github.com/users/jcowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcowles/subscriptions","organizations_url":"https://api.github.com/users/jcowles/orgs","repos_url":"https://api.github.com/users/jcowles/repos","events_url":"https://api.github.com/users/jcowles/events{/privacy}","received_events_url":"https://api.github.com/users/jcowles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-17T15:37:50Z","updated_at":"2016-10-17T15:44:50Z","closed_at":null,"body":"### System Information (OS, Hardware, etc.)\r\nWindows\r\n\r\n### Steps to Reproduce\r\n1. Build a full USD tree\r\n2. Make sure your built headers are on your PATH\r\n3. Sync the tree with changes in arch headers\r\n4. Build fails, in my case, it was the introduction of ArchResolveSymLink().\r\n\r\nDeleting the installed pxr headers fixed the build, so presumably it's preferring the installed headers over the source headers.\r\n\r\nIt seems like CMake should be configured to prefer the source headers over any headers that can be found on the users PATH.\r\n"},"comment":{"url":"https://api.github.com/repos/PixarAnimationStudios/USD/issues/comments/254246385","html_url":"https://github.com/PixarAnimationStudios/USD/issues/83#issuecomment-254246385","issue_url":"https://api.github.com/repos/PixarAnimationStudios/USD/issues/83","id":254246385,"user":{"login":"asluk","id":2095974,"avatar_url":"https://avatars.githubusercontent.com/u/2095974?v=3","gravatar_id":"","url":"https://api.github.com/users/asluk","html_url":"https://github.com/asluk","followers_url":"https://api.github.com/users/asluk/followers","following_url":"https://api.github.com/users/asluk/following{/other_user}","gists_url":"https://api.github.com/users/asluk/gists{/gist_id}","starred_url":"https://api.github.com/users/asluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asluk/subscriptions","organizations_url":"https://api.github.com/users/asluk/orgs","repos_url":"https://api.github.com/users/asluk/repos","events_url":"https://api.github.com/users/asluk/events{/privacy}","received_events_url":"https://api.github.com/users/asluk/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T15:44:50Z","updated_at":"2016-10-17T15:44:50Z","body":"I've seen this as well on OSX, and had started looking into it briefly a\nwhile back. The actual g++ command lines that I was getting looked to be in\norder wrto -I's, so I was wondering it there was a race condition between\ncopying local headers to the build location and the compile, but I haven't\ndug deeper yet.\n\nOn Mon, Oct 17, 2016 at 5:37 PM, Jeremy Cowles <notifications@github.com>\nwrote:\n\n> System Information (OS, Hardware, etc.)\n>\n> Windows\n> Steps to Reproduce\n>\n>    1. Build a full USD tree\n>    2. Make sure your built headers are on your PATH\n>    3. Sync the tree with changes in arch headers\n>    4. Build fails, in my case, it was the introduction of\n>    ArchResolveSymLink().\n>\n> Deleting the installed pxr headers fixed the build, so presumably it's\n> preferring the installed headers over the source headers.\n>\n> It seems like CMake should be configured to prefer the source headers over\n> any headers that can be found on the users PATH.\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/PixarAnimationStudios/USD/issues/83>, or mute the\n> thread\n> <https://github.com/notifications/unsubscribe-auth/AB_7ZuNwq8ngVB22bXWfpF2iyQUnd21Fks5q05ZQgaJpZM4KYxgC>\n> .\n>\n"}}
{"actor":{"display_login":"asluk"}}