Can GCC linker (ar.exe) recognize MS VS generated library? #108
Unanswered
bariserkus
asked this question in
Q&A
Replies: 1 comment
-
We don't really test and build the library with windows+mingw. You could try to build it from source, but there are still some problems.
if (MSVC)
# do this
else()
# do that
endif() and I'm not sure this differentiates properly between windows, windows + msvc, and windows + mingw.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was not able to link the matplot library in Windows using the mingw linker "ar.exe". I am using Codeblocks 20.03 and the mingw that comes with it, which I believe is quite new version. I believe it is Mingw, 64 bits, Build version 4.3.5 and gcc (or g++) version 8.1.0
I tried to run the example codes under Windows VS 2019 and was able to link the libraries and get the plots successfully.
I believe the binaries are generated with VS under Windows. If that is the case, is there a possibility that the matplot.lib files cannot be used with gcc? Anybody tried that?
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions