RenderMan 23 Development on Windows

From an earlier post I put instructions on how to compile plugins for RenderMan using Windows and Visual Studio 2017. That info was geared around RenderMan22. Here are some updated instructions for RenderMan23.

Previously gave the individual commands to do this. I’ve since converted to using Batch files in order to automate the process.

set RMAN_VERSION="23.2"
set RMANTREE=C:\\Program Files\Pixar\RenderManProServer-%RMAN_VERSION%\
set PLUGIN_NAME="NameOfYourPlugin"
call "D:\programs\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
cl -MD /EHsc /D "WIN32" /D "_WINDLL" /I"%RMANTREE%\include" -c %PLUGIN_NAME%.cpp
link  /DLL /out:%PLUGIN_NAME%.dll %PLUGIN_NAME%.obj "%RMANTREE%\lib\libprman.lib" "%RMANTREE%\lib\libpxrcore.lib"

Note that I’m using a non-standard install for Microsoft Visual Studio, you’ll have to adjust that to your install location.

Using RenderMan 23.2

Leave a Reply

Your email address will not be published. Required fields are marked *