I am working on BGI library (graphics.h) c++ using code blocks. After setting up the library files in folders and linking in compiler settings (screenshot) I am getting the message ld.exe cannot find -lbgi
Asked
Active
Viewed 2,781 times
0
-
You need to tell it to link statically. -Bstatic -lbgi https://stackoverflow.com/questions/15852677/static-and-dynamic-shared-linking-with-mingw – Andrei M. Apr 13 '18 at 08:47
-
did not work. same thing. – Apr 13 '18 at 18:09
-
@user9640019 I also encountered this problem. Were you able to solve this? How did you solve the issue? Thanks! – Arman Ortega Mar 19 '22 at 17:03
1 Answers
0
Code:Blocks 20.03 IDE Settinngs>compiler..>Linker settings>Reset defaults>yes>yes>OK

biren
- 1
-
As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Shawn Aug 11 '23 at 12:32