-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation on Windows with msvc #20
Comments
That's interesting, thanks for the report! Unfortunately, I don't have a windows machine and don't have an ability to debug the issue. Could you post the build log ( |
Here's the output: error: aborting due to previous error The following warnings were emitted during compilation: warning: cl : Befehlszeile warning D9002 : Unbekannte Option "-std=c++11" wird ignoriert. error: Could not compile Caused by: The file wabt is located under X:\test\target\debug\build\wabt-sys-8e3823d7b8812fb5\out\build\Debug, so it cannot find it unless moved manually |
The default output location on Windows with MSVC for I think part of the inconsistency comes from the fact that, in the Wabt project, The |
Now that there is windows support and appveyor CI, the readme should have an appveyor badge 💯! The appveyor build history: |
Maybe a few things missing:
|
Hi. I noticed a problem when compiling on windows (10) with stable-x86_64-pc-windows-msvc. Cmake works on wabt, but rustc fails during rustc --crate-name wabt_sys ..... It cannot link to wabt.lib since the file is not in the corresponding folder target\debug\build\wabt-sys-....\out where there is wabtshim.lib. After copying it manually there from target\debug\build\wabt-sys...\out\build\Debug, the compilation works. Looks like a -L is missing or the path is somehow incorrect.
The text was updated successfully, but these errors were encountered: