You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
I'm trying to compile rnbyc on Mac, bu I get this error: 'gnutls/abstract.h' file not found. I installed gnutls and I tried to add the -I flag to compilation:
I was experiencing problems probabilly because I wasn't compiling the tool properly. I think that the correct process is:
$ cd<yder_source>
$ mkdir build
$ cd build
$ cmake ..
$ make && sudo make install
Is it true? Moreover, it would be useful to have a list of prerequisites for compilation.
Anyway, after installing Gmp, Jansson, Orcania and Yder, I still have this error:
In file included from [...]rhonabwy/src/jwe.c:47:
/opt/homebrew/Cellar/nettle/3.9.1/include/nettle/bignum.h:50:11: fatal error: 'gmp.h' file not found
# include <gmp.h>
^~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/rhonabwy.dir/src/jwe.c.o] Error 1
make[1]: *** [CMakeFiles/rhonabwy.dir/all] Error 2
make: *** [all] Error 2
I'm not sure what you mean by after installing GMP, but the error you have with gmp.h is probably because you didn't install nettle properly, or you must specify nettle location somewhere to build rhonabwy.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I'm trying to compile rnbyc on Mac, bu I get this error:
'gnutls/abstract.h' file not found
. I installed gnutls and I tried to add the -I flag to compilation:CFLAGS+=-Wall -Werror -Wextra -Wconversion -I$(RHONABWY_INCLUDE) -I/opt/homebrew/Cellar/gnutls/3.8.0/include $(ADDITIONALFLAGS) $(CPPFLAGS)
Could you help me in spotting what I am doing wrong?
Thanks in advance.
The text was updated successfully, but these errors were encountered: