Im trying to install the graphics.h into codeblocks. However, when I run any code assosiated with graphics.h I get the message "ld.exe||cannot find -lbgi|". This previous Stackoverflow question appears to be by someone with the same issue, I have tried downloading the file linked in the answer to the lib folder but the same error still appears.
Screenshot of compiler linker options:
Asked
Active
Viewed 1,647 times
1
-
2ProTip: don't use `graphics.h`. If you need graphics in the console pick up a modern cross platform library like ncurses. – NathanOliver Feb 09 '17 at 19:10
-
1https://stackoverflow.com/questions/20313534/how-to-use-graphics-h-in-codeblocks/46300800 – Mukesh M Sep 20 '17 at 05:05