Hi.
I'm trying to compile the OS/2 Toolkit 4.5 WPS samples as a learning experience.
I had started with the "car" sample first.
I just did a quick "nmake car.mak >out.txt" and I got this errors:
{2}[D:\Projects\WPS_Sample_Kit\Cool\car] nmake car.mak >out.txt
warning EDC0000: Message system initialization, unable to open catalogs: cppcfe3
6.cat.
warning EDC0000: Error in message set 1, unable to retrieve message 1505.
warning EDC0000: Error in message set 1, unable to retrieve message 1506.
warning EDC0000: Error in message set 1, unable to retrieve message 1507.
warning EDC0000: Error in message set 1, unable to retrieve message 1508.
warning EDC0000: Error in message set 1, unable to retrieve message 1509.
warning EDC0000: Error in message set 1, unable to retrieve message 1509.
warning EDC0000: Error in message set 1, unable to retrieve message 1503.
warning EDC0000: Message system initialization, unable to open catalogs: cppcfe3
6.cat.
warning EDC0000: Error in message set 1, unable to retrieve message 224.
warning EDC0000: Error in message set 1, unable to retrieve message 236.
warning EDC0000: Error in message set 1, unable to retrieve message 224.
warning EDC0000: Error in message set 1, unable to retrieve message 224.
warning EDC0000: Error in message set 1, unable to retrieve message 224.
NMAKE : fatal error U1077: 'C:\SYS\APPS\4OS2\4OS2.EXE' : return code '1'
Stop.
out.txt
Operating System/2 Program Maintenance Utility
Version 4.00.001 Oct 4 2001
Copyright (C) IBM Corporation 1988-2001
Copyright (C) Microsoft Corp. 1988-1991
All rights reserved.
sc -p -mnotc -maddstar -mnoint -S128000 -C128000 -s"def" car.idl
sc -p -mnotc -maddstar -mnoint -S128000 -C128000 -s"ih" car.idl
sc -p -mnotc -maddstar -mnoint -S128000 -C128000 -s"h" car.idl
icc -c -Gd- -Se -Re -Ss -Ms -Gm+ -Ge- -I. -Fo".\car.obj" car.c
rc -r car.rc .\car.res
Compile ending.
IBM RC (Resource Compiler) Version 5.00.007 Jan 30 2003
Copyright (C) IBM Corp. 2003.
- Licensed Materials - Program Property of IBM - All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
RC :(C:\Ibmcxxo\INCLUDE\string.h:43:14):Warning 2179:#undef appeared with an unknown macro name. [__COMPATSTR__]
RC :(C:\OS2TK45\SOM\INCLUDE\somobj.h:14:17):Warning 2180:You specified an include filename recursively. [File:C:\OS2TK45\SOM\INCLUDE\som.h was included in file:.\car.h, at line:32]
RC :(C:\OS2TK45\SOM\INCLUDE\somcls.h:14:17):Warning 2180:You specified an include filename recursively. [File:C:\OS2TK45\SOM\INCLUDE\som.h was included in file:.\car.h, at line:32]
RC :(C:\OS2TK45\SOM\INCLUDE\somcm.h:19:17):Warning 2180:You specified an include filename recursively. [File:C:\OS2TK45\SOM\INCLUDE\som.h was included in file:.\car.h, at line:32]
RC :(C:\OS2TK45\H\wpobject.h:867:22):Warning 2180:You specified an include filename recursively. [File:C:\OS2TK45\H\wpobject.h was included in file:C:\OS2TK45\H\wpfsys.h, at line:41]
RC :(C:\OS2TK45\H\wpfsys.h:172:20):Warning 2180:You specified an include filename recursively. [File:C:\OS2TK45\H\wpfsys.h was included in file:C:\OS2TK45\H\wpdataf.h, at line:46]
RC :(C:\OS2TK45\H\wpdataf.h:104:21):Warning 2180:You specified an include filename recursively. [File:C:\OS2TK45\H\wpdataf.h was included in file:.\car.h, at line:47]
RC :(.\car.h:160:15):Error 2069:You redefined a macro name with different replacement text. [DebugBox]
RC :(car.rc:131:5):Error 1009:RC detected errors during compilation.
Just in case this is my environment versions in case there are something newer/better and the source code:
(Picture Attached)
Any ideas what I'm doing wrong with CAR ?
Regards