{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/233","labels_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/233/comments","events_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/233/events","html_url":"https://github.com/HaxeFoundation/hxcpp/issues/233","id":78487348,"number":233,"title":"obj path and file names sometimes too long for win7","user":{"login":"Justinfront","id":489459,"avatar_url":"https://avatars.githubusercontent.com/u/489459?v=3","gravatar_id":"","url":"https://api.github.com/users/Justinfront","html_url":"https://github.com/Justinfront","followers_url":"https://api.github.com/users/Justinfront/followers","following_url":"https://api.github.com/users/Justinfront/following{/other_user}","gists_url":"https://api.github.com/users/Justinfront/gists{/gist_id}","starred_url":"https://api.github.com/users/Justinfront/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Justinfront/subscriptions","organizations_url":"https://api.github.com/users/Justinfront/orgs","repos_url":"https://api.github.com/users/Justinfront/repos","events_url":"https://api.github.com/users/Justinfront/events{/privacy}","received_events_url":"https://api.github.com/users/Justinfront/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T11:31:41Z","updated_at":"2015-05-20T11:43:38Z","closed_at":null,"body":"Hi Hugh\r\n\r\nRather an obscure issue here feel free to close if beyond scope.\r\n\r\nHi I had a rather strange issue on a project where the obj file silently failed to be created on windows 7.\r\n\r\nThis file\r\n04e3d618_BalancedBSTNode_phoenix_geometry_GeometryKey_phoenix_geometry_Geometry.obj\r\n\r\nwas not created in \r\nC:\\projects\\currentProjects\\experimental\\other\\old\\addCurveTo\\hxDaedalus-luxe-examples\\hxDaedalus-Luxe-Examples\\07-MeshExtractionFromBitmap\\bin\\windows.build\\cpp\\obj\r\n\r\nThe solution was to move the project to a shorter path, it's a crazy error for the average user to find (and took me awhile).  I wonder if hxcpp could tell the user when an object file fails to be generated for this reason, or if hxcpp can auto reduce suitably long names at compile or use a different copy method or....? .  I know it's not really hxcpp problem but since the error to write the obj file is silent it makes for a very obscure bug that is likely to fox most people and certainly to take quite some time for them to find.  It may well not effect windows8, but I don't think it's easy to get an update fix on windows7.\r\n\r\nBest Justin"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/comments/103854352","html_url":"https://github.com/HaxeFoundation/hxcpp/issues/233#issuecomment-103854352","issue_url":"https://api.github.com/repos/HaxeFoundation/hxcpp/issues/233","id":103854352,"user":{"login":"Simn","id":634365,"avatar_url":"https://avatars.githubusercontent.com/u/634365?v=3","gravatar_id":"","url":"https://api.github.com/users/Simn","html_url":"https://github.com/Simn","followers_url":"https://api.github.com/users/Simn/followers","following_url":"https://api.github.com/users/Simn/following{/other_user}","gists_url":"https://api.github.com/users/Simn/gists{/gist_id}","starred_url":"https://api.github.com/users/Simn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Simn/subscriptions","organizations_url":"https://api.github.com/users/Simn/orgs","repos_url":"https://api.github.com/users/Simn/repos","events_url":"https://api.github.com/users/Simn/events{/privacy}","received_events_url":"https://api.github.com/users/Simn/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T11:43:38Z","updated_at":"2015-05-20T11:43:38Z","body":"In theory the directory path itself could be so long that there's no viable file name to use. It might still make sense to detect this and give a proper error message."}}