[Bf-committers] Build error on OSX

Jasper van Nieuwenhuizen jaspervannieuwenhuizen at gmail.com
Sun Aug 2 13:03:57 CEST 2015


Hi all,

I was very eager to try out the new node alignment feature by Julian Eisel.
But when I try to compile I get the following error:

blender-git/blender/source/blender/bmesh/operators/bmo_connect_pair.c:244:13:
error:
      implicit declaration of function 'state_link_find' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
        BLI_assert(state_link_find(state, ele) == false);

I'm on OSX 10.10 and using CMake. After this error I tried to set C_FLAGS
and CXX_FLAGS "-Wno-error" and "-Wno-implicit-function-declaration", but
then I got an error at the linking stage (also complaining about
'state_link_find').

I guess it's rather easy to fix, but even after years of building Blender
myself, I have actually no idea how all this stuff works. :/
So if anybody could shed some light on what the problem is or has any links
to where I can read more (so I get a better understanding) I would be very
grateful.

Cheers,

Jasper van Nieuwenhuizen


More information about the Bf-committers mailing list