Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#44 closed defect (fixed)

Version 0.10: cannot build

Reported by: erdmann Owned by:
Priority: major Milestone: Future
Component: IFS Version:
Severity: medium Keywords:


I downloaded the sources, I followed the build instructions. But I cannot build. There is a problem with including file "fat32c.h" which includes some Windows header files. Even though it is bracketed by an #ifdef OS2, if "format.c" is compiled OS2 seems to be undefined and therefore the attempt to include the Windows header files which I don't have.

Change History (5)

comment:1 Changed 3 years ago by erdmann

Looks like I need to skip over building the Windows related stuff. How can I do that ?

comment:2 Changed 3 years ago by abwillis

I am building it just fine here... I just issue _wcc and to clean, _wcc clean... _wcc calls buildm.cmd so it can be run as buildw and buildw clean. I believe you have a newer version of OpenWatcom? than I do, I cannot build usbwav as it seems to require highmem components not in my 1.9 version.

comment:3 Changed 3 years ago by erdmann

Resolution: fixed
Status: newclosed

Was able to build the OS/2 version by commenting out all Windows related build products

comment:4 Changed 3 years ago by Valery V. Sedletski

2Lars: I use OW 1.9 too. Building win32 binaries should include <windows.h>, of course. You should have Win32 headers and libs in your OW installation, if you installed it fully. What is usbwav and what highmem components do you mean?

If you want to skip building win32 binaries, you just need to comment out "win32" in

DIRS=..\include win32

in \ufat32\makefile.wcc and "ufat32\win32" in DIRS= in \makefile.wcc. And also, you need to comment $(BINROOT)\zip-win32.flg dependency of "all" target in \

Last edited 3 years ago by Valery V. Sedletski (previous) (diff)

comment:5 Changed 3 years ago by erdmann

2Valerius: you can ignore Andys comments about "USBWAV". He accidentally confused my activities here in the FAT32 SVN repo with what I do for the USB stack in the USB WVN repo.

Thanks for the hint about the necessary makefile changes. I only installed the OS/2 related parts of OpenWatcom?, that's why I don't have all the Windows headers (etc.)

Note: See TracTickets for help on using tickets.