79368561

Date: 2025-01-19 07:29:40
Score: 0.5
Natty:
Report link

When compiling the whisper.cpp project, it will generate the .so and .so.1 files in the whisper.cpp/build/src/ directory. So, there are two solutions:

This enables shared linking, look at the code inside the 'else'

if (MINGW)
    set(BUILD_SHARED_LIBS_DEFAULT OFF)
else()
    set(BUILD_SHARED_LIBS_DEFAULT ON) # change this
endif()

To disable it and use static linking, change it to:

set(BUILD_SHARED_LIBS_DEFAULT OFF)

This change will make CMake build the libraries statically, so you won't need the .so files anymore.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Votati