Linking *.lib files with MinGW

前端 未结 3 1456
悲哀的现实
悲哀的现实 2020-12-15 18:24

Is it possible to Link *.lib files with MinGW(I use it with Eclipse) unambiguous information about that. I\'m fighting with libcurl+OpenSSL so now I don\'t understand if my

3条回答
  •  清酒与你
    2020-12-15 18:40

    mingw also accepts libraries with a .lib extension.

    For instance, a library named libsample.lib must be linked as

    -L -llibsample

    Reference: http://www.mingw.org/wiki/Specify_the_libraries_for_the_linker_to_use

提交回复
热议问题