[geos-devel] Help with Compiling
gisrookie at hotmail.com
Mon Dec 1 17:23:19 EST 2003
I am using the following command to compile:
It gives the errors that I had copied in my earlier mail. Do I need to link
the libraries when I am compiling the program. If I have to, then could you
please tell me the command line to link and compile.
>From: Steffen Macke <sdteffen at web.de>
>Reply-To: sdteffen at web.de,GEOS Development List
><geos-devel at geos.refractions.net>
>To: GEOS Development List <geos-devel at geos.refractions.net>
>Subject: Re: [geos-devel] Help with Compiling
>Date: Mon, 1 Dec 2003 21:58:18 -0100
> > In the examples given I added the path for the header files
> > /usr/local/include/geos and tried to compile using g++. I get the
> > following errors:
> > /tmp/ccbJT8p2.o: In function `main':
> > /tmp/ccbJT8p2.o(.text+0x51): undefined reference to
> > `geos::CoordinateListFactory::internalFactory'
>In my case, the examples were build directly by the main makefile.
>Are you trying to compile the examples with make or through a direct
>g++ commandline call? What is the g++ commandline call - either your
>direct one or the one from the makefile (This should be reported just
>before the error message).
>geos-devel mailing list
>geos-devel at geos.refractions.net
Has one of the new viruses infected your computer? Find out with a FREE
online computer virus scan from McAfee. Take the FreeScan now!
More information about the geos-devel