Levak/warfacebot

Compile Error - Valgrind API

Closed this issue · 2 comments

src/stream/tls.o src/stream/tls.c
src/stream/tls.c:39:12: fatal error: valgrind/memcheck.h: No such file or directory
39 | # include <valgrind/memcheck.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<built_in>: src/stream/tls.o] Error 1

How can I fix the error?

Levak commented

Weird, it shouldn't try to use valgrind API if it's not available on your machine.

https://github.com/Levak/warfacebot/blob/master/Makefile#L36

What is your Linux distribution?

If you just want to fix the error, remove the line I linked.

Thank you very much for the help!

i am using cygwin