[geos-devel] problem compiling GEOS [in StringTokenizer.cpp]

ameet chaudhari ameet2k99 at yahoo.com
Thu Oct 14 08:44:17 EDT 2010


I m trying to build GEOS 3.0.0 on Win 7. 
Configuration [./configure --prefix=/usr/local] works fine.
But while compiling [make], following error shows:

StringTokenizer.cpp: In member function 'int geos::io::StringTokenizer::nextToken()':
StringTokenizer.cpp:75:43: error: 'strtod' was not declared in this scope
StringTokenizer.cpp: In member function 'int geos::io::StringTokenizer::peekNextToken()':
StringTokenizer.cpp:123:43: error: 'strtod' was not declared in this scope
make[2]: *** [StringTokenizer.lo] Error 1
make[2]: Leaving directory '/usr/local/src/geos-3.0.0/source/io'
make[1]: *** [StringTokenizer.lo] Error 1
make[1]: Leaving directory '/usr/local/src/geos-3.0.0/source'
make: *** [all-recursive] Error 1

What is the problem? How can I get around it. Pls help.
Note: This prob shows for other ver of GEOS as well. 

Regards,
Ameet




More information about the geos-devel mailing list