Skip to content

Bug:STB symbol table is not updated #5071

Closed

Description

@tigert1998

This file is not updated:
https://github.com/assimp/assimp/blob/master/code/Common/StbCommon.h#L65

If assimp is linked to an executable (also has stb installed), then these two symbols will cause a conflict: "stbi_convert_iphone_png_to_rgb_thread", "stbi_set_unpremultiply_on_load_thread". Update the symbol table will fix it.

Activity

  1. added
    Bug
    on Apr 19, 2023
  2. tellypresence commented on Apr 24, 2023

    @tellypresence
    Collaborator

    What's the value of STB_USE_HUNTER in your configuration?

  3. tigert1998 commented on Apr 26, 2023

    @tigert1998
    ContributorAuthor

    I don't know the value of STB_USE_HUNTER, nor do I change it. I use the default configuration to build assimp with CMake.

  4. kimkulling commented on Apr 26, 2023

    @kimkulling
    Member

    Yes, this in an issue which we have intorduced by enabling implicitly linking std-lib in the assimp source. To get rid of this there are 2 ways:

    1. Assimp needs to define a CMake option to enable linkage of the std lib in assimp
    2. Your application is nut generaqting the linkage in your code.

    The prefix solution need an update indeed as well.

  5. kimkulling commented on Aug 2, 2024

    @kimkulling
    Member

    Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions