How to install packages in a C Repl?


I need to use the ncurses library, after what I think is a correct installation, I run my program and the console return this:

make: command not installed. Multiple versions of this command were found in Nix. Select one to run (or press Ctrl-C to cancel): Adding gnumake to replit.nix error: Could not read file replit.nix /nix/store/pvkiiw0mp1yx0b21b7k105yywccychgh-gnumake-4.3 cc servidor_ncurses.c -o servidor_ncurses -lncursesw servidor_ncurses.c:6:10: fatal error: ncurses.h: No such file or directory 6 | #include <ncurses.h> | ^~~~~~~~~~~ compilation terminated. make: *** [makefile:4: servidor_ncurses] Error 1

I know the problem is not the Makefile, because I have already use it for other file.

Replit Profile:
Hope it works
Please mark it as Solution if it works

you can’t really install c repls since it has no built in way to do that. You can either use nix or just download and upload folders manually

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.