VOGONS


First post, by eraH_retired

User metadata
Rank Retired
Rank
Retired

I'm using the wiki instructions to compile DOSBox (SVN) on Windows.

I install libogg-1.3.2 with

./configure --disable-shared --prefix=/mingw
make && make install

Then libvorbis-1.3.4 with the same command

./configure --disable-shared --prefix=/mingw
make && make install

Finally, I installed SDL_sound-1.0.3 (patching using these instructions, http://bywaly.blogspot.co.nz/2013/05/mingwmsy … nt-face.html#18)

./configure --disable-shared --prefix=/mingw
make && make install

SDL_Sound configure picks up Ogg and Vorbis.

Running configure on DOSBox, it picks up SDL_Sound, so everything seems alright. But when I try and mount a CUE sheet with OGG files (in this case, Dungeon Keeper from GoG), it comes up with the following error.

Z:\>imgmount d ..\dk\game.cue -t iso
Could not load image file: ..\dk\game.cue
MSCDEX: Failure: Invalid file or unable to open

DOSBox 0.74 mounts the image without problems.

Any ideas what I'm doing wrong?

Last edited by eraH_retired on 2014-12-29, 19:19. Edited 3 times in total.

Reply 2 of 9, by eraH_retired

User metadata
Rank Retired
Rank
Retired

Thanks truth, I found your page earlier. I tried your SDL_Sound patch as well as using shared libraries instead of static, but I get the same end result.

Just saw that your versions are different, maybe thats what's tripping me up. I'll be back.............

Reply 6 of 9, by eraH_retired

User metadata
Rank Retired
Rank
Retired

Thanks bloodbat, had a look through the changelog for SVN and didn't find anything. Maybe qbix can chime in. I'm just trying to build DOSBox from SVN with all the features of the last official build.

Reply 7 of 9, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

I don't remember there being anything about disabling that in SVN...

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 9 of 9, by eraH_retired

User metadata
Rank Retired
Rank
Retired

Thanks for everyones help. I managed to get this working, I just needed to read truth's page a bit better.

First off, library versions don't matter.

Static libraries don't work, when building SDL_sound, everything seems alright except for two functions that are missing.

checking for vorbis_info_init in -lvorbis... no
checking for ov_open_callbacks in -lvorbisfile... no

Adding

LIBS="-lvorbisfile -lvorbis -logg"

to the SDL_sound configure causes it to pick up these two functions but then the compile fails.

Sticking with shared libogg and libvorbis works alright, but then DOSBox doesn't automatically pick up SDL_sound, adding

LIBS="-lvorbisfile -lvorbis -logg"

to the DOSBox configure, causes SDL_sound to be picked up.