VOGONS

Common searches


First post, by it9exm

User metadata
Rank Newbie
Rank
Newbie

Hello everyone
I'm trying to have this release of dosbox run under linux with glide support, but i've run
into many troubles. I would like to use openglide as glide wrapper, i did build it, but
dosbox can't see it:

Glide:Unable to load glide2x library, glide emulation disabled

I thought it was because i did build openglide for x86-64 architecture, while the version
of dosbox i'm using is i386. So i tried to build openglide for i386 architecture, using

./configure --build i386

but when i run make this comes out:

In file included from window.cpp:24:0:
../../GlOgl.h:38:22: fatal error: platform.h: No such file or directory
#include "platform.h"
^
compilation terminated.

Can anybody give me a hand?

Reply 2 of 4, by it9exm

User metadata
Rank Newbie
Rank
Newbie

Hi gulikoza, thank you for the help.
This is the config.log of the build attempt with '--build i386'.

Attachments

  • Filename
    config.log
    File size
    30.87 KiB
    Downloads
    61 downloads
    File comment
    ./configure --build i386
    File license
    Fair use/fair dealing exception

Reply 3 of 4, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Yes, I see, configure is setting host='i386-pc-none'. This variable is checked to set proper include dirs.
Maybe you can try ./configure --build i386-pc-linux ?

http://www.si-gamer.net/gulikoza

Reply 4 of 4, by it9exm

User metadata
Rank Newbie
Rank
Newbie

Thank you, this time the build worked, but dosbox still output that error message. (Unable to load...)

The library was installed in the default location, /usr/local/lib, using strace i found this:

write(2, "Glide:LFB access: read-write\n", 29Glide:LFB access: read-write
) = 29
open("/usr/local/lib/libglide2x.so", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \332\0\0\0\0\0\0"..., 512) = 512
close(9) = 0
open("/usr/local/lib/libglide2x.so", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \332\0\0\0\0\0\0"..., 512) = 512
close(9)

Is the library being loaded?