googleprojectzero/Jackalope

Build fails on macOS

r3ggi opened this issue · 3 comments

r3ggi commented

During build on macOS cmake raises the following error:

/path/Jackalope/fuzzer.cpp:30:10: fatal error: 'mersenne.h' file not found

I changed:

#include "mersenne.h"

to:

#include "third_party/Mersenne/mersenne.h" and now it works. :-)

Hmm, not sure why this would fail considering the following line: https://github.com/googleprojectzero/Jackalope/blob/main/CMakeLists.txt#L22

r3ggi commented

Hmm, maybe because the

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/mersenne)

includes mersenne directory, but the directory is Mersenne.

Ah, good point! Should be fixed now!