You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem with linking the NMatrix headers in Ruby 2.3 (for both NMatrix 0.2.1 and 0.2.3)
gaurav@gaurav-VirtualBox:~/spice_rub$ bundle exec rake compile
mkdir -p tmp/x86_64-linux/spice_rub/2.3.0
cd tmp/x86_64-linux/spice_rub/2.3.0
/home/gaurav/.rvm/rubies/ruby-2.3.0/bin/ruby -I. ../../../../ext/spice_rub/extconf.rb
checking for nmatrix.h... yes
checking for SpiceUsr.h... yes
checking for furnsh_c() in -lcspice... yes
checking for spkez_c() in -lcspice... yes
creating Makefile
cd -
cd tmp/x86_64-linux/spice_rub/2.3.0
/usr/bin/make
compiling ../../../../ext/spice_rub/spice_ephemerides.c
In file included from ../../../../ext/spice_rub/spice_ephemerides.h:5:0,
from ../../../../ext/spice_rub/spice_ephemerides.c:1:
/home/gaurav/.rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0/nmatrix-0.2.1/nmatrix.h:72:1: error: redefinition of ‘rb_array_const_ptr’
rb_array_const_ptr(VALUE a)
^
In file included from /home/gaurav/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby.h:33:0,
from ../../../../ext/spice_rub/spice_ephemerides.h:1,
from ../../../../ext/spice_rub/spice_ephemerides.c:1:
/home/gaurav/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby/ruby.h:2018:1: note: previous definition of ‘rb_array_const_ptr’ was here
rb_array_const_ptr(VALUE a)
^
make: *** [spice_ephemerides.o] Error 1
rake aborted!
The text was updated successfully, but these errors were encountered:
Problem with linking the NMatrix headers in Ruby 2.3 (for both NMatrix 0.2.1 and 0.2.3)
The text was updated successfully, but these errors were encountered: