Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 17 13:59

    GuillaumeGomez on upgrade

    (compare)

  • Sep 17 13:59

    GuillaumeGomez on master

    Upgrade gsl-sys version to 3.0.0 Merge pull request #125 from Gu… (compare)

  • Sep 17 13:59
    GuillaumeGomez closed #125
  • Sep 17 13:55
    GuillaumeGomez synchronize #125
  • Sep 17 13:55

    GuillaumeGomez on upgrade

    Upgrade gsl-sys version to 3.0.0 (compare)

  • Sep 17 13:50
    GuillaumeGomez edited #125
  • Sep 17 13:50
    GuillaumeGomez opened #125
  • Sep 17 13:48

    GuillaumeGomez on upgrade

    Upgrade gsl-sys version (compare)

  • Sep 17 13:47

    GuillaumeGomez on upgrade

    (compare)

  • Sep 17 13:47

    GuillaumeGomez on master

    Update gsl-sys version to 2.0.3 Upgrade crate version to 6.0.0 Merge pull request #119 from Gu… (compare)

  • Sep 17 13:47
    GuillaumeGomez closed #119
  • Sep 17 13:47

    GuillaumeGomez on more-checks

    (compare)

  • Sep 17 13:47

    GuillaumeGomez on master

    Add checks for trait implementa… Fix new errors Fix checker and 2 more (compare)

  • Sep 17 13:47
    GuillaumeGomez closed #124
  • Sep 17 13:40
    GuillaumeGomez synchronize #124
  • Sep 17 13:40

    GuillaumeGomez on more-checks

    Fix new errors Fix checker Fix more items (compare)

  • Sep 17 13:02
    GuillaumeGomez opened #124
  • Sep 17 13:02

    GuillaumeGomez on more-checks

    Add checks for trait implementa… Fix new errors (compare)

  • Sep 17 12:57

    GuillaumeGomez on more-checks

    (compare)

  • Sep 17 12:57

    GuillaumeGomez on master

    Add checks for ffi_wrap! Add missing doc aliases and fix… Add checks to ensure that items… and 1 more (compare)

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!