Hey!
We recently tried using an aiOslShader in Maya, but came across an issue on some of our machines. This error kept getting raised when we tried to compile a shader:
```
# Error: Compilation Failed #
# Error: C:\Users\sercan.topaloglu\<buffer>:1: error: error: could not find include file: \px\o\app\ext\maya_mtoa\3.3.0.0-pxo.2\platform-windows\maya-2018\bin\../osl/include/stdosl.h
# Traceback (most recent call last):
# File "c:\users\sercan~1.top\appdata\local\temp\rez_env_a3c3507c9829f2f226150cec3a1fe39a2ba89ace61240ea3aaf9983abe9b513e\mtoa\ui\ae\aiOslShaderTemplate.py", line 265, in <lambda>
# cmds.button('compileButtonPath', label='Compile OSL Code', command=lambda *args: self.compiler(attrName, self.code_widget_path))
# File "c:\users\sercan~1.top\appdata\local\temp\rez_env_a3c3507c9829f2f226150cec3a1fe39a2ba89ace61240ea3aaf9983abe9b513e\mtoa\ui\ae\aiOslShaderTemplate.py", line 284, in compiler
# cmds.error(oslMayaScene.compilationErrors)
# RuntimeError: C:\Users\sercan.topaloglu\<buffer>:1: error: error: could not find include file: \px\o\app\ext\maya_mtoa\3.3.0.0-pxo.2\platform-windows\maya-2018\bin\../osl/include/stdosl.h #
```
After some troubleshooting, we figured out it works perfectly fine if the `maya_mtoa` package is cached locally and referred to with `C:\[...]\maya_mtoa\[...]` instead of `\\px\o\app\ext\maya_mtoa\[...]`.
Couldn't find a page where I can post an official bug report, so feel free to move this to it's appropriate place.
Cheers!
~ Matthias Pichler