Troubleshoot error messages
 
 
 

PHEN 0.2 error 051011: shader "myShader" not found : missing link statement

Make sure that your phenomenon is visible to Maya.

API 0.0 error 301031:Call to undeclared function "myShader"

Ensure that shader files don’t have a .cpp extension. A shader written in C++ is not recognized correctly.

API 0.0 error 301032: while defining "": undefined shader "myShader"

Ensure that shader files don’t have a .cpp extension. A shader written in C++ is not recognized correctly.