Share

ruby-shapelib

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Ruby Shapelib on Windows

You are viewing a single message from this topic. View all messages.

  1. 2007-08-07 14:35:39 UTC
    I tried this (on a linux machine) and it gave me the following errors:

    $ ruby extconf.rb --with-shapelib-lib=../shapelib-1.2.10/ --with-shapelib-include=../shapelib-1.2.10/
    checking for shapefil.h... yes
    checking for main() in -lshp... yes
    creating Makefile
    $ make
    gcc -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_SHAPEFIL_H -I../shapelib-1.2.10/ -c main.c
    In file included from main.c:35:
    valconv.h:16: error: 'FTLogical' undeclared here (not in a function)
    valconv.h: In function 'FieldTypeNameTable':
    valconv.h:52: error: array subscript is not an integer
    valconv.h:52: warning: statement with no effect
    make: *** [main.o] Error 1

    -Thomas
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.