[Bf-committers] Build error on OSX

Howard Trickey howard.trickey at gmail.com
Sun Aug 2 13:56:42 CEST 2015


Needs an #ifdef DEBUG / #endif around that BLI_assert statement.

On Sun, Aug 2, 2015 at 7:04 AM Jasper van Nieuwenhuizen <
jaspervannieuwenhuizen at gmail.com> wrote:

> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list