[GRASS5] Re: error in r.example

Hi

I am not sure if GRASS compiles in microsoft visual studio 6.
You are probably the first to try (GRASS port to MS-Windows
isn't complete yet and was only tested with minW).

Be sure to use GRASS 6.1-CVS, and always updated.

I have CC'ed to the developers mailing list, maybe someone
has a comment for you.

Markus

On Wed, Mar 08, 2006 at 12:49:12PM +0000, SSS Project wrote:

hi
  i use windows xp and i execute this examaple in microsoft visual studio 6
   
Markus Neteler <neteler@itc.it> wrote:
  you may first tell us which operating system/compiler
you use. I have never seen such message.

Markus

On Tue, Mar 07, 2006 at 11:28:20AM +0000, SSS Project wrote:
> hi
> thank you
> i try your example
> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/doc/raster/r.example/
>
> and i have this errors
> linking
> main.obj : error LNK2001: unresolved external symbol
> _G_close_cell
> main.obj : error LNK2001: unresolved external symbol
> _G_free
> main.obj : error LNK2001: unresolved external symbol
> _G_put_raster_row
> main.obj : error LNK2001: unresolved external symbol
> _G_get_raster_row
> main.obj : error LNK2001: unresolved external symbol
> _G_percent
> main.obj : error LNK2001: unresolved external symbol
> _G_open_raster_new
> main.obj : error LNK2001: unresolved external symbol
> _G_window_cols
> main.obj : error LNK2001: unresolved external symbol
> _G_window_rows
> main.obj : error LNK2001: unresolved external symbol
> _G_allocate_raster_buf
> main.obj : error LNK2001: unresolved external symbol
> _G_debug
> main.obj : error LNK2001: unresolved external symbol
> _G_get_cellhd
> main.obj : error LNK2001: unresolved external symbol
> _G_open_cell_old
> main.obj : error LNK2001: unresolved external symbol
> _G_raster_map_type
> main.obj : error LNK2001: unresolved external symbol
> _G_legal_filename
> main.obj : error LNK2001: unresolved external symbol
> _G_fatal_error
> main.obj : error LNK2001: unresolved external symbol
> _G_find_cell2
> main.obj : error LNK2001: unresolved external symbol
> _G_parser
> main.obj : error LNK2001: unresolved external symbol
> _G_define_flag
> main.obj : error LNK2001: unresolved external symbol
> _G_define_standard_option
> main.obj : error LNK2001: unresolved external symbol
> _G_define_module
> main.obj : error LNK2001: unresolved external symbol
> _G_gisinit
>
> can you tell me how correct that ?
>
> thank you for your care
>

Markus Neteler wrote:

I am not sure if GRASS compiles in microsoft visual studio 6.
You are probably the first to try (GRASS port to MS-Windows
isn't complete yet and was only tested with minW).

Be sure to use GRASS 6.1-CVS, and always updated.

I have CC'ed to the developers mailing list, maybe someone
has a comment for you.

> > linking
> > main.obj : error LNK2001: unresolved external symbol
> > _G_close_cell

You need to link against the gis and datetime libraries, which means
that you have to build them first, which in turn will probably require
some Unix-compatibility libraries (e.g. MSYS).

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