Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install failed on Windows 10 #54

Open
tddaniel opened this issue Jan 2, 2018 · 0 comments
Open

Install failed on Windows 10 #54

tddaniel opened this issue Jan 2, 2018 · 0 comments

Comments

@tddaniel
Copy link

tddaniel commented Jan 2, 2018

so I get on error when trying to install
I have the latest gsl libraries installed and on the path
ruby installed using ruby windows installer, version 2.4.3 64 bit.
i run gem install gsl
and get

        ERROR: Failed to build gem native extension.
    current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/gsl-2.1.0.3/ext/gsl_native
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20180102-5768-1uj9tbr.rb extconf.rb

...

compiling fit.c
compiling fresnel.c
fresnel.c:17:21: warning: 'sqrt_pi_2' defined but not used [-Wunused-const-variable=]
 static const double sqrt_pi_2   = 1.2533141373155002512078826424; /* sqrt(pi/2) */
                     ^~~~~~~~~
compiling function.c
compiling geometry.c
compiling graph.c
compiling gsl.c
compiling gsl_narray.c
compiling gsl_nmatrix.c
compiling histogram.c
compiling histogram2d.c
compiling histogram3d.c
compiling histogram3d_source.c
compiling histogram_find.c
compiling histogram_oper.c
compiling ieee.c
compiling integration.c
compiling interp.c
compiling interp2d.c
interp2d.c: In function 'rb_gsl_interp_evaluate':
interp2d.c:104:55: warning: format '%d' expects argument of type 'int',
 but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
     rb_raise(rb_eTypeError, "size mismatch (za:%d != %d)", (int) zsize,
                                                      ~^
                                                      %I64d
       (int) xsize*ysize);
...

followed by similar issues compiling some other files.
am I missing some dependency or something simple I haven't thought of?
I can post the whole out file if needed or is there a way to link it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant