[Bf-committers] osl.h macro needed

Jeffrey H italic.rendezvous at gmail.com
Mon Dec 9 03:58:48 CET 2013


You are not alone in getting an error with this file. MinGW-w64 on Win x64
is also getting it. This is the output from a single-threaded build:
http://www.pasteall.org/47902/text

MSVC2008 is failing elsewhere: http://www.pasteall.org/47903/text


On Sun, Dec 8, 2013 at 5:56 PM, Shane Neph <euclidonomy at hotmail.com> wrote:

> Hey Folks - new to blender, and this my first attempt at building it.
>  Where do I find current bug reports in the build process?  Seems like
> http://developer.blender.org/ may not be the appropriate place.
> Grabbed source from git.blender.org/blender.gitusing instructions at
> http://wiki.blender.org/index.php/Dev:Doc/Tools/Git and
> http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake
> Ran into a simple problem with OSL turned off in
> blender/intern/cycles/render/osl.h  at line 146
>
>  OSL::ShadingAttribStateRef compile_type(Shader *shader, ShaderGraph
> *graph, ShaderType type);
> Had to slap:#ifdef WITH_OSL#endif
> around that, or else I'd receive a
>
> [ 82%] Building CXX object
> intern/cycles/blender/CMakeFiles/bf_intern_cycles.dir/blender_shader.cpp.o
>
>                              In file included from
> blender/intern/cycles/blender/blender_shader.cpp:21:0:
>
>          blender/intern/cycles/render/osl.h:146:2: error: OSL does not name
> a type
>                         OSL::ShadingAttribStateRef compile_type(Shader
> *shader, ShaderGraph *graph, ShaderType type);
>
>          ^
>
>                                                                make[2]: ***
> [intern/cy
>  cles/blender/CMakeFiles/bf_intern_cycles.dir/blender_shader.cpp.o] Error
> 1
>                                    make[1]: ***
> [intern/cycles/blender/CMakeFiles/bf_intern_cycles.dir/all] Error 2
>
>                                           make: *** [all] Error 2
> Hope that's useful and non-redundant.  Thanks for making such a great
> application.
> Shane
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
Jeffrey "Italic_" Hoover


More information about the Bf-committers mailing list