Compile .cpp and .lib into a shared .so library in WINDOWS

  .so, c++, compilation, lib

I’m kind of a noob in these things.

I have a .cpp file that uses functions from a .lib library (and its relative .h header file). In CLion I manage to run the program fine, but I need to compile it as a .so library because I want to use the functions defined in the .cpp in a python program.

Do you guys know how to do it?

Source: Windows Questions C++