radkum / hello_audience

A minimal rust driver created as an example for the SFI conference
3 stars 1 forks source link

Trouble building program. #1

Closed Bartosz-Slowik closed 1 year ago

Bartosz-Slowik commented 1 year ago

I attended the SFI lecture and got interested.

When i try to build i encounter this problem: image Any suggestion how would i resolve this?

radkum commented 1 year ago

Hi Bartosz, Yes, I saw this problem. Ntapi crate has problem with latest toolchain. I'm going push a rust-toolchain.toml to set up fixed toolchain. It should solve the problem. Let me know if problem still occurs

Bartosz-Slowik commented 1 year ago

For some reason i still had to manually change the toolchain. rustup override set nightly-2022-09-23-x86_64-pc-windows-msvc I figured out that some tasks only work when opened via Developer command prompt VS I also had to add registry key Debug Print filter to view messeges

Anyway it finnaly worked. Thanks a lot for this example! image