Could not install on Arch. (see arch wiki). With solution. #13
Open
Description
Arch wiki hasciicam issue
ERROR
make[1]: Entering directory '/build/hasciicam/src/hasciicam_1.3/src'
CC hasciicam.o
hasciicam.c:183:3: error: initialization of ‘const char * const*’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types]
183 | html_escapes
| ^~~~~~~~~~~~
hasciicam.c:183:3: note: (near initialization for ‘hascii_format.conversions’)
I am not an coder, but with some help i used this code for hasciicam.c /scr
How to use file
remove .txt
to replace hasciicam.c
in /src
The changes in the hasciicam.c
Ensure html_escapes is defined correctly:
const char * const html_escapes[] = {
"string1",
"string2",
//... other strings
};
Include the necessary header for setgroups:
#include <unistd.h> // Add this line at the top
make && sudo make install
Use on your own risk.
Metadata
Assignees
Labels
No labels