I added the full library graphic.h, winbgim.h, libbgi.a and its path in linker setting and other linker but it didn't work and it showed an error:
ld.exe cannot find -lbgi
I added the full library graphic.h, winbgim.h, libbgi.a and its path in linker setting and other linker but it didn't work and it showed an error:
ld.exe cannot find -lbgi
ldwill give you that error if it can't findlibbgi.afor static builds orlibbgi.dll.ashared builds.Make sure the path containing
libbgi.ais set it the linker paths as in this screenshot:Another thing you could try is to build a static version of your project in order to avoid using a missing shared library.