[GRASSLIST:1944] Re: OpenDWG lib

Radim Blazek blazek at itc.it
Wed Dec 3 03:58:25 EST 2003


On Tuesday 02 December 2003 14:38, Maliheh wrote:
> > v.in.dwg reads both DWG and DXF, you have to compile
> > it using OpenDWG libraries,
> > configure options:
> >   --with-opendwg support openDWG functionality
> > (default: no)
> >   --with-opendwg-includes=DIRS
> >   --with-opendwg-libs=DIRS
> >
> > Radim
>
> Hi,
> I'v downloaded opendwg lib, but I don't know what
> should I do at first?
> if I should compile my grass from the first or just
> make in v.in.dwg module?
>
> When I follow the instruction of v.in.dwg readme, I
> get this error message:
>
> undefined reference to ...
>
> for many things in main.c and entity.c, and make
> couldn't be completed.
>
> Would you please help me?

You have to run configure script again with options above, for example
./configure --with-opendwg \
   --with-opendwg-includes=/opt/openDWG/toolkit27 \
   --with-opendwg-libs=/opt/openDWG/toolkit27
and then go to v.in.dwg and run make.

Radim




More information about the grass-user mailing list