[GRASS-dev] Re: [GRASS GIS] #598: MacOS X / OpenGL and Wxpython incompatible

GRASS GIS trac at osgeo.org
Fri Sep 11 00:15:46 EDT 2009


#598: MacOS X / OpenGL and Wxpython incompatible
---------------------+------------------------------------------------------
  Reporter:  vince   |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  normal  |   Milestone:  6.4.0                    
 Component:  NVIZ    |     Version:  svn-trunk                
Resolution:          |    Keywords:                           
  Platform:  MacOSX  |         Cpu:  OSX/Intel                
---------------------+------------------------------------------------------
Comment (by cmbarton):

 I have compiled GRASS 6.5 and 6.4 and it all works fine, including nviz
 and the wxpython 3D.

 Here is what works for me with the newest versions. Note that this is
 compiled in 64 bit. I'm using OS X 10.5.8, the current frameworks by
 William Kyngesburye, and Activstates TclTk 8.5 for aqua. Please check to
 see if this works for you too.

 Configure string:

 ./configure --with-freetype --with-freetype-
 includes="/Library/Frameworks/FreeType.framework/unix/include/freetype2
 /Library/Frameworks/FreeType.framework/unix/include" --with-freetype-
 libs=/Library/Frameworks/FreeType.framework/unix/lib --with-
 gdal=/Library/Frameworks/GDAL.framework/Programs/gdal-config --with-proj
 --with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include
 --with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-
 share=/Library/Frameworks/PROJ.framework/Resources/proj --without-geos
 --with-jpeg-
 includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-
 jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png-
 includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-
 png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-tiff-
 includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-
 tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --without-
 postgres --without-mysql --with-odbc --with-sqlite --with-sqlite-
 libs=/Library/Frameworks/SQLite3.framework/unix/lib --with-sqlite-
 includes=/Library/Frameworks/SQLite3.framework/unix/include --with-fftw-
 includes=/Library/Frameworks/FFTW3.framework/unix/include --with-fftw-
 libs=/Library/Frameworks/FFTW3.framework/unix/lib --with-x --with-cxx
 --with-opengl=aqua --without-readline --prefix=/Applications/GRASS
 --enable-macosx-app --with-python=/usr/bin/python-config --with-
 wxwidgets=/usr/local/lib/wxPython-unicode-2.8.9.2/bin/wx-config --with-
 tcltk-includes="/Library/Frameworks/Tcl.framework/Headers
 /Library/Frameworks/Tk.framework/Headers
 /Library/Frameworks/Tk.framework/PrivateHeaders" --with-macosx-
 archs="i386,x86_64"

 **** IMPORTANT: after configure, but BEFORE make, edit
 include/make/platform.make to change the line from

 TCLTKLIBS           =  -ltk   -ltcl

 to

 TCLTKLIBS = -framework Tcl -framework Tk

 then run make and sudo make install

 Michael

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/598#comment:24>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list