Skip to content
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

yaml.h: No such file or directory when building openocd #32

Open
MartinaBarreiroGuerra opened this issue Feb 14, 2023 · 3 comments
Open

Comments

@MartinaBarreiroGuerra
Copy link

Hi I'm trying building for windows using cross-compiler but I have a problem with the library yaml.h.
Have you are any idea for this problem?

Thank you

@MartinaBarreiroGuerra
Copy link
Author

/home/martina/riscv/openocd-mingw-w64-vexriscv/work/openocd-vexriscv/src/target/vexriscv.c:28:10: fatal error: yaml.h: No existe el archivo o el directorio
28 | #include <yaml.h>
| ^~~~~~~~
compilation terminated.
make[2]: *** [Makefile:4466: src/target/libtarget_la-vexriscv.lo] Error 1
make[2]: *** Se espera a que terminen otras tareas....
mv -f src/target/.deps/libtarget_la-hla_target.Tpo src/target/.deps/libtarget_la-hla_target.Plo
mv -f src/target/.deps/libtarget_la-dsp5680xx.Tpo src/target/.deps/libtarget_la-dsp5680xx.Plo
mv -f src/target/.deps/libtarget_la-armv8_dpm.Tpo src/target/.deps/libtarget_la-armv8_dpm.Plo
make[2]: se sale del directorio '/home/martina/riscv/openocd-mingw-w64-vexriscv/work/build/win32/openocd'
make[1]: *** [Makefile:4857: all-recursive] Error 1
make[1]: se sale del directorio '/home/martina/riscv/openocd-mingw-w64-vexriscv/work/build/win32/openocd'
make: *** [Makefile:2014: all] Error 2

@Dolu1990
Copy link
Member

On Debian based linux it come from the libyaml-dev package.
On mingw it maybe from :
https://packages.msys2.org/package/mingw-w64-x86_64-libyaml
?

@acillatems
Copy link

on Mingw libyaml-dev can be found from:
https://packages.msys2.org/package/libyaml-devel?repo=msys&variant=x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants