{"action":"closed","issue":{"url":"https://api.github.com/repos/bkaradzic/bgfx/issues/531","labels_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/531/labels{/name}","comments_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/531/comments","events_url":"https://api.github.com/repos/bkaradzic/bgfx/issues/531/events","html_url":"https://github.com/bkaradzic/bgfx/issues/531","id":109540345,"number":531,"title":"Shader Compiler(shaderc) Error:0x80004002","user":{"login":"Halsys","id":4347345,"avatar_url":"https://avatars.githubusercontent.com/u/4347345?v=3","gravatar_id":"","url":"https://api.github.com/users/Halsys","html_url":"https://github.com/Halsys","followers_url":"https://api.github.com/users/Halsys/followers","following_url":"https://api.github.com/users/Halsys/following{/other_user}","gists_url":"https://api.github.com/users/Halsys/gists{/gist_id}","starred_url":"https://api.github.com/users/Halsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Halsys/subscriptions","organizations_url":"https://api.github.com/users/Halsys/orgs","repos_url":"https://api.github.com/users/Halsys/repos","events_url":"https://api.github.com/users/Halsys/events{/privacy}","received_events_url":"https://api.github.com/users/Halsys/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-02T17:58:07Z","updated_at":"2015-10-02T19:36:06Z","closed_at":"2015-10-02T19:36:06Z","body":"Like @andr3wmac, I wanted to make the shader compiler an embedded tool library. I've had success in communicating to shaderc via a C# wrapper to a modified version of shaderc.cpp. \r\n\r\nBut i'm having some issues now, the compiler is passing back error: `0x80004002`. I have no idea what this means and investigating the C++ source code brings little success. Because I'm communicating to the C++ function that used to be the main function, I can pass arguments to it like I would a console command. So this is what i'm basically using as arguments;\r\n\r\n```bash\r\n\"shaderc -f C:\\\\Users\\\\cory1\\\\Dropbox\\\\RubberTechEngine\\\\Build\\\\Debug32\\\\..\\\\Assets\\\\Shaders\\\\src\\\\Cubes\\\\vs_cubes.sc -i C:\\\\Users\\\\cory1\\\\Dropbox\\\\RubberTechEngine\\\\Build\\\\Debug32\\\\..\\\\Assets\\\\Shaders\\\\include\\\\ -o C:\\\\Users\\\\cory1\\\\Dropbox\\\\RubberTechEngine\\\\Build\\\\Debug32\\\\..\\\\Assets\\\\Shaders\\\\bin\\\\dx11\\\\Cubes\\\\vs_cubes.bin --platform windows --type vertex --profile vs_4_0 -O 3 --depends --disasm\"\r\n```\r\n\r\nI'm using the cubes example for reference here.\r\n\r\nI tried using no double back slashes, forward slashes, and relative paths(with forward and back slashes) and quotes just confuse it. \r\n\r\nWhat could I be doing wrong...?\r\n\r\nI looked at shader.mk and how the configuration process would compile them, the only differences between the two is the ordering of arguments... From what I can see."}}