[GRASS-dev] errors compiling nviz in GRASS 7
William Kyngesburye
woklist at kyngchaos.com
Thu Jul 10 00:33:55 EDT 2008
On Jul 9, 2008, at 11:23 PM, Glynn Clements wrote:
> William Kyngesburye wrote:
>
>>
>> But, there is this in gui/wxpython/nviz/nviz.h:
>>
>> #include <grass/gis.h>
>> #include <grass/gsurf.h>
>> #include <grass/gstypes.h>
>> #include <grass/nviz.h>
>>
>> Since <grass/nviz.h> already includes gsurf.h and gstypes.h, perhaps
>> those should be removed to let <grass/nviz.h> handle the proper
>> include order?
>
> Any source or header file which uses types or macros from a header
> file should explicitly include that header file.
>
> Header files should guard against repeated inclusion; AFAICT, all of
> the headers mentioned here do so.
>
OK. Haven't got that far anyways - stuck on my struct render_window
error in the nviz lib.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
All generalizations are dangerous, even this one.
More information about the grass-dev
mailing list