PDA

View Full Version : Problem with compiling RenderMan Shader


BaiLong
05-23-2008, 01:06 PM
Hi there,

I'm new to this forum and could need some help with Renderman Shaders.

I have a Problem with compiling .sl files.

In a tutorial I wrote a very simple shader, but when I try to compile with shader.exe I get this message:

ERROR: Cannot find preprocessor for shader file "basic.sl"

What is the prepocessor?
Is there maybe some environment variable set wrong?

I'm using RMan Studio 1.0.1

Thanks a lot in advance
Markus

2stepdmb
05-24-2008, 01:31 AM
Sounds like you haven't set the RMANTREE environment variable. Set that and you should be able to compile the shader.

Ian

BaiLong
05-24-2008, 03:18 AM
Thanks a lot, now it works! :applause:

Markus

CGTalk Moderation
05-24-2008, 03:18 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.