DentonW / DevIL

Developer's Image Library (DevIL) is a cross-platform image library utilizing a simple syntax to load, save, convert, manipulate, filter, and display a variety of images with ease. It is highly portable and has been ported to several platforms.
http://openil.sourceforge.net/
GNU Lesser General Public License v2.1
446 stars 138 forks source link

The brew-installed version of DevIL on OS X has problem relating pkg-config #39

Open hsiang-wu opened 7 years ago

hsiang-wu commented 7 years ago

pkg-config --libs ILUT returns -L/usr/local/Cellar/devil/1.7.8_3/lib -lILUT -ILU -lIL. But it should be -lILU instead of -ILU. The lib/pkgconfig/ILUT.pc seems not correct...

Other package manager(e.g. apt-get) seems work correctly.

bcampbell commented 7 years ago

I've been trying to tidy up the build, and I've tweaked the pkg-config files, so if you fancy trying a cmake build from source, I think the pkg-config files should be generated OK now... (that said, they're not 100% complete - I think there's a little work to be done getting them so they'll work with static linking...) Anyway, the latest version is in my cmake_cleanup branch.