Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Srinjoys-iMac:build srinjoysinha$ make
- [ 5%] Building C object CMakeFiles/discord.dir/lib/libdiscord.c.o
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libdiscord.c:5:
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libdiscord.h:7:
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libwebsockets.h:42:
- /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/lws_config.h:103:9: error: 'HAVE_STDINT_H' macro redefined [-Werror,-Wmacro-redefined]
- #define HAVE_STDINT_H
- ^
- /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/jansson_config.h:29:9: note: previous definition is here
- #define HAVE_STDINT_H 1
- ^
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libdiscord.c:5:
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libdiscord.h:7:
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libwebsockets.h:42:
- /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/lws_config.h:127:9: error: 'HAVE_SYS_TYPES_H' macro redefined [-Werror,-Wmacro-redefined]
- #define HAVE_SYS_TYPES_H
- ^
- /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/jansson_config.h:31:9: note: previous definition is here
- #define HAVE_SYS_TYPES_H 1
- ^
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libdiscord.c:5:
- In file included from /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libdiscord.h:7:
- /Users/srinjoysinha/Downloads/libdiscord-master-2/lib/libwebsockets.h:345:10: fatal error: 'libwebsockets/lws-logs.h' file not found
- #include <libwebsockets/lws-logs.h>
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- 3 errors generated.
- make[2]: *** [CMakeFiles/discord.dir/lib/libdiscord.c.o] Error 1
- make[1]: *** [CMakeFiles/discord.dir/all] Error 2
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement