You are not logged in.
I'm trying to figure out if the problem I'm having is a 32bit/64bit issue or if it's something else. I'm trying to get WinFF running, but with no luck so far. It bombs when I try to launch it from the menu, and I get the following errors when I try to run it from the console:
[foo@bar ~]$ winff
(winff:7515): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so: wrong ELF class: ELFCLASS64
(winff:7515): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: Failed to load Pango module '/usr/lib/pango/1.6.0/modules/pango-basic-fc.so' for id 'BasicScriptEngineFc'
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: /usr/lib/pango/1.6.0/modules/pango-basic-fc.so: wrong ELF class: ELFCLASS64
(winff:7515): Pango-WARNING **: pango_shape called with bad font, expect ugly output
(winff:7515): Pango-WARNING **: pango_font_get_glyph_extents called with null font argument, expect ugly output
Runtime error 231 at $081F5B24
$081F5B24
$080637F9
$08222902
$08081DE1
$08077C39
$08079616
$0807FDF2
$0805B698
$0823A5AD
Am I missing a 32-bit library, or is it something else?
Also, if the inclination and the time are present, could someone give a shot at recompiling WinFF for x86_64? It uses Free Pascal, but for some reason I can't get it to compile on my machine. Thanks!
Offline
Yes, you are missing 32 bit libraries. Check what packages contains the libraries appearing in the error message and install the appropriate lib32 packages from community repo.
As for compiling WinFF for x86_64, what error messages are you getting?
Offline
Yes, you are missing 32 bit libraries. Check what packages contains the libraries appearing in the error message and install the appropriate lib32 packages from community repo.
The libraries are there, they're just not where WinFF was looking. Arch stuck the 32-bit libs in /opt/lib32. WinFF couldn't handle that.
As for compiling WinFF for x86_64, what error messages are you getting?
Well, it was telling me that it couldn't find the unit Interfaces for the project. That error went away when I did a fresh install of fpc and lazarus and then selected the gtk default interface. In other words, I now have a 64-bit version of WinFF, albeit one that's about 12 megs in size (go figure). Problem solved, WinFF works again.
The only thing left is an issue with gtk - for some reason, apps that use plain old gtk seem to be stuck using the same lousy bitmap font, no matter what I've tried. WinFF and Cinelerra both do it, plus one or two others. I'm using the GTK Styles and Fonts utility, but it only seems to make a difference on gtk2 stuff. Any ideas as to what I've farked up to cause this to happen?
Offline
To use the 32 bits library , some extra steps needs to be done IIRC. There's some instructions in the wiki.
About the gtk styles/fonts, I don't know.
Offline
Sorry for the bump of the old thread!
I cannot find the wiki you are referring to. If it is a simple ln -s of something, where exactly would winff look for the 32 bit libs for by default? Or is it more complex than that?
"You can't just ask to borrow somebody else's lampshade. It's AWKWARD!"
Offline