mapnik/Ruby-Mapnik — Issue #5: geometry compile errors
Author: springmeyer
Created: 2011-10-09 00:52:35+00:00
State: open

```

g++ -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin10.0 -I../../../../ext/ruby_mapnik -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/include -fno-common -arch i386 -arch x86_64 -g -Os -pipe -fno-common -DENABLE_DTRACE -fno-common -pipe -fno-common -I/usr/local/include -I/opt/sqlite-3070701/include -I/opt/boost-47-static/include -I/Library/Frameworks/UnixImageIO.framework/Versions/D/Headers -I/Library/Frameworks/GDAL.framework/Versions/1.8/Headers -I/usr/local/pgsql-9.0/include -I/usr/local/Cellar/geos/3.3.0/include -I/usr/local/include -I/usr/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/include/libxml2 -isystem /opt/boost-47-static/include -g -DHAVE_JPEG -ansi -Wall -ftemplate-depth-300 -DDARWIN -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -DLIBTOOL_SUPPORTS_ADVISE -DHAVE_LIBXML2 -Wall -g -c ../../../../ext/ruby_mapnik/_mapnik_geometry.rb.cpp
/usr/local/include/mapnik/wkt/wkt_factory.hpp: In function ‘mapnik::geometry_type*::make_from_wkt(const std::string&)’:
/usr/local/include/mapnik/wkt/wkt_factory.hpp:32: error: too few arguments to function ‘bool mapnik::from_wkt(const std::string&, boost::ptr_vector, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator >&)’
../../../../ext/ruby_mapnik/_mapnik_geometry.rb.cpp:37: error: at this point in file
/usr/local/include/mapnik/wkt/wkt_factory.hpp: In function ‘mapnik::geometry_type*::make_from_wkt(const std::string&)’:
/usr/local/include/mapnik/wkt/wkt_factory.hpp:32: error: too few arguments to function ‘bool mapnik::from_wkt(const std::string&, boost::ptr_vector, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator >&)’
../../../../ext/ruby_mapnik/_mapnik_geometry.rb.cpp:37: error: at this point in file
lipo: can't open input file: /var/folders/Je/Je-B-XguGWyDz+BVgq4Swk+++TI/-Tmp-//cc8xjlfq.out (No such file or directory)
make: *** [_mapnik_geometry.rb.o] Error 1
rake aborted!
Command failed with status (2): [make...]
```