Dan Nicholson wrote: > 2008/3/11 Wu, Nian <[EMAIL PROTECTED]>: >> Brian Paul wrote: >> >>> Cool, hopefully you can update the >> >>> http://wiki.x.org/wiki/Development/git with the new best >> practices >>> for building/installing Mesa into a separate path? >> >> I followed the steps in http://wiki.x.org/wiki/Development/git to >> compile Mesa. When compile progs/demo/rain.cxx, make failed with >> info: >> >> g++ -c -I../ -g -O2 -Wall -fno-strict-aliasing -fPIC >> -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE >> -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN >> -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING >> -DHAVE_ALIAS -DGLX_DIRECT_RENDERING rain.cxx rain.cxx:14:21: error: >> GL/glut.h: No such file or directory rain.cxx: In function �void >> printstring(void*, char*)’: rain.cxx:123: error: >> �glutBitmapCharacter’ was not declared in this scope ...... >> make[2]: *** [rain.o] Error 1 make[2]: Leaving directory >> `/GFX/build/component/Mesa/mesa.new/progs/demos' >> >> This is because I installed Xorg into separate direction >> /opt/X11R7, but Mesa/progs/demo does not generate correct Makefile >> to include the path /opt/X11R7/include (and I have not installed >> glut head files in /usr/include/GL/). I have set $PKG_CONFIG_PATH >> and $ACLOCAL. > > This is just a bug in the Makefile. It should be finding > ../../include/GL/glut.h, but the path is wrong. I pushed a fix. Can > you try again?
It works now. Thanks. Nian ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
