Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Can't load driver dll: (3 Items)
   
Can't load driver dll  
Hello,

I'm trying to run graphics on my system (Freescale P4080 PowerPC). I'm using a self made driverl derived from devg-flat.


To run my driver, I do the folowing :

# io-display  -c /mnt/sdhc/gf/display.conf -d vid=0x10ee,did=0x6024
Could not initialize device "vid=0x10ee,did=0x6024": No such file or directory
Check 'sloginfo' output for more details
io-display failed to initialise
# sloginfo -c                                                               
Time             Sev Major Minor Args
Aug 02 01:41:36    2     8   200 devg-flat.so: gfpr_dlopen: Library cannot be found

Here is the display.conf file content :

device {
        drivername=flat
        vid=0x10ee
        did=0x6024
        deviceindex=0
        memopts=/mnt/sdhc/gf/flat.conf
        display {
                xres=1920
                yres=1080
                refresh=30
                pixel_format=argb8888
        }
}


The driver devg-flat.so is in /mnt/sdhc/lib which is added to LD_LIBRARY_PATH. It is also added to procnto 
LD_LIBRARY_PATH in build file.

I spent hours to find why the library is not found.

Can anybody help me ?

Regards,
Nicolas
RE: Can't load driver dll  
Hello,

Probably the problem was not with your library but with another one included with your library.
Try this:
# DL_DEBUG=1 io-display  -c /mnt/sdhc/gf/display.conf -d vid=0x10ee,did=0x6024
And check the missing library.

Christophe Hannoyer


-----Message d'origine-----
De : Nicolas Pinault [mailto:community-noreply@qnx.com] 
Envoyé : mardi 20 décembre 2011 17:11
À : advanced-graphics
Objet : Can't load driver dll

Hello,

I'm trying to run graphics on my system (Freescale P4080 PowerPC). I'm using a self made driverl derived from devg-flat.


To run my driver, I do the folowing :

# io-display  -c /mnt/sdhc/gf/display.conf -d vid=0x10ee,did=0x6024 Could not initialize device "vid=0x10ee,did=0x6024":
 No such file or directory Check 'sloginfo' output for more details io-display failed to initialise
# sloginfo -c                                                               
Time             Sev Major Minor Args
Aug 02 01:41:36    2     8   200 devg-flat.so: gfpr_dlopen: Library cannot be found

Here is the display.conf file content :

device {
        drivername=flat
        vid=0x10ee
        did=0x6024
        deviceindex=0
        memopts=/mnt/sdhc/gf/flat.conf
        display {
                xres=1920
                yres=1080
                refresh=30
                pixel_format=argb8888
        }
}


The driver devg-flat.so is in /mnt/sdhc/lib which is added to LD_LIBRARY_PATH. It is also added to procnto 
LD_LIBRARY_PATH in build file.

I spent hours to find why the library is not found.

Can anybody help me ?

Regards,
Nicolas




_______________________________________________

Advanced Graphics
http://community.qnx.com/sf/go/post90693
Re: RE: Can't load driver dll  
Christophe,

You were right, the problem was with another library included in devg-flat.so that was not present in the library path.

Thanks a lot for your valuable help.

Regards,
Nicolas