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)

v217
@v217
Hi, any idea,- time-schedule when plot3D will be made available in rust-gsl?
For me that's certainly the most anticipated feature!
v217
@v217
Sorry, just read that's not part of the gsl library, but just a feature of the lua gsl-shell.
Anyway 3D plotting would be nice. Don't know if it's possible to call gsl-shell with the existing rust-lua bridges.
Guillaume Gomez
@GuillaumeGomez
Hi ! Sorry but I really don't know. Moreover, I didn't have much time to work rust-GSL recently. If you find a way, feel free to create a pull request
v217
@v217
Thanks
I just managed to plot with matplotlib using rustpy
v217
@v217
Great keep up the good work, now I can combine matplotlib with the rust gsl library! That's already very useful!
Guillaume Gomez
@GuillaumeGomez
Thanks a lot for your support ! Good continuation !
qinwf
@qinwf
Hi all, I tried to build rust-GSL on Windows x64 with Rust 1.1 x64 but failed. And here is some output? Any ideas how to solve this? Thanks!
I make some edit in rng.rs in the gist to make it pass type check for compiler on Win x64. They are mainly some stuffs like "as u64" or change u64 to u32.
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