From: Brian P. <bri...@tu...> - 2004-12-08 16:46:27
|
Stedman Wilson wrote: > Hi, > > If anyone has any advice on this I would really appreciate it. My team > and I at the Kavli Astrophysics and Cosmology Institute are using Enzo > and LLNL's VisIt (llnl.gov/visit) to render simulations of star > formation in the early universe. That said, the main thing is that > we're primarily working on the Mac OS, and I need to build the Mesa libs > for the Mac, because Visit relies on them. Unfortunately, running make > (make darwin for Mesa 5.0, or configure and then make, for Mesa 6.2) > stops short with errors, about (surprisingly!) not being able to find > X11 libs. Could anyone explain to me exactly which makefiles I need to > edit to get Mesa to build? The only libs I need are libGL.dylib and > libOSMesa.dylib. So as long as I can get the compiler to grind these > out without trying to link X11 libs, I should be fine. The thing is, > Visit only relies on Mesa for off-screen rendering. But Mesa still > plays that crucial role. > I am pretty familiar with Unix (bash) syntax but am only relatively new > to Makefiles. Thank you for any help! Edit Mesa-6.2/src/mesa/Makefile and remove $(X11_DRIVER_SOURCES) near line 77. Put the attached darwin-no-x11 file in your Mesa-6.2/configs/ directory. Edit Mesa-6.2/Makefile and add a line for darwin-no-x11 near line 53. Then, 'make realclean' and 'make darwin-no-x11' I'm not sure this will all work, but it should get you going in the right direction. -Brian |