How to add a library to an Eclipse project

前端 未结 3 467
我在风中等你
我在风中等你 2020-11-27 07:45

I\'m trying to add a Library to Eclipse Galileo and it won\'t work out.

Library: gdi32.lib -> In MinGW: libgdi32.a

Whatever I try, it doesn\'t work. Can anyo

3条回答
  •  温柔的废话
    2020-11-27 08:13

    I have the similar problem. As Mark suggested, in project->properties->C++ Build->Settings, we have to add

    1) library name (for eg: libsnap7.so, only snap7 is the name) 2) library path (eg: /usr/lib)

    Problem remained unsolved till I do this.

提交回复
热议问题