VOGONS


First post, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I downloaded the latest release of the build
I get errors in chinese, so I translate them
1) Sound_Seek and Sound_GetDuration undefined symbols
Note that I have downloaded revert.diff, haven't applied it, do I have to?
2) GFX_SetTitle doesn't receive 3 parameters [sdlmain.cpp]

BTW
Why does ykhwong's build have windows 3.1 splash screen sweeping bottom-up while megabuild6 has it top-down?

Reply 1 of 15, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie
lucky7456969 wrote:
Error 1 error C3861: 'Sound_Seek': can not find the identification e-: the \ yhkwong2 cdrom_image.cpp 93 \ src \ dos \ DOSBox E […]
Show full quote

Error 1 error C3861: 'Sound_Seek': can not find the identification e-: the \ yhkwong2 cdrom_image.cpp 93 \ src \ dos \ DOSBox Error cdrom_image.cpp
Error 2 error C3861: the 'Sound_GetDuration': can not find the identifier e: \ yhkwong2 \ src \dos \ DOSBox error cdrom_image.cpp
Error 3 error C2660: the 'GFX_SetTitle': function does not use three arguments e: \ yhkwong2 \ src \ gui \ sdlmain.cpp 770 1 DOSBox

if(sdl.surface) GFX_SetTitle(-1,-1,false); //refresh title.
Last edited by lucky7456969 on 2012-07-24, 00:25. Edited 2 times in total.

Reply 2 of 15, by ykhwong

User metadata
Rank Oldbie
Rank
Oldbie
lucky7456969 wrote:

1) Sound_Seek and Sound_GetDuration undefined symbols
Note that I have downloaded revert.diff, haven't applied it, do I have to?

Yes, you have to if you are not using SDL_sound library.

lucky7456969 wrote:

2) GFX_SetTitle doesn't receive 3 parameters [sdlmain.cpp]

Just add -1 to the following code in sdlmain.cpp.

if(sdl.surface) GFX_SetTitle(-1,-1,-1,false); //refresh title. 

Reply 3 of 15, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie
ykhwong wrote:
Yes, you have to if you are not using SDL_sound library. […]
Show full quote
lucky7456969 wrote:

1) Sound_Seek and Sound_GetDuration undefined symbols
Note that I have downloaded revert.diff, haven't applied it, do I have to?

Yes, you have to if you are not using SDL_sound library.

lucky7456969 wrote:

2) GFX_SetTitle doesn't receive 3 parameters [sdlmain.cpp]

Just add -1 to the following code in sdlmain.cpp.

if(sdl.surface) GFX_SetTitle(-1,-1,-1,false); //refresh title. 

I did
patch -p -up1 < revert.diff
but it opened up a command window and it took ages to a never end
Thanks
Jack

Reply 5 of 15, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Patch should have been a command line tool to begin with.

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 6 of 15, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie
ykhwong wrote:
Yes, you have to if you are not using SDL_sound library. […]
Show full quote
lucky7456969 wrote:

1) Sound_Seek and Sound_GetDuration undefined symbols
Note that I have downloaded revert.diff, haven't applied it, do I have to?

Yes, you have to if you are not using SDL_sound library.

lucky7456969 wrote:

2) GFX_SetTitle doesn't receive 3 parameters [sdlmain.cpp]

Just add -1 to the following code in sdlmain.cpp.

if(sdl.surface) GFX_SetTitle(-1,-1,-1,false); //refresh title. 

Hello there,
Do I loose some dosbox functionalities if I don't use it? And the problem is although I use SDL_sound library, i still get this message. What's wrong with this?

http://icculus.org/SDL_sound/downloads/

which one should I be using? I am with VC++ 2010

Thanks
Jack

Reply 7 of 15, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You only need SDL-sound for mp3 cue sheets.

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 15, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

It means that instead of a mixed mode CD image (bin image and cue sheet) you can have an iso image, the audio tracks as mp3 files an a cue sheet. Most people don't really need that.
And right now your goal is something else, so you better skip the SDL_sound part and concentrate on your goal.

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 13 of 15, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

Sorry, I don't want to turn around, I am using yhkwong build. Can't contact him at this time
I have link time errors this time
regarding
unresolved symbols
1) MENU_Block
2) Voodoo
3) Mouse
4) Printer
What should I do?
Thanks
Jack