[tuhopuu-devel] aqsis compile error

Jonathan Merritt tuhopuu-devel@blender.org
Fri, 30 Jul 2004 15:38:12 +1000


Hi Chris and Gabriel,

parameters.h is located in:
    source/blender/aqsis/shaders/dobby
The exporter shares some code (specifically for parameters) with the 
DSO.  It needs the files parameters.cpp and error.cpp (from the same 
directory as above) compiled into it.  The scons build file contains 
this information already.

If disabling RenderMan export still leaves Blender un-buildable, *and* 
it is still un-buildable for reasons related to the RenderMan exporter, 
then the disabling mechanism is simply not working for some reason.  I 
have personally been able to build Tuhopuu using scons on Linux machines 
without Aqsis installed by setting the appropriate flag, so I'd need 
more information to be able to iron out the problem.

There are two main regions of RenderMan specific code.  The first is 
*entirely* contained within the directory:
    source/blender/aqsis
The remainder, which exists in the rest of the Blender tree, should be 
wrapped by:
    #ifndef NO_AQSIS
    #endif
There is one (and it should be the *only*) exception to the wrapping 
rule, which exists in the "DNA code" headers of Blender.  This exception 
to the rule exists because the makesdna processing tool must be able to 
parse these header files.

ri.h should not be committed to the Blender tree because it is part of 
Aqsis (or part of Pixie, or part of 3Delight, etc.).  It can potentially 
be different for each renderer that provides a RIB client library.  
Think of it as being a bit like gl.h for OpenGL.  This file is not 
committed for the same reason that the whole of the Pixie and Aqsis 
renderers are not committed in their entirety.  If you are missing this 
file at compile-time then you will be lacking further linkage 
dependencies in the next step, so simply committing this one file would 
not really solve the problem.

Jonathan Merritt.


> Message
>original ------- 
>De: Chris Want
><cwant@ualberta.ca> 
>Date: Thu, 29 Jul
>2004 13:37:48 -0600 
>Sujet:
>[tuhopuu-devel]
>aqsis compile error 
>
>Here is the error:
>
>aqsis_File.cpp:9:76:
>parameters.h: No
>such file or
>directory
>
>Chris
>_______________________________________________
>tuhopuu-devel
>mailing list
>tuhopuu-devel@blender.org
>http://www.blender.org/mailman/listinfo/tuhopuu-devel
>
>Also ri.h...
> 
>honestl y, Whyt
>isn't these files
>are copied into the
>tuhopuu tree. At the
>moment i don't know
>where to find them.
>And disabling Aquis
>in scons don't
>correct the
>problem(not very
>usefull this
>flag...). I could do
>one, but Tuhopuu is
>unbuildable since
>last month or
>so.javascript:send();
>
>Plus simple, plus fiable, plus rapide : découvrez le nouveau Caramail - http://www.caramail.lycos.fr
>
>  
>