[GRASS-dev] GRASS && OpenCV
mohammedrashadkm at gmail.com
Sun Dec 18 10:35:03 EST 2011
On Sat, Dec 17, 2011 at 9:31 AM, Hamish <hamish_b at yahoo.com> wrote:
> > 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
> Hi Hamish
I tried that but no luck :(
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev