Discussion:
[directfb-users] DirectFB 1.4 - No (suitable) implementation found! errors
Leny L
2012-12-29 00:43:25 UTC
Permalink
Hi,

Because of a binary gfx drivers I can not recompile I have to use DirectFB
1.4.
I compiled 1.4.17 and sadly I am not able to have it working -while 1.6.2
with software graphics works without issue-.

It seems that whatever resource it tries to open it returns an
implementation not found error :
df_dok.c <1502>:
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable) implementation found!

df_andi.c <497>:
(#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]: No
(suitable) implementation found!

I tried to compile directfb against linpng12 and libpng15, same result.
The 1.2.8 examples without any resource access (df_fire, etc.) work
perfectly though.

Anything obvious I must be missing there ?

Thanks,

Leny.
haithem rahmani
2012-12-30 20:06:25 UTC
Permalink
Post by Leny L
Hi,
Because of a binary gfx drivers I can not recompile I have to use DirectFB
1.4.
I compiled 1.4.17 and sadly I am not able to have it working -while 1.6.2
with software graphics works without issue-.
It seems that whatever resource it tries to open it returns an
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable) implementation found!
(#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]: No
(suitable) implementation found!
can you check that you have the "libidirectfbfont_ft2.so" under
<your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
Leny L
2012-12-30 23:21:14 UTC
Permalink
Hi,

Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.

Leny.

On Mon, Dec 31, 2012 at 5:06 AM, haithem rahmani
Post by haithem rahmani
Post by Leny L
Hi,
Because of a binary gfx drivers I can not recompile I have to use
DirectFB 1.4.
I compiled 1.4.17 and sadly I am not able to have it working -while 1.6.2
with software graphics works without issue-.
It seems that whatever resource it tries to open it returns an
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable) implementation found!
(#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]: No
(suitable) implementation found!
can you check that you have the "libidirectfbfont_ft2.so" under
<your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
haithem rahmani
2012-12-31 21:16:01 UTC
Permalink
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
then maybe you are pointing to a wrong 'DATADIR'
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
Leny.
On Mon, Dec 31, 2012 at 5:06 AM, haithem rahmani <
Post by haithem rahmani
Post by Leny L
Hi,
Because of a binary gfx drivers I can not recompile I have to use
DirectFB 1.4.
I compiled 1.4.17 and sadly I am not able to have it working -while
1.6.2 with software graphics works without issue-.
It seems that whatever resource it tries to open it returns an
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable) implementation found!
(#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]: No
(suitable) implementation found!
can you check that you have the "libidirectfbfont_ft2.so" under
<your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
--
*
Never say that's "impossible", the word itself says "I'm Possible"
*
Leny L
2013-01-01 12:46:43 UTC
Permalink
The datadir seems to be correct, if the datadir were wrong should not the
message be about the resource file instead of the implementation not found?

Leny.

On Tue, Jan 1, 2013 at 6:16 AM, haithem rahmani
Post by haithem rahmani
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
then maybe you are pointing to a wrong 'DATADIR'
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
Leny.
On Mon, Dec 31, 2012 at 5:06 AM, haithem rahmani <
Post by haithem rahmani
Post by Leny L
Hi,
Because of a binary gfx drivers I can not recompile I have to use
DirectFB 1.4.
I compiled 1.4.17 and sadly I am not able to have it working -while
1.6.2 with software graphics works without issue-.
It seems that whatever resource it tries to open it returns an
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable) implementation found!
(#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]: No
(suitable) implementation found!
can you check that you have the "libidirectfbfont_ft2.so" under
<your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
--
*
Never say that's "impossible", the word itself says "I'm Possible"
*
Marek Pikarski
2013-01-01 15:26:25 UTC
Permalink
Hi,
for what DFB version the binary gfx drivers were compiled?
Can't you use exactly the same version as this?
Regards, Marek
Post by Leny L
The datadir seems to be correct, if the datadir were wrong should not
the message be about the resource file instead of the implementation
not found?
Leny.
On Tue, Jan 1, 2013 at 6:16 AM, haithem rahmani
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
then maybe you are pointing to a wrong 'DATADIR'
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
Leny.
On Mon, Dec 31, 2012 at 5:06 AM, haithem rahmani
On Sat, Dec 29, 2012 at 1:43 AM, Leny L
Hi,
Because of a binary gfx drivers I can not recompile I
have to use DirectFB 1.4.
I compiled 1.4.17 and sadly I am not able to have it
working -while 1.6.2 with software graphics works
without issue-.
It seems that whatever resource it tries to open it
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable)
implementation found!
(#) DirectFBError [dfb->CreateFont( dfb, FONT,
&desc, &font )]: No (suitable) implementation found!
can you check that you have the "libidirectfbfont_ft2.so"
under <your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
--
*
/Never say that's "impossible", the word itself says "I'm Possible"/
*
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Leny L
2013-01-01 15:31:33 UTC
Permalink
They were compiled against the 1.4.6 binaries, I tried to load them into
the 1.6.2 but I am getting a version (35) error.
Post by Marek Pikarski
Hi,
for what DFB version the binary gfx drivers were compiled?
Can't you use exactly the same version as this?
Regards, Marek
The datadir seems to be correct, if the datadir were wrong should not the
message be about the resource file instead of the implementation not found?
Leny.
Post by haithem rahmani
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
then maybe you are pointing to a wrong 'DATADIR'
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
Leny.
On Mon, Dec 31, 2012 at 5:06 AM, haithem rahmani <
Post by haithem rahmani
Post by Leny L
Hi,
Because of a binary gfx drivers I can not recompile I have to use
DirectFB 1.4.
I compiled 1.4.17 and sadly I am not able to have it working -while
1.6.2 with software graphics works without issue-.
It seems that whatever resource it tries to open it returns an
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable) implementation found!
(#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]: No
(suitable) implementation found!
can you check that you have the "libidirectfbfont_ft2.so" under
<your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
--
*
Never say that's "impossible", the word itself says "I'm Possible"
*
_______________________________________________
Marek Pikarski
2013-01-01 16:42:08 UTC
Permalink
Hi,
ok then there seems to be a module interface header incompatibility and
you can't do much about it.
Probably you could compare the 1.4.x interface headers against 1.6.2 and
add/remove some bits/bytes at the end of interface struct to ensure
binary compat.
Cheers, Marek
Post by Leny L
They were compiled against the 1.4.6 binaries, I tried to load them
into the 1.6.2 but I am getting a version (35) error.
Hi,
for what DFB version the binary gfx drivers were compiled?
Can't you use exactly the same version as this?
Regards, Marek
Post by Leny L
The datadir seems to be correct, if the datadir were wrong should
not the message be about the resource file instead of the
implementation not found?
Leny.
On Tue, Jan 1, 2013 at 6:16 AM, haithem rahmani
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont
and /interfaces/IDirectFBImageProvider.
then maybe you are pointing to a wrong 'DATADIR'
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont
and /interfaces/IDirectFBImageProvider.
Leny.
On Mon, Dec 31, 2012 at 5:06 AM, haithem rahmani
On Sat, Dec 29, 2012 at 1:43 AM, Leny L
Hi,
Because of a binary gfx drivers I can not
recompile I have to use DirectFB 1.4.
I compiled 1.4.17 and sadly I am not able to have
it working -while 1.6.2 with software graphics
works without issue-.
It seems that whatever resource it tries to open
(#) DirectFBError [dfb->CreateImageProvider(
dfb, DATADIR"/biglogo.png", &provider )]: No
(suitable) implementation found!
(#) DirectFBError [dfb->CreateFont( dfb,
FONT, &desc, &font )]: No (suitable)
implementation found!
can you check that you have the
"libidirectfbfont_ft2.so" under
<your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
--
*
/Never say that's "impossible", the word itself says "I'm Possible"/
*
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Leny L
2013-01-02 00:56:02 UTC
Permalink
I finally found some time to debug the lib, and everything worked
perfectly...
So I tried to reduce the compilation optimization level from -O3 and found
that only -O0 works for me ...
I am using gcc 4.6.3.
Post by Marek Pikarski
Hi,
ok then there seems to be a module interface header incompatibility and
you can't do much about it.
Probably you could compare the 1.4.x interface headers against 1.6.2 and
add/remove some bits/bytes at the end of interface struct to ensure binary
compat.
Cheers, Marek
They were compiled against the 1.4.6 binaries, I tried to load them into
the 1.6.2 but I am getting a version (35) error.
Post by Marek Pikarski
Hi,
for what DFB version the binary gfx drivers were compiled?
Can't you use exactly the same version as this?
Regards, Marek
The datadir seems to be correct, if the datadir were wrong should not the
message be about the resource file instead of the implementation not found?
Leny.
On Tue, Jan 1, 2013 at 6:16 AM, haithem rahmani <
Post by haithem rahmani
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
then maybe you are pointing to a wrong 'DATADIR'
Post by Leny L
Hi,
Checked, yes the libs are in /interfaces/IDirectFBFont and
/interfaces/IDirectFBImageProvider.
Leny.
On Mon, Dec 31, 2012 at 5:06 AM, haithem rahmani <
Post by haithem rahmani
Post by Leny L
Hi,
Because of a binary gfx drivers I can not recompile I have to use
DirectFB 1.4.
I compiled 1.4.17 and sadly I am not able to have it working -while
1.6.2 with software graphics works without issue-.
It seems that whatever resource it tries to open it returns an
(#) DirectFBError [dfb->CreateImageProvider( dfb,
DATADIR"/biglogo.png", &provider )]: No (suitable) implementation found!
No (suitable) implementation found!
can you check that you have the "libidirectfbfont_ft2.so" under
<your-module-dir>/interfaces/IDirectFBFont
and "libidirectfbimageprovider_png.so" under
"/interfaces/IDirectFBImageProvider"
--
*
Never say that's "impossible", the word itself says "I'm Possible"
*
_______________________________________________
Loading...