From: guangshan c. <gc...@gm...> - 2009-11-13 17:23:08
|
Hi all, I am failed to build mesa on Mac OS 10.6 (intel). The following are steps what I did: step 1: download all three source files: MesaDemos-7.6.tar.gz MesaGLUT-7.6.tar.gz MesaLib-7.6.tar.gz step 2: untar the three files step 3: cd to Mesa-7.6 step 4: run configure configure --prefix=/Users/guangshan/local/ncl \ LDFLAGS="-L/usr/X11R6/lib" \ --with-x PKG_CONFIG_PATH="/Users/guangshan/local/ncl/lib/pkgconfig /usr/X11R6/lib/pkgconfig" step 5: make There are many warnings. But I got the following errors (I attached the log of make): mklib: Making Darwin shared library: libOSMesa.7.6.dylib Undefined symbols: "__mesa_enable_2_1_extensions", referenced from: _OSMesaCreateContextExt in osmesa.o "__tnl_run_pipeline", referenced from: _OSMesaCreateContextExt in osmesa.o "__swsetup_CreateContext", referenced from: _OSMesaCreateContextExt in osmesa.o "__mesa_new_renderbuffer", referenced from: _OSMesaCreateContextExt in osmesa.o "__vbo_CreateContext", referenced from: _OSMesaCreateContextExt in osmesa.o "__tnl_CreateContext", referenced from: ............................................. ld: symbol(s) not found Why some many undefined symbols? They are all related to mesa. Could any one help me? Thanks Guangshan |