Bug#551465: Unable to load IMG_Load_RW function
Ilia Lilov
lilovil at gmail.com
Sun Oct 18 12:26:44 UTC 2009
Subject: libparagui1.1: Unable to load IMG_Load_RW function
Package: libparagui1.1
Version: 1.1.8-3
Severity: important
Any paragui example programs compile successfully, but running any
program prints this message:
ERROR [10/18/2009 15:56:57] > Unable to load IMG_Load_RW function.
SDL_image disabled!
after PG_Application constructor call. Program works properly except
no images load except BMP format.
I found this place at pgfilearchive.cpp:
// try different names to find SDL_image
SDL_image_obj = SDL_LoadObject(SDLIMAGE_LIB);
if(SDL_image_obj == NULL) {
PG_LogMSG("SDL_image not found! Only bmp images can be loaded!");
}
else {
IMG_Load_RW_FUNC = (IMG_Load_RW_FT)SDL_LoadFunction(SDL_image_obj,
"IMG_Load_RW");
if(IMG_Load_RW_FUNC == NULL) {
PG_LogERR("Unable to load IMG_Load_RW function. SDL_image disabled!");
SDL_UnloadObject(SDL_image_obj);
SDL_image_obj = NULL;
}
}
So, SDL_Image found, but IMG_Load_RW function not found.
I have libsdl-image1.2 version 1.2.7-2.
-- System Information:
Debian Release: squeeze/sid
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libparagui1.1 depends on:
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libexpat1 2.0.1-4 XML parsing C library - runtime li
ii libfreetype6 2.3.9-4.1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.1-1 GCC support library
ii libphysfs-1.0-0 1.0.0-5 filesystem abstraction library for
ii libsdl1.2debian 1.2.13-4+b1 Simple DirectMedia Layer
ii libsigc++-1.2-5c2 1.2.7-2 type-safe Signal Framework for C++
ii libstdc++6 4.4.1-1 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime
libparagui1.1 recommends no packages.
libparagui1.1 suggests no packages.
-- no debconf information
More information about the Pkg-sdl-maintainers
mailing list