Setting up Prman for Nuke 6.2 launched from the shell in OSX/Linux

Written by Deke Kincaid on .

Lots of people are having issues getting Prman working with Nuke 6.2. So this is a basic tutorial on setting up the proper environment variables you need for launching Nuke from the shell under osx & linux.

Bash Shell setup

In a text editor create the file ".bash_profile" in your $HOME directory (/Users/yourUserName under osx or /home/yourUserName under linux)

1. Add the following to your bash_profile:

Osx:
export RMANTREE=/Applications/Pixar/RenderMan.app/Versions/RenderManProServer-15.2
export DYLD_LIBRARY_PATH=$RMANTREE/lib

Linux:
export RMANTREE=/opt/pixar/RenderManProServer-15.2
export LD_LIBRARY_PATH=$RMANTREE/lib

2. Type in your shell "source .bash_profile".

3. Start Nuke from the command line and now the Prman node should work.

Nuke 6.2v1 --nukex

Tcsh Shell setup

Linux and Osx typically use the Bash shell by default but if for some reason your using tcsh, then here is a modified version of the above instructions.

To figure out your current shell type, type:
ps | grep "$$"

You should get an output which looks like this:

19596 ttys000 0:00.25 -tcsh
31425 ttys000 0:00.00 grep 19596

1. In a text editor create the file ".tcshrc" in your $HOME directory (/Users/yourUserName under osx or /home/yourUserName under linux)

2. Add the following to your .tcshrc:

Osx:
setenv RMANTREE "/Applications/Pixar/RenderMan.app/Versions/RenderManProServer-15.2"
setenv DYLD_LIBRARY_PATH "$RMANTREE/lib"

Linux:
setenv RMANTREE "/opt/pixar/RenderManProServer-15.2"
setenv LD_LIBRARY_PATH "$RMANTREE/lib"

3. Type in your shell "source .tcshrc".

4. Start Nuke and now the Prman node should work.

Comments   

 
0 # matteo bacci 2011-02-16 05:32
may be working even with old renderman pro server version?
it seems that libprman.dll is a new lib create int he last prman version...
 
 
+1 # INEED MONEY 2011-06-12 01:43
Setting up Prman for Nuke 6.2 in win 7 x64 ??
 
 
0 # Andrew Paxson 2012-05-25 17:29
Setting up Prman for Nuke 6.2 in win 7 x64 ??
 
 
0 # Sergen Eren 2013-12-04 20:47
To setup the Nuke for PRman under windows:

1. Set system variable "RMANTREE" to C:\Program Files\Pixar\RenderManProServer-18.0\

2. And add C:\Program Files\Pixar\Ren derManProServer -18.0\lib to system variable "path"

(path variable is the equivalent of DYLD_LIBRARY_PA TH)
 

You have no rights to post comments

We have 2624 guests and 43 members online