cfis / proj4rb

Proj4rb is a ruby binding for the Proj carthographic projections library.
MIT License
24 stars 11 forks source link

FFI gem ver >= 13 cannot load proj #19

Closed isaacrowntree closed 3 years ago

isaacrowntree commented 3 years ago

To reproduce try

require 'proj'

Run the file. FFI versions greater than 12 throw an error related to these changes in the FFI gem:

Changelog for version 1.13.0:

Reject callback with :string return type at definition, because it didn't work so far and is not save to use. #751, #782

Links to issues:

https://github.com/ffi/ffi/issues/751 https://github.com/ffi/ffi/pull/782

cfis commented 3 years ago

Hmm, ok. Do you know what callback is causing the error? Want to submit a patch?

cuirc commented 3 years ago

Looks like it's triggered by proj_file_finder