[GRASS-dev] WinGrass65 + import gui_modules.nviz_tools as nviz_tools: ImportError

Glynn Clements glynn at gclements.plus.com
Sat Jun 19 16:15:04 EDT 2010


Martin Landa wrote:

> >> "WARNING: Nviz extension (3D view mode) disabled. Reason: intl not found."
> >
> > It's odd that this only occurs when loading libraries dynamically via
> > Python.
> >
> > libintl is required by all GRASS modules; not only is it used directly
> > by G_gettext(), but <libintl.h> (which is included from
> > <grass/glocale.h>) defines printf() etc as macros which refer to
> > libintl_printf() etc.
> 
> the installation constains only libint3 and libintl-8 dll libraries, see
> 
> $ find /c/Program\ Files\ \(x86\)/GRASS-70-SVN/ -name libint*.dll
> /c/Program Files (x86)/GRASS-70-SVN/extralib/libintl-8.dll
> /c/Program Files (x86)/GRASS-70-SVN/extralib/libintl3.dll
> 
> When compiling /lib/python/ against `lintl3` instead of `lintl`,
> grass.libs.grass can be imported, but its empty.

Check for any error/warning messages during creation.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list