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 3 of 9, by eraH_retired

User metadata
Rank Retired
Rank
Retired

Version numbers didn't make a difference, and not compiling libogg, libvorbis, and sdl_sound statically causes DOSBox configure to not pick up SDL_Sound.

Reply 5 of 9, by bloodbat

User metadata
Rank Oldbie
Rank
Oldbie

I *think* compressed music for CD images was disabled in SVN.

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 8 of 9, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It isn't disabled, at least not intentionally 😀

Water flows down the stream
How to ask questions the smart way!

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.