Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 25 22:08

    GuillaumeGomez on fixes

    (compare)

  • Mar 25 22:08

    GuillaumeGomez on master

    Fix invalid names for stats fun… Implement is_empty method on ve… Fix clippy lints and 5 more (compare)

  • Mar 25 22:08
    GuillaumeGomez closed #97
  • Mar 25 22:08
    GuillaumeGomez closed #95
  • Mar 25 21:25
    GuillaumeGomez synchronize #97
  • Mar 25 21:25

    GuillaumeGomez on fixes

    Silence clippy warnings Upgrade gsl-sys version to 2.0.2 (compare)

  • Mar 25 21:18
    GuillaumeGomez edited #97
  • Mar 25 21:18
    GuillaumeGomez synchronize #97
  • Mar 25 21:17

    GuillaumeGomez on fixes

    Silence clippy warnings Upgrade gsl-sys version to 2.0.2 (compare)

  • Mar 25 21:11
    GuillaumeGomez closed #96
  • Mar 25 21:11
    GuillaumeGomez commented #96
  • Mar 25 21:09
    GuillaumeGomez opened #97
  • Mar 25 21:08

    GuillaumeGomez on fixes

    Fix invalid names for stats fun… Implement is_empty method on ve… Fix clippy lints and 2 more (compare)

  • Mar 25 20:55
    GuillaumeGomez commented #95
  • Mar 25 15:15
    Pardoxa opened #96
  • Mar 25 14:58
    Pardoxa opened #95
  • Jan 15 00:54
    Genarito closed #94
  • Jan 15 00:54
    Genarito commented #94
  • Jan 14 23:10
    Genarito commented #94
  • Jan 14 15:04
    GuillaumeGomez commented #94
qinwf
@qinwf
Some problems is solved. I moved the folder to a dir without non-ASCII char, and cargo build run, and generated other messages.
I use cargo rustc -- -C link-args="-m64 -lgsl -lgslcblas"
Maybe I need gsl-1.16 ?
qinwf
@qinwf
Guillaume Gomez
@GuillaumeGomez
@qinwf You did hit an ICE
weird
I build GSL on mint, so the version isn't even the last one I guess
I never built on windows
I'll take a look at those undefined references
qinwf
@qinwf

[link(name ="gsl")]

[link(name ="gslcblas")]

Guillaume Gomez
@GuillaumeGomez
what about this ?
qinwf
@qinwf
add these to ffi.rs and we do not need to use cargo rustc

pub trait FFI<T> {
fn wrap(r: mut T) -> Self;
fn unwrap(&Self) ->
mut T;
}

[link(name ="gsl")]

[link(name ="gslcblas")]

extern "C" {
pub static gsl_rng_mt19937 : const gsl_rng_type;
pub static gsl_rng_ranlxs0 :
const gsl_rng_type;
pub static gsl_rng_ranlxs1 : const gsl_rng_type;
pub static gsl_rng_ranlxs2 :
const gsl_rng_type;
pub static gsl_rng_ranlxd1 : *const gsl_rng_type;

now I need to use cargo rustc on windows to make it link to -lgsl -lgslcblas
but for now travis ci seem to be fine to link on linux without these two attributtes
Guillaume Gomez
@GuillaumeGomez
open a PR for it then :)
you have to add windows for platforms
(instead of adding it like this)
Nacho Duart
@iduartgomez
@GuillaumeGomez, I may be able to contribute to the crate (or the bindings for the 2.0 I saw you mentioning you are writing them), are any things you are looking for fixing, improving or implementing?
So far I have seen the library is quite complete but willing to help if possible.
Guillaume Gomez
@GuillaumeGomez
@iduartgomez Well, like I said, I don't have much time lately. So even working on 2.0 binding is fine (for now I just read the diffs but didn't get far). But I think most people would prefer to have the genericity over the floating types. Adding real tests would be appreciated as well. As you can see, quite a lot of things to do!