How to add a library to an Eclipse project

right click to project -> Properties -> C/C++ Build, go to Library and add it there.

if the library is libgdi32.a, you should add gdi32 in the library section.

Leave a Comment