Hi,
How do you uploaded an attachment, to a post? I have some screen prints, but can't figure out how to attach them.
I'm setting up the most recent Fivewin environment for the first time in years. Also, I switched from BC5.1 TO BC582, and therefore changed a few environment settings. Attached is the current relevant environment settings, and the result of running go.bat in the test sample.
The main problem is that some very basic INCLUDEs are not being found, even though they do exist in the C:\BCC582\INCLUDE folder, and the INCLUDE environment variable is set to there.
The first PATH entry, is set to c:\Harbour\bin.
/* Make Session */
[C:\fwh\makes\Borland]TYPE GO.BAT
if not exist obj md obj
c:\bcc582\bin\make -ftest.mak
[C:\fwh\makes\Borland]c:\bcc582\bin\make -ftest.mak
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
c:\harbour\bin\harbour .\alert.PRG /L /N /W /Oobj\ /Ic:\fwh\include;c:\harbour\include
Harbour 3.2.0dev (r2008190002)
Copyright (c) 1999-2020, https://harbour.github.io/
Compiling '.\alert.PRG'...
Lines 4966, Functions/Procedures 2
Generating C source output to 'obj\alert.c'... Done.
c:\bcc582\bin\bcc32 -c -tWM -Ic:\harbour\include -oobj\alert obj\alert.c
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
obj\alert.c:
Error E2209 c:\harbour\include\hbdefs.h 50: Unable to open include file 'stdarg.h'
Error E2209 c:\harbour\include\hbdefs.h 51: Unable to open include file 'stdio.h'
Error E2209 c:\harbour\include\hbdefs.h 52: Unable to open include file 'stdlib.h'
Error E2209 c:\harbour\include\hbdefs.h 53: Unable to open include file 'string.h'
Error E2209 c:\harbour\include\hbdefs.h 54: Unable to open include file 'limits.h'
Error E2209 c:\harbour\include\hbdefs.h 73: Unable to open include file 'stdint.h'
Error E2257 c:\harbour\include\hbdefs.h 469: , expected
Warning W8017 c:\harbour\include\hbdefs.h 541: Redefinition of 'HB_LONG_LENGTH' is not identical
Error E2257 c:\harbour\include\hbdefs.h 636: , expected
Error E2451 obj\alert.c 23: Undefined symbol 'NULL'
Error E2141 obj\alert.c 23: Declaration syntax error
Error E2190 obj\alert.c 23: Unexpected }
Error E2040 obj\alert.c 23: Declaration terminated incorrectly
Error E2190 obj\alert.c 32: Unexpected }
Error E2109 obj\alert.c 32: Not an allowed type in function hb_vm_SymbolInit_ALERT
*** 14 errors in Compile ***
** error 1 ** deleting .\obj\alert.OBJ
[C:\fwh\makes\Borland]@ECHO %INCLUDE%
c:\bcc582\include
[C:\fwh\makes\Borland]DIR %INCLUDE%\stdarg.h
Volume in drive C is unlabeled Serial number is c6ea:9093
Directory of C:\bcc582\include\stdarg.h
9/08/2006 11:50 1,373 stdarg.h
1,373 bytes in 1 file and 0 dirs 4,096 bytes allocated
120,397,197,312 bytes free
[C:\fwh\makes\Borland]dir c:\harbour\bin\harbour.exe
Volume in drive C is unlabeled Serial number is c6ea:9093
Directory of C:\harbour\bin\harbour.exe
10/19/2020 17:36 599,040 harbour.exe
599,040 bytes in 1 file and 0 dirs 602,112 bytes allocated
120,397,004,800 bytes free