VOGONS


First post, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie

I have downloaded mingw, cygwin and gcc (not sure),
Which compiler is usually used for compiling dosbox?
Could you direct me to appropriate threads?
Thanks
Jack

Reply 3 of 9, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie
  • ranlib ../lib/libncurses_g.a
    make[1]: Leaving directory `/l/dosbox0.74/ncurses-5.7/ncurses'
    cd progs && make DESTDIR="" all
    make[1]: Entering directory `/l/dosbox0.74/ncurses-5.7/progs'
    gcc -I../progs -I. -DHAVE_CONFIG_H -I. -I../include -D_XOPEN_SOURCE=500 -D_POSI
    X_C_SOURCE=199506L -DNDEBUG -I/usr/local/include/ncurses -O2 -c ../progs/tic.c -
    o ../objects/tic.o
    gcc -I../progs -I. -DHAVE_CONFIG_H -I. -I../include -D_XOPEN_SOURCE=500 -D_POSI
    X_C_SOURCE=199506L -DNDEBUG -I/usr/local/include/ncurses -O2 -c ../progs/dump_en
    try.c -o ../objects/dump_entry.o
    gcc ../objects/tic.o ../objects/dump_entry.o -I../progs -I. -DHAVE_CONFIG_H -I.
    -I../include -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -DNDEBUG -I/usr/loc
    al/include/ncurses -O2 -static -L../lib -lncurses -L../lib -lncurses -dynamic
    -o tic.exe
    /bin/../lib/gcc-lib/i686-pc-msys/2.95.3-1/../../../../i686-pc-msys/bin/ld: canno
    t find -lmsys-1.0
    collect2: ld returned 1 exit status
    make[1]: *** [tic.exe] Error 1
    make[1]: Leaving directory `/l/dosbox0.74/ncurses-5.7/progs'
    make: *** [all] Error 2

I finally got to this step with ncurses and stuck. Any help would be greatly
appreciated!
I am using mingw, msys 1.0
configurate
Make

And also
When I ran ./configure --enable-debug at the dosbox0.74 dir, it says sh: No such file or directory. There is no configure files there in my setup not sure whats going on... tried to export ld=/l/mingw/bin/ld.exe to no avail

Thanks
Jack

Reply 4 of 9, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie
  • 1>------ Build started: Project: dosbox, Configuration: Debug Win32 ------
    1>Compiling...
    1>sdlmain.cpp
    1>debug.cpp
    1>l:\dosbox0.74\dosbox\dosbox\trunk\src\debug\debug.cpp(861) : error C3861: 'mvwchgat': identifier not found
    1>Generating Code...

I finally resort to using pdcurses, with one final error that I can't get thru.
What is the equivalent function for this one?

if (!debugging) {
mvwprintw(dbg.win_code,10,0,"%s","(Running)");
wclrtoeol(dbg.win_code);
} else {
//TODO long lines
char* dispPtr = codeViewData.inputStr;
char* curPtr = &codeViewData.inputStr[codeViewData.inputPos];
mvwprintw(dbg.win_code,10,0,"%c-> %s%c",
(codeViewData.ovrMode?'O':'I'),dispPtr,(*curPtr?' ':'_'));
wclrtoeol(dbg.win_code); // not correct in pdcurses if full line
if (*curPtr) {
mvwchgat(dbg.win_code,10,(curPtr-dispPtr+4),1,0,(PAIR_BLACK_GREY),NULL);
}
}

Any Hints
Thanks
Jack

Reply 6 of 9, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie
wd wrote:

What pdcurses version is that? Precompiled?

Finally,
I have to make use of the latest version of the library to make it work.
Wow.. cold sweat....
Thanks a lot [please close thread]
Jack

Reply 8 of 9, by lucky7456969

User metadata
Rank Oldbie
Rank
Oldbie
wd wrote:

I have to make use of the latest version of the library to make it work.

If you mean "instead of the 4 years old version I have to use the 2 years old one" then that may help 😀

http://sourceforge.net/projects/pdcurses/files/

This one really works like magic
=>pdc34dllw.zip
Thanks
Jack