diff options
| author | pravic <[email protected]> | 2016-04-13 12:19:03 +0300 |
|---|---|---|
| committer | pravic <[email protected]> | 2016-04-13 12:19:03 +0300 |
| commit | 0717e1ebb5c5a551b633718e7efb83f6430e5f8e (patch) | |
| tree | e8128459ca6933b42fc9443fcb497a330401bd1a | |
| parent | set relative path to native libs (diff) | |
| download | winapi-kmd-rs-0717e1ebb5c5a551b633718e7efb83f6430e5f8e.tar.xz winapi-kmd-rs-0717e1ebb5c5a551b633718e7efb83f6430e5f8e.zip | |
note about staticlib compilation
| -rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -14,6 +14,9 @@ To compile you need the following: * MSVC itself, either VS 2015 or just MSVC Build Tools. * Rust environment for the Windows drivers: [kmd-env-rs](https://github.com/pravic/kmd-env-rs). +As workaround you can compile drivers as `#[crate_type="staticlib"]` and link them manually (see *examples/03.urandom/build.cmd*). + + Setting up: ``` @@ -33,8 +36,8 @@ cd km\examples\01.minimal\ cargo build --release ``` -If linker fails with error *cannot open input file 'ntoskrnl.lib'*, -open `kmd-env-rs/.cargo/config` file and replace `../../../` with the full path to the *kmd-env-rs* directory. +If linker fails with error "*cannot open input file 'ntoskrnl.lib'*", +open `kmd-env-rs/.cargo/config` file and replace `../../../` with the full path to the "*kmd-env-rs*" directory. ### Examples |