Skip to content

make fail Aug 16 10:11 EST #65

Description

@osmanfb

At link time I get multiple definition errors

/usr/bin/ld: /usr/local/lib/libraylib.a(rtextures.c.o): in function stbi_failure_reason': rtextures.c:(.text+0x277): multiple definition of stbi_failure_reason'; src/imageio.o:/home/osman/MATH/mathilda/src/external/stb/stb_image.h:973: first defined here
/usr/bin/ld: /usr/local/lib/libraylib.a(rtextures.c.o): in function stbi_image_free': rtextures.c:(.text+0x63a): multiple definition of stbi_image_free'; src/imageio.o:/home/osman/MATH/mathilda/src/external/stb/stb_image.h:1102: first defined here
/usr/bin/ld: /usr/local/lib/libraylib.a(rtextures.c.o): in function stbi_set_flip_vertically_on_load': rtextures.c:(.text+0x659): multiple definition of stbi_set_flip_vertically_on_load'; src/imageio.o:/home/osman/MATH/mathilda/src/external/stb/stb_image.h:1117: first defined here
/usr/bin/ld: /usr/local/lib/libraylib.a(rtextures.c.o): in function `stbi_load':
..... a lot more ...

I added -zmuldefs to make it link, but don't know if this was a bad idea ?

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions