im in the process to recompile all the dependces the CEGUI is using to :Multi-threaded Debug DLL (/MDd)
already recompile all the free dependences and now the last SILLY lib . and here im have compilation error :
Code: Select all
1>SILLYPNGImageLoader.cpp
1>d:\cpp\libs\silly\silly-0.1.0\silly-0.1.0\src\loaders\sillypngimageloader.cpp(69) : error C2027: use of undefined type 'png_struct_def'
1> d:\cpp\libs\silly\silly-0.1.0\silly-0.1.0\extlib\libpng154\include\png.h(819) : see declaration of 'png_struct_def'
1>d:\cpp\libs\silly\silly-0.1.0\silly-0.1.0\src\loaders\sillypngimageloader.cpp(69) : error C2227: left of '->jmpbuf' must point to class/struct/union/generic type
in the function :
Code: Select all
void PNG_error_function(png_structp png_ptr,
png_const_charp error)
{
// printf("PNG Error: %s\n", error);
// copied from libpng's pngerror.cpp
jmp_buf buf;
memcpy(buf, png_ptr->jmpbuf, sizeof(jmp_buf));
longjmp(buf, 1);
}
when i remark the :
Code: Select all
memcpy(buf, png_ptr->jmpbuf, sizeof(jmp_buf));
longjmp(buf, 1);
every thing is working fine .
im using libpng154 .