Campbell, Yeah I applied to the blender one... lol, had I just looked in the patch file itself I would have clearly seen that!
I patched it and it worked great! AND!!!! -- the new python finder actually makes building on FreeBSD *much* simpler! Thanks for including /usr/local in there! Cheers! Peter On Thu, Mar 10, 2011 at 4:11 PM, Campbell Barton <[email protected]>wrote: > On Thu, Mar 10, 2011 at 2:24 PM, pete larabell <[email protected]> > wrote: > > Is this to update the blender copy or my system copy? > > > > On Wed, Mar 9, 2011 at 7:15 PM, Campbell Barton <[email protected] > >wrote: > > > >> On Wed, Mar 9, 2011 at 7:43 PM, pete larabell <[email protected]> > >> wrote: > >> > Hi everyone, > >> > > >> > As it turns out, I spoke too soon yesterday saying the problem was > >> resolved, > >> > as now I've put more time into it and it is not resolved. > >> > > >> > The error I'm getting is as follows: > >> > > >> > When doing a straight compile after svn up: > >> > > >> > I get > >> > > >> > /usr/local/include/GL/glu.h:287: error: function declaration isn't a > >> > prototype > >> > > >> > If I then comment (in ~/blender-svn/blender) CMakeLists.txt the line > for > >> > checking strict-protoypes, I get much further into the compile, and > then > >> > get: > >> > > >> > ~/blender-svn/blender/extern/glew/src/glew.c:1358: error: expected > '=', > >> ',', > >> > ';', 'asm' or '__attribute__' before '__glewGetPointervEXT' > >> > > >> > There was a semi-fix that adding (void) to two declarations in the > >> system's > >> > /usr/local/include/GL/glu.h and /usr/local/include/GL/glew.h but that > >> > introduces new errors and for obvious reasons isn't a good way to fix > the > >> > error. > >> > > >> > Anyone out there with enough knowledge about blender's glew that could > >> give > >> > me a hand with this one??? > >> > > >> > Thanks! > >> > Peter > >> > >> That define's been removed from more recent glew versions: > >> > >> looks like we're at 1.5.1 now, patch to update to 1.5.8 > >> http://www.graphicall.org/ftp/ideasman42/glew_1_5_8.diff > > This is just the files from 1.5.8 copied over ours, apply like any > other blender patch from the svn root. > > But for a temp fix I think you could comment out the line which causes > that error. > > -- > - Campbell > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
