How to link to VS2008 generated .libs from g++

后端 未结 5 507
悲&欢浪女
悲&欢浪女 2021-01-23 10:17

I am trying to build a dll using mingw g++ under cygwin.

I have .h files that refer to objects exported by a .dll that was build using MS Visual Studio 2008. I link to t

5条回答
  •  悲哀的现实
    2021-01-23 10:41

    Maybe this page helps:

    http://www.mingw.org/wiki/MSVC_and_MinGW_DLLs

    I did manage to do something once but it was just a prototype which I abandoned when I found a library doing what I wanted. I did follow their instructions though, but I was producing the dll myself.

提交回复
热议问题