Skip to content

Library Loading Issues #265

Open
Open
@Haltroy

Description

@Haltroy

Hi, I just started using this library and I already loved it but it has some issues on my end:

  • System.DLLNotFoundException on native libraries because the NuGet package's native libraries start with "lib" and it is trying to load those libraries without the "lib" part (trying to load 'csfml-audio' instead of 'libcsfml-audio'). I worked around it by renaming each library.
  • It is not detecting the system's libFLAC installation (libFLAC.so.12.1.0 in my case) and asks for libFLAC.so.8: instead. Resulting another DLLNotFoundException. I worked around this one as well by just copying my libFLAC to the runtimes/linux-x64/native folder and naming it accordingly. The NuGet package is missing the libFLAC.so.8 file (also on every system). I don't use FLAC audio but it is required by SFML so it creates problems.

NOTE: Installing the SFML and CSFML packages from distribution packages does fix both issues.

More Information:

  • System: Arch Linux
  • FLAC version 1.4.3
  • .NET 8.0 project
  • Using NuGet Package SFML.Audio (I only need audio for now) version 2.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions