+ 3
lib file
hello guys.. want to ask, can i use lib compiled in visual studio(msvc) and link it using g++ ? thanks in advance :)
4 Answers
+ 1
Lily Mea if only C static .lib it should link with mingw. for C dll you may need to produce a .a lib file from msvc dll. for C++ static lib/dll, not possible.
you can verify the above, by trying it yourself.
+ 2
yes, C++ static library of the same compiler of different versions won't work, however, the workaround is using dll. You can easily produce a .lib/.a from dll (old version) that you can link with your current compiler.
+ 1
ok..thank you