I have a library foo.a compiled in MinGW. It should work in Windows, because it's cross-platform library (LibVNCServer). When configure, I used the flags -static and --disable-shared. But when I tried to include foo.a in Visual Studio, I got errors such as these:
unresolved external symbol ___chkstk_ms unresolved external symbol _snprintf unresolved external symbol _jpeg_CreateCompress How do I compile a source file in MinGW so that the resulting library file would work in Windows? I just need library with all dependencies included, so I could link it without errors in Visual Studio on Windows. Help, please.