VOGONS

Common searches


Reply 21 of 28, by Scharf

User metadata
Rank Newbie
Rank
Newbie
Dominus wrote:

Sdl_net perhaps or search google which library has that

Hi Dominus
I downloaded SDL_net-devel-1.2.7-VC8.zip
http://www.libsdl.org/projects/SDL_net/
Unzip it in two folders and 6 files.
I did not find the files I was looking for:
pcap.h
ft2build.h
I'll have to learn more about this ...
Anyway thanks for your willingness to help.
Scharf.

Reply 22 of 28, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

use google on these two files it will instantly tell you which lib it's from OR if you looked through h-a-l's site you'd have noticed that the NE200 network patch requires Pcap lib 😀

Seriously whenever you encounter a missing header file, it pays off to see what google (or whatever search engine you prefer) spits out for it. Saved me from asking around a couple of times...

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 23 of 28, by Scharf

User metadata
Rank Newbie
Rank
Newbie
h-a-l-9000 wrote:

Or disable these features in config.h.

Hi h-a-l-9000

I disable NE2000 in config.h, changing from 1 to 0.
# Define C_NE2000 0

I sent compile and had more errors, now 3, below.

In commentary is written:
/* Define to 1 to enable NE2000 ethernet passthrough, requires libpcap */

I think I need to find libpcap before continuing.

I'll have to learn more about this ...
Anyway thanks for your willingness to help.
Scharf.

1>------ Build started: Project: dosbox, Configuration: Debug Win32 ------
1> dosbox.cpp
1> callback.cpp
1> core_dyn_x86.cpp
1> core_dynrec.cpp
1> core_full.cpp
1> core_normal.cpp
1> core_prefetch.cpp
1> core_simple.cpp
1> cpu.cpp
1> flags.cpp
1> modrm.cpp
1> paging.cpp
1> debug.cpp
1> debug_disasm.cpp
1> debug_gui.cpp
1> cmos.cpp
1> dma.cpp
1> hardopl.cpp
1> hardware.cpp
1> iohandler.cpp
1> Generating Code...
1>d:\dosbox\dosbox-mb6\src\cpu\core_dyn_x86\risc_x86.h(111): warning C4731: 'gen_runcode' : frame pointer register 'ebp' modified by inline assembly code
1> Compiling...
1> ipx.cpp
1> ipxserver.cpp
1> joystick.cpp
1> keyboard.cpp
1> memory.cpp
1> mixer.cpp
1> ne2000.cpp
1>d:\dosbox\dosbox-mb6\src\hardware\ne2000.cpp(53): fatal error C1083: Cannot open include file: 'pcap.h': No such file or directory
1> pic.cpp
1> timer.cpp
1> vga.cpp
1> vga_attr.cpp
1> vga_crtc.cpp
1> vga_dac.cpp
1> vga_draw.cpp
1> vga_gfx.cpp
1> vga_memory.cpp
1> vga_misc.cpp
1> vga_other.cpp
1> vga_paradise.cpp
1> vga_s3.cpp
1> Generating Code...
1> Compiling...
1> vga_seq.cpp
1> vga_tseng.cpp
1> vga_xga.cpp
1> adlib.cpp
1> dbopl.cpp
1> disney.cpp
1> gameblaster.cpp
1> gus.cpp
1> mpu401.cpp
1> pcspeaker.cpp
1> sblaster.cpp
1> tandy_sound.cpp
1> directserial.cpp
1> libserial.cpp
1> misc_util.cpp
1> nullmodem.cpp
1> serialdummy.cpp
1> serialport.cpp
1> softmodem.cpp
1> directlpt_linux.cpp
1> Generating Code...
1> Compiling...
1> directlpt_win32.cpp
1> filelpt.cpp
1> parport.cpp
1> printer.cpp
1>d:\dosbox\dosbox-mb6\src\hardware\parport\printer.h(33): fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory
1> printer_charmaps.cpp
1> printer_redir.cpp
1> midi.cpp
1> render.cpp
1> render_scalers.cpp
1> sdl_mapper.cpp
1> sdlmain.cpp
1> bios.cpp
1> bios_disk.cpp
1> bios_keyboard.cpp
1> ems.cpp
1> mouse.cpp
1> xms.cpp
1> int10.cpp
1> int10_char.cpp
1> int10_memory.cpp
1> Generating Code...
1> Compiling...
1> int10_misc.cpp
1> int10_modes.cpp
1> int10_pal.cpp
1> int10_put_pixel.cpp
1> int10_vesa.cpp
1> int10_video_state.cpp
1> int10_vptable.cpp
1> shell.cpp
1> shell_batch.cpp
1> shell_cmds.cpp
1> shell_misc.cpp
1> cross.cpp
1> messages.cpp
1> programs.cpp
1> setup.cpp
1> support.cpp
1> fpu.cpp
1> porttalk.cpp
1> dos.cpp
1> dos_classes.cpp
1> Generating Code...
1> Compiling...
1> dos_devices.cpp
1> dos_execute.cpp
1> dos_files.cpp
1> dos_ioctl.cpp
1> dos_keyboard_layout.cpp
1> dos_memory.cpp
1> dos_misc.cpp
1> dos_mscdex.cpp
1> dos_programs.cpp
1> dos_tables.cpp
1> cdrom.cpp
1> cdrom_aspi_win32.cpp
1> cdrom_image.cpp
1> cdrom_ioctl_win32.cpp
1> drive_cache.cpp
1> drive_fat.cpp
1> drive_iso.cpp
1> drive_local.cpp
1> drive_virtual.cpp
1> drives.cpp
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Reply 25 of 28, by Scharf

