Re: Compiling OpenShadingLanguage under Windows


Chris Foster <chri...@...>
 

On Thu, Jan 21, 2010 at 7:37 AM, Wormszer <worm...@...> wrote:
I have a solution but its not very elegant. The compiler is hard coded to
use linux CPP preprocessor. /usr/bin/CPP
Over at aqsis, we use the C preprecessor from boost called boost.wave. It's
been a good choice for us since it runs anywhere with a capable C++ compiler.

The main annoyance with wave is that it causes the compiler to issue truly
horrendous error messages if you get things wrong (the wave internals make
heavy use of template metaprogramming).

~Chris.

Join osl-dev@lists.aswf.io to automatically receive all group messages.