paulrouget / mjs-sys

Rust mJS bindings
MIT License
2 stars 0 forks source link

Problems about how to complie this lib #1

Open youngzhaozju opened 2 years ago

youngzhaozju commented 2 years ago

Hi,

Thanks for this amazing lib. It's a pity that I cannot run it with the following errors:

error: failed to run custom build command for mjs-sys v0.1.2 (F:\2.Coding\Rust_STM32\MJS)

Caused by: process didn't exit successfully: F:\2.Coding\Rust_STM32\MJS\target\debug\build\mjs-sys-9acdbf5530e21b1d\build-script-build (exit code: 1) --- stderr

error occurred: Command "H:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX64\x64\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "mjs/" "-W4" "-DCS_PLATFORM" "-DCS_ENABLE_STDIO=0" "-FoF:\2.Coding\Rust_STM32\MJS\target\debug\build\mjs-sys-6d80d78a3b27d5b1\out\mjs/mjs.o" "-c" "mjs/mjs.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

Thank you! Regards, Yang

paulrouget commented 2 years ago

I'll need more info about how you're compiling this crate.