[Bf-committers] Re: Error on compile OSX 10.3

Michael Velikanje bf-committers@blender.org
Wed, 26 Nov 2003 22:16:39 -0900


The Diff file looks like this:

Index: blender/source/blender/include/butspace.h
===================================================================
RCS file: 
/cvsroot/bf-blender/blender/source/blender/include/butspace.h,v
retrieving revision 1.15
diff -u -r1.15 butspace.h
--- blender/source/blender/include/butspace.h	28 Oct 2003 16:26:51 
-0000	1.15
+++ blender/source/blender/include/butspace.h	27 Nov 2003 07:08:10 -0000
@@ -137,8 +137,8 @@
  #define B_SBUFF			1104

  /* *********************** */
-#define B_MATBUTS		1300
-
+#define B_MATBUTS       1300
+#define B_MATHALO       1333
  #define B_MATCOL		1201
  #define B_SPECCOL		1202
  #define B_MIRCOL		1203

Just for fun.

Michael Velikanje


On Nov 26, 2003, at 9:51 PM, Michael Velikanje wrote:

> After updating to the latest CVS (v2.31) I had this error when 
> compiling:
> <<
> buttons_shading.c:1949: error: `B_MATHALO' undeclared
> buttons_shading.c:2217: error: `B_MATHALO' undeclared
> >>
> B_MATHALO was added into blender/source/blender/src/buttons_shading.c 
> in the last 8 or so hours.
>
> I added this line to blender/source/blender/include/butspace.h on line 
> 141 between B_MATBUTS and B_MATCO:
> It just looked right ;) .
> <<
> #define B_MATHALO           1333
> >>
> This addition resulted in the successful compile of a working blender. 
> :^)
>
> It's a beautiful thing.
>
> Michael Velikanje
>