[GRASS-dev] GRASS && OpenCV

Mohammed Rashad 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
> ldconfig
>
> Hi Hamish
I tried that but no luck :(

>
>
> Hamish
>



-- 
Regards,
    Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20111218/3e8bfd6d/attachment.html


More information about the grass-dev mailing list