Code: Select all
Making all in DevILImageCodec
make[4]: Entering directory `/usr/local/ogre/CEGUI-0.7.1/cegui/src/ImageCodecModules/DevILImageCodec'
/bin/bash ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/ImageCodecModules/DevILImageCodec -DUSE_DEVIL_LIBRARY -g -O2 -MT libCEGUIDevILImageCodec_la-CEGUIDevILImageCodec.lo -MD -MP -MF .deps/libCEGUIDevILImageCodec_la-CEGUIDevILImageCodec.Tpo -c -o libCEGUIDevILImageCodec_la-CEGUIDevILImageCodec.lo `test -f 'CEGUIDevILImageCodec.cpp' || echo './'`CEGUIDevILImageCodec.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/ImageCodecModules/DevILImageCodec -DUSE_DEVIL_LIBRARY -g -O2 -MT libCEGUIDevILImageCodec_la-CEGUIDevILImageCodec.lo -MD -MP -MF .deps/libCEGUIDevILImageCodec_la-CEGUIDevILImageCodec.Tpo -c CEGUIDevILImageCodec.cpp -fPIC -DPIC -o .libs/libCEGUIDevILImageCodec_la-CEGUIDevILImageCodec.o
CEGUIDevILImageCodec.cpp: In member function ‘virtual CEGUI::Texture* CEGUI::DevILImageCodec::load(const CEGUI::RawDataContainer&, CEGUI::Texture*)’:
CEGUIDevILImageCodec.cpp:64: error: invalid conversion from ‘const void*’ to ‘ILvoid*’
CEGUIDevILImageCodec.cpp:64: error: initializing argument 2 of ‘ILboolean ilLoadL(ILenum, ILvoid*, ILuint)’
make[4]: *** [libCEGUIDevILImageCodec_la-CEGUIDevILImageCodec.lo] Error 1
make[4]: Leaving directory `/usr/local/ogre/CEGUI-0.7.1/cegui/src/ImageCodecModules/DevILImageCodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/ogre/CEGUI-0.7.1/cegui/src/ImageCodecModules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/ogre/CEGUI-0.7.1/cegui/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/ogre/CEGUI-0.7.1/cegui'
make: *** [all-recursive] Error 1
Would any additional information be helpful?
Please advise. Thanks.
Edit: added a few lines preceding the error to the above output to provide context. I am using gcc 4.2.4.
Also, I just tried CEGUI-0.6.2 and it compiled completely -- no problems noted.