[geos-devel] Help with Compiling

Rookie GIS gisrookie at hotmail.com
Mon Dec 1 17:23:19 EST 2003


Hello Steffen

I am using the following command to compile:

g++ CoordinateListsExample.cpp

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.

Thanks
Sunil

>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).
>
>Steffen
>
>_______________________________________________
>geos-devel mailing list
>geos-devel at geos.refractions.net
>http://geos.refractions.net/mailman/listinfo/geos-devel

_________________________________________________________________
Has one of the new viruses infected your computer?  Find out with a FREE 
online computer virus scan from McAfee. Take the FreeScan now!  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the geos-devel mailing list