[GRASS-dev] GRASS && OpenCV
Hamish
hamish_b at yahoo.com
Fri Dec 16 23:01:50 EST 2011
> here is my make command
>
> g++ -I/usr/lib/grass64/include grass.o -L/usr/lib/grass64/lib
and you are trying to build against the installed grass 6.4 not a self-
built but uninstalled 6.5svn or other version, right?
> libgrass_gis is there but still error/home/rashad/grass.cpp:5:
> undefined reference to `G__gisinit(char const*, char const*)'
Hamish wrote:
> > how does the Makefile look?
?
> > maybe add the grass lib dir to your /etc/ld.so.conf file, then
> > as root run ldconfig. then the grass libs will be in the library
> > search path.
please try that.
as root:
echo /usr/lib/grass64/lib >> /etc/ld.so.conf
ldconfig
Hamish
More information about the grass-dev
mailing list