compile dies with the following error: c++ -c -I../../include -I../../src/mesa -I../../src/mesa/main -I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl -I../../src/mesa/shader -I../../src/mesa/shader/grammar -I../../src/mesa/shader/slang -I../../src/mesa/shader/slang/OSDependent/Linux -I../../src/mesa/shader/slang/OGLCompilersDLL -I../../src/mesa/swrast -I../../src/mesa/swrast_setup -I/sw/X11/include -O3 -fPIC -fno-common -ffast-math -funroll-loops -fexpensive-optimizations -no-cpp-precomp -dynamic -Ddarwin tnl/t_vertex.c -o tnl/t_vertex.o tnl/t_vertex.c: In function 'void _tnl_register_fastpath(tnl_clipspace*, GLboolean)': tnl/t_vertex.c:91: error: cannot convert 'attr_type*' to 'tnl_clipspace_fastpath::attr_type*' in assignment make[1]: *** [tnl/t_vertex.o] Error 1 make: *** [default] Error 2
Created attachment 5867 [details] [review] specify tnl_clipspace_fastpath::attr_type instead of attr_type I'm not sure if this is the correct fix, but it does allow the compile to continue
That's not the correct fix. The problem is that you're trying to compile C code with a C++ compiler. line 8 of Mesa-6.5/configs/darwin says: CC = c++ which causes that problem. Changing it to CC = cc will most likely fix it for you.
*** Bug 7175 has been marked as a duplicate of this bug. ***
yup, I just confirmed everything works with cc instead of c++, 6.5 builds just fine on OSX now
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.