[GRASS-dev] needed grass libraries?

Mohammed Rashad mohammedrashadkm at gmail.com
Wed Dec 14 08:15:24 EST 2011

here is my make command

c++ -O2  -w -g -DUSE_OGR -DUSE_PROJ  -I/usr/lib/grass64/include grass.o
-L/usr/lib/grass64/lib  -lgrass_I -lgrass_Iortho -lgrass_arraystats
-lgrass_bitmap -lgrass_btree -lgrass_cairodriver -lgrass_cdhc
-lgrass_cluster -lgrass_datetime -lgrass_dbmibase -lgrass_dbmiclient
-lgrass_dbmidriver -lgrass_dbstubs -lgrass_dgl -lgrass_dig2 -lgrass_display
-lgrass_driver -lgrass_dspf -lgrass_edit -lgrass_form -lgrass_g3d -*
lgrass_gis* -lgrass_gmath -lgrass_gpde -lgrass_gproj -lgrass_interpdata
-lgrass_interpfl -lgrass_iostream -lgrass_ismap -lgrass_lidar -lgrass_linkm
-lgrass_lrs -lgrass_manage -lgrass_nviz -lgrass_ogsf -lgrass_pngdriver
-lgrass_psdriver -lgrass_qtree -lgrass_raster -lgrass_rli -lgrass_rowio
-lgrass_rtree -lgrass_segment -lgrass_shape -lgrass_sim -lgrass_sites
-lgrass_sqlp -lgrass_stats -lgrass_symb -lgrass_trans -lgrass_vask
-lgrass_vect -lgrass_vedit   -o wgrass

libgrass_gis is there but still error
/home/rashad/grass.cpp:5: undefined reference to `G__gisinit(char const*,
char const*)'

On Fri, Dec 9, 2011 at 3:34 PM, Martin Landa <landa.martin at gmail.com> wrote:

> 2011/12/9 Mohammed Rashad <mohammedrashadkm at gmail.com>:
> > WGrassMenuForm.cpp:(.text+0x2fb9): undefined reference to
> `G__gisinit(char
> > const*, char const*)'
> > which grass library need to be linked
> take a look at API manual, it's libgis.
> Martin
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20111214/28000923/attachment.html

More information about the grass-dev mailing list