[GRASS-dev] needed grass libraries?

WGrassMenuForm.cpp:(.text+0x2fb9): undefined reference to `G__gisinit(char const*, char const*)’
which grass library need to be linked

Regards,
Mohammed Rashad K M

2011/12/9 Mohammed Rashad <mohammedrashadkm@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

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@gmail.com> wrote:

2011/12/9 Mohammed Rashad <mohammedrashadkm@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

Regards,