I am having problems compiling a program with gcc on windows, which was originally developed using Visual Studio. So far, I have managed to solve almost all problems, such as missing header files, etc., but now I'm stuck in one thing: gcc cannot link to one of the third-party libraries that my program uses (FlyCapture2.lib). This tells me that it does not find any of the functions / methods. I already checked if the library is really on the way to the library and something like this, but it still doesn't work.
I searched a bit and found out that this may have something to do with the .lib format created using the Microsoft compiler. Is there a way to convert such a lib for gcc compatibility? Anything else I could miss?
(I already found this similar question , but its solution will not work here)
source
share