I noticed there was a 1/8 patch for the new particles. I downloaded the patch files and did as I always do:
- Run a CLEAN (scons clean) on the source code/output paths
- Remove all existing Blender source code
- Get latest code matching patch date – 1/8 in this case (tried 1/7 too!)
- Add new .h and .c file(s) from particle website in appropriate directory
- Apply patch file
- Build
The patch had all hunks applied successfully – no errors. This time there was an error with the file “convertblender.c” on line 2169. That file includes “BKE_particle.h”. I get the following error when I try to build:
In file included from source/blender/render/intern/source/convertblender.c:89:
source/blender/blenkernel/BKE_particle.h:102:7: warning: no newline at end of file
source/blender/render/intern/source/convertblender.c: In function ‘render_new_particle’:
source/blender/render/intern/source/convertblender.c:1503: warning: unused variable ‘vec’
source/blender/render/intern/source/convertblender.c:1503: warning: unused variable ‘ptime’
source/blender/render/intern/source/convertblender.c: In function ‘render_new_particle_system’:
source/blender/render/intern/source/convertblender.c:1699: warning: implicit declaration of function ‘vlakren_customdata_layer_num’
source/blender/render/intern/source/convertblender.c: At top level:
source/blender/render/intern/source/convertblender.c:2169: error: static declaration of ‘vlakren_customdata_layer_num’ follows non-static declaration
source/blender/render/intern/source/convertblender.c:1699: error: previous implicit declaration of ‘vlakren_customdata_layer_num’ was here
scons: *** [/tempmr/cvs-blender/build/linux2/source/blender/render/intern/source/convertblender.o] Error 1
scons: building terminated because of errors.
Am I doing something wrong or is there others experiencing this? Seems to me it’s something small, but I just wanted to know if others were getting that error before I start trying to figure out what’s going on on my own.
Many thanks to all in advance!