From: "Michel Chassey" Newsgroups: comp.os.msdos.djgpp Subject: Rsxntdj problem Lines: 36 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Tue, 13 Jul 1999 22:39:59 -0300 NNTP-Posting-Host: 207.253.156.89 X-Complaints-To: abuse AT videotron DOT net X-Trace: weber.videotron.net 931920425 207.253.156.89 (Tue, 13 Jul 1999 22:47:05 EDT) NNTP-Posting-Date: Tue, 13 Jul 1999 22:47:05 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com It is probably an installation problem but somebody must point me in the right direction. RSX will build only one program which is what follows : #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox (NULL, "Hello World", "First App", MB_OK); return 0; } /*This is test.c */ With any other program I get this error : windows.h no such file (ENOENT). Enclosed below are the relevant lines from my autoexec.bat : **************************************************************************** *********************** PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\RSXNTDJ\BIN;C:\DJGPP\BIN; C:\DJGPP\LIB\GCC-LIB\DJGPP\2.81;C:\MC\BC4\BIN;C:\Mc\0chdir set DJGPP=C:\DJGPP\DJGPP.ENV SET RSXNTDJ=C:\RSXNTDJ SET LIBRARY_PATH=C:\RSXNTDJ\LIB SET INCLUDE_PATH=C:\RSXNTDJ\INCLUDE;C:\DJGPP\INCLUDE **************************************************************************** *********************** In the FAQ it is mentioned that the LIBRARY_PATH variable in DJGPP.ENV file must be modified : LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib I haven't figured out how to do it but my thinking is that the problem is in the include path. Any help will be appreciated. Best regards, Michel Chassey