User metadata
Rank Newbie
Rank
Newbie
Dominus wrote:

use google on these two files it will instantly tell you which lib it's from OR if you looked through h-a-l's site you'd have noticed that the NE200 network patch requires Pcap lib 😀

Seriously whenever you encounter a missing header file, it pays off to see what google (or whatever search engine you prefer) spits out for it. Saved me from asking around a couple of times...

Hi Dominus.
Thank you for your tip.
I downloaded WinPcap 4.1.2 Developer's Pack in http://www.winpcap.org.
But other errors began to emerge, and there is still much for me to start.
I'm discouraged with the results.
I was in a very distant past, an old programmer from the command line.
But now things are much more complex. Would have to invest much more time.
The only thing I wanted was to make this program in clipper print.
I believe there are errors in INT17_Handler (bios.cpp) that prevent the programs able to print.
Old programs, with dot matrix printers need to print directly on LPT1. These programs typically use INT17 (in binaries).
The strange thing is that the command (DIR> LPT1) prints correctly.
I could not find the code CPP, which corresponds to this impression of the Redirect output.
If the function INT17 worked the same way, this program will also print.
I'm about to give up the use of DOSBOX.
I believe that someday in a future version perhaps someone can print.
If only I had more knowledge of Visual C and the development environment DOSBOX, it might be easier.
I confess that it is difficult to continue ...
I appreciate any help.
Scharf.

Reply 26 of 28, by peterferrie

User metadata
Rank Oldbie
Rank
Oldbie

edit ne2000.cpp, find the "#ifdef C_NE2000", change to "#if C_NE2000", then pcap won't be needed anymore.
edit dosbox.cpp in the same way.
in config.h, set C_PRINTER to 0 so that t2 is not needed.

Reply 27 of 28, by Scharf

User metadata
Rank Newbie
Rank
Newbie

Finally, success.

Bingo.

"parallel1=file dev:LPT1"

This was a great and simple solution.

Now I feel idiot for not having thought of it before. I was fixed to "REALLPT" and see nothing beyond that.

Thank you so much for your help.

Clipper printing problem - Resolved.

Special thanks to peterferrie and ripsaw8080, and all others who have devoted time and patience in helping me. Without you I would not have succeeded.

Moderator, you can close this topic at any time. - Resolved.

Sincerely,
Antonio.