Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

aiOslShader: could not find include file: stdosl.h when using network path

0 REPLIES 0
Reply
Message 1 of 1
matthias.pichler2LM87
762 Views, 0 Replies

aiOslShader: could not find include file: stdosl.h when using network path

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

Tags (3)
Labels (3)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report