WebAssembly / wabt

The WebAssembly Binary Toolkit
Apache License 2.0
6.9k stars 702 forks source link

“picosha2.h”: No such file or directory #2429

Closed dairuidark closed 5 months ago

dairuidark commented 5 months ago

I'm not sure if the usage of cmake is correct, this is the command I ran, and I got a file not found error, please help me, thank you.

cmake --build .. --config DEBUG --target install

cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=....\ -G "Visual Studio 2022"

“picosha2.h”: No such file or directory [D:\P rogram Files\wasm2c\wabt\build\wabt.vcxproj]

turuslan commented 5 months ago

Hello, @dairuidark.

Have you tried cloning submodules (git clone --recursive ... or git submodule init)?

I had same error because hunter package manager didn't clone submodules (third_party/picosha2).

keithw commented 5 months ago

Closing as answered.