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 137 forks source link

The auto tools build on OS X is broken after the latest changes related to the cmake build #36

Open DBankov opened 8 years ago

DBankov commented 8 years ago

The build is failing with the following error:

libtool: compile: gcc-6 -DHAVE_CONFIG_H -I. -I../include/IL -I ./../src-IL/include -I ./../include -std=gnu99 -fgnu89-inline -msse -msse2 -msse3 -g -O2 -c ./../src-IL/src/il_convert.c -fno-common -DPIC -o .libs/libIL_la-il_convert.o ./../src-IL/src/il_wdp.c:24:21: fatal error: WMPGlue.h: No such file or directory #include <WMPGlue.h>

The above seems to be caused by the removal of the following lines from DevIL/src-IL/include/il_internal.h

#ifndef _WIN32 // The Microsoft HD Photo Device Porting Kit has not been ported to anything other // than Windows yet, so we disable this if Windows is not the current platform. #define IL_NO_WDP #endif//_WIN32

bcampbell commented 8 years ago

Sorry, that was me. But should be fixed now, at least in my working branch: cmake_cleanup

(and when I say 'fixed' I mean that the cmake build just disables it completely for now. I think it's going to need someone more current in windows than I am to figure out how to detect and link in the Microsoft HD Photo Device Porting Kit)