Hello Corey,
Thank you for these instructions. The only thing I did differently is
instead of the last step:
cd ~
rustpkg install 'github.com/cadencemarseille/rust-pcre'
Then I can import via extern mod pcre =
github.com/cadencemarseille/rust-pcre;
Cadence
On Thu, Oct 3, 2013 at 12:31 PM,
Thanks, Jesse. I will definitely check it out.
Cadence
On Thu, Oct 3, 2013 at 3:06 PM, Jesse Haber-Kucharsky
jhaberkuchar...@cmu.edu wrote:
Cadence,
If the library's main source file is in src/pcre/lib.rs and the the demo
application's main source file is in src/pcredemo/main.rs, then I
Hello,
I just switched over the
rust-pcrehttps://github.com/cadencemarseille/rust-pcreproject's
directory structure to a rustpkg workspace (as documented at
http://static.rust-lang.org/doc/master/rustpkg.html). Now I am trying to
run a simple Rust program using the pcre module, but I am
It looks like you setup your workspace wrong. A quick fix is:
cd ~/.rust; rustpkg init; cd src; mkdir -p
github.com/cadencemarseille; cd github.com/cadencemarseille; git clone
https://github.com/cadencemarseille/rust-pcre.git; rustpkg build
rust-pcre;
On Thu, Oct 3, 2013 at 8:32 AM,
Cadence,
If the library's main source file is in src/pcre/lib.rs and the the demo
application's main source file is in src/pcredemo/main.rs, then I believe
that executing rustpkg install pcre and then rustpkg install pcrememo
will build and install the library and executable into the lib and bin