r-rust / hellorust

Template R package with rust bindings
Other
259 stars 20 forks source link

Installation issure #8

Closed o1iv3r closed 4 years ago

o1iv3r commented 4 years ago

Hi, when trying to install with devtools::install_github() I receive the following error:

Compiling libc v0.2.73 error[E0463]: can't find crate for core | = note: the x86_64-pc-windows-gnu target may not be installed

Rust is installed and hello world runs.

Thank you, Oliver

jeroen commented 4 years ago

Did you install both the 32-bit and 64-bit rust targets?

o1iv3r commented 4 years ago

Thanks for the quick reply! I think so... this is the version I see on cmd: stable-x86_64-pc-windows-msvc unchanged - rustc 1.45.0 (5c1f21c3b 2020-07-13)

jeroen commented 4 years ago

You need to gnu targets, not msvc, see the readme.

o1iv3r commented 4 years ago

Sorry... new to Rust. Thank you!