Open rpgoldman opened 1 year ago
I believe that a solution is in this patch, but have not tested it.
@rpgoldman Tanks! I don't have a Mac to replicate this. The patch that you provided looks good. The only issue for me was that a pair of braces was missing on the else. I have created another commit for this that fixes the problem and otherwise accepted your patch.
Can you test on your machine whether the code builds now?
This issue arose when I worked around #1 as described there. I get this error running
make
:I am not certain, but I believe that this is because the Makefile is trying to statically link
to_verifier
, which will not work on the Mac. I tried doing this:But got the same error.
I looked for the unused argument in the warning and found this:
Changing that to
seems to solve the problem. I don't really understand
cmake
so I can't fix this myself, but probably the file should be changed to check for MacOS (Darwin?) and choose thelinker_flags
appropriately.