Because *nix is case sensitive.
Yes of course.
But then why sdl2 and SDL2_image and not SDL2 ant SDL2_image.
Why one is in lowercase and the second is mixed ?
pkg-config names are case sensitive, and sdl2 uses both sdl2 and SDL2 for different packages...
pkg-config --libs sdl2 SDL2_image
Oh, that's why it's not found.
You can list the installed libraries like this:
pkg-config --list-all | sort | less
I was searching for sdl, and not SDL
SDL2_gfx SDL2_gfx - drawing and graphical effects extension for SDL
SDL2_image SDL2_image - image loading library for Simple DirectMedia Layer
SDL2_mixer SDL2_mixer - mixer library for Simple DirectMedia Layer
Thanks, it's working now.
But why is SDL2_image not equal to sdl2_image ?
]]>pkg-config --libs sdl2 SDL2_image
You can list the installed libraries like this:
pkg-config --list-all | sort | less
Not a pacman issue, moving to programming and scripting
]]>I've installed sdl2_image from the extra repo, but it doesn't provide the pkgconf necessary files to found the «package»
And because of that I get an error when I'm building my project, I've fixed the problem by using the subproject functionality of meson.
But it's weird that I've the files on my system but I need to re-download them in my project.
Sorry if this is not in the right place.
]]>