fabianschuiki / moore

A hardware compiler based on LLHD and CIRCT
http://www.llhd.io
Apache License 2.0
246 stars 31 forks source link

Build fails due to missing `Standard.h` file in mlir-c/Dialect #250

Open vani2620 opened 1 year ago

vani2620 commented 1 year ago

Trying to build on Windows 10 version 21H2 build 19044.2604.

LLVM and CIRCT build and compile properly, but Moore HDL seems to not build properly. Here's the command line output.

Portion of interest appears to be --- stderr wrapper.h:20:10: fatal error: 'mlir-c/Dialect/Standard.h' file not found wrapper.h:20:10: fatal error: 'mlir-c/Dialect/Standard.h' file not found, err: true thread 'main' panicked at 'Unable to generate bindings: ()', C:\Users\vani2\.cargo\registry\src\github.com-1ecc6299db9ec823\moore-circt-sys-0.14.0\build.rs:113:10 note: run withRUST_BACKTRACE=1environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compilemoore v0.14.0, intermediate artifacts can be found atC:\Users\vani2\AppData\Local\Temp\cargo-installXkIIcC``

vani2620 commented 1 year ago

Any ideas as to what's causing this?

eymay commented 1 year ago

Try cargo install --path . as discussed in #248