VOGONS


First post, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I typed in patch -u < openglhq-dosbox-for-sdl-202121117_msvc_gcc.patch
Then the program prompts me with "File to patch?"
I type in the same name as the original file, but it asks me to skip the file.
What is the appropriate name for this input?
Thanks
Jack

Reply 2 of 10, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

錯誤 1 error C2121: '#' : 無效的字元 : 可能是巨集展開的結果 e:\dosbox_ykhwong\src\dos\dos_network2.h 114 1 dosbox
錯誤 2 error C3861: 'L': 找不到識別項 e:\dosbox_ykhwong\src\dos\dos_network2.h 114 1 dosbox

As per discussion on PM messages, I finally end up with these
I am in doubt something has broken, but just unsure
don't get me wrong, I mean do you know how to resolve it?

1) Not effective pound sign
2) L not recognizable.

Reply 4 of 10, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

Still got problems

namespace Util {
std::string compress(const std::string& input) { //throw (SaveState::Error)
if (input.empty())
return input;

const uLong bufferSize = ::compressBound(input.size());

After Solving all link time errors, this message appears.
I had to add save_state.cpp to complete the compilation procedure.

錯誤 1 error C2039: 'compressBound' : 不是 '`global namespace'' 的成員 e:\dosbox_ykhwong\src\save_state.cpp 66 1 dosbox
錯誤 2 error C3861: 'compressBound': 找不到識別項 e:\dosbox_ykhwong\src\save_state.cpp 66 1 dosbox

1) compressBound is not a member of global namespace
2) can't find compressBound inside save_state.cpp

Reply 7 of 10, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Newer is better but you need the headers, too. Not just the dll

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

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

You give no information of what you did in regards to zlib so how should we tell?

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

User metadata
Rank Oldbie
Rank
Oldbie
Dominus wrote:

You give no information of what you did in regards to zlib so how should we tell?

I unpacked it and put it into the dosbox directory, then include the directory in the project path like ..\zlib then in the library path like ..\zlib\dll32
Am I on the right track?
Thanks
Jack