delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/27/15:48:36

From: "Peter Davis" <pdavis AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: MSSDK header problem with RSXIDE
Date: Wed, 27 Jan 1999 21:38:39 +0100
Organization: World Access / Planet Internet
Lines: 25
Message-ID: <78ntho$bfv$1@reader1.wxs.nl>
NNTP-Posting-Host: ut0410-0.dial.wxs.nl
X-Trace: reader1.wxs.nl 917469560 11775 195.121.73.154 (27 Jan 1999 20:39:20 GMT)
X-Complaints-To: abuse AT wxs DOT nl
NNTP-Posting-Date: 27 Jan 1999 20:39:20 GMT
X-Newsreader: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Having successfully got DJGPP and RSXIDE 1.0 working under W95, it was time
to install the Microsoft headers from the Platform SDK (September 1998,
Windows NT 5.0 Beta 2 and Windows 98). After I copied these to my
D:/DJGPP/RSXNTDJ/include/mssdk folder, simple programmes, which had compiled
with the headers included with RSXNTDJ, now fail to do so:

gcc -Zwin32 -Wall -c -o dialog.o dialog.c
In file included from D:/DJGPP/RSXNTDJ/include/mssdk/windef.h:166,
                 from D:/DJGPP/RSXNTDJ/include/mssdk/windows.h:169,
                 from dialog.c:7:
D:/DJGPP/RSXNTDJ/include/mssdk/winnt.h:627: #error Must define a target

If I run the patch provided with RSXNTDJ, the patch process generates lots
of errors, and gcc also generates lots of warnings and errors.

Including the following in my autoexec.bat doesn't help:
set WINVER=0x0400

Any suggestions appreciated by:

Peter Davis
Zeist
The Netherlands


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